index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ListRangeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface ListRangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.ListRange)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code>
* @return Whether the start field is set.
*/
boolean hasStart();
/**
* <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code>
* @return The start.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getStart();
/**
* <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getStartOrBuilder();
/**
* <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code>
* @return Whether the stop field is set.
*/
boolean hasStop();
/**
* <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code>
* @return The stop.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getStop();
/**
* <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getStopOrBuilder();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/LogicalExprList.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.LogicalExprList}
*/
public final class LogicalExprList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.LogicalExprList)
LogicalExprListOrBuilder {
private static final long serialVersionUID = 0L;
// Use LogicalExprList.newBuilder() to construct.
private LogicalExprList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private LogicalExprList() {
expr_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LogicalExprList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LogicalExprList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LogicalExprList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.LogicalExprList.class, ai.chalk.protos.chalk.expression.v1.LogicalExprList.Builder.class);
}
public static final int EXPR_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> expr_;
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getExprList() {
return expr_;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprOrBuilderList() {
return expr_;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public int getExprCount() {
return expr_.size();
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(int index) {
return expr_.get(index);
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(
int index) {
return expr_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < expr_.size(); i++) {
output.writeMessage(1, expr_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < expr_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, expr_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.LogicalExprList)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.LogicalExprList other = (ai.chalk.protos.chalk.expression.v1.LogicalExprList) obj;
if (!getExprList()
.equals(other.getExprList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getExprCount() > 0) {
hash = (37 * hash) + EXPR_FIELD_NUMBER;
hash = (53 * hash) + getExprList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.LogicalExprList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.LogicalExprList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.LogicalExprList)
ai.chalk.protos.chalk.expression.v1.LogicalExprListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LogicalExprList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LogicalExprList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.LogicalExprList.class, ai.chalk.protos.chalk.expression.v1.LogicalExprList.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.LogicalExprList.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (exprBuilder_ == null) {
expr_ = java.util.Collections.emptyList();
} else {
expr_ = null;
exprBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LogicalExprList_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprList getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.LogicalExprList.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprList build() {
ai.chalk.protos.chalk.expression.v1.LogicalExprList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprList buildPartial() {
ai.chalk.protos.chalk.expression.v1.LogicalExprList result = new ai.chalk.protos.chalk.expression.v1.LogicalExprList(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.LogicalExprList result) {
if (exprBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
expr_ = java.util.Collections.unmodifiableList(expr_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.expr_ = expr_;
} else {
result.expr_ = exprBuilder_.build();
}
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.LogicalExprList result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.LogicalExprList) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.LogicalExprList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.LogicalExprList other) {
if (other == ai.chalk.protos.chalk.expression.v1.LogicalExprList.getDefaultInstance()) return this;
if (exprBuilder_ == null) {
if (!other.expr_.isEmpty()) {
if (expr_.isEmpty()) {
expr_ = other.expr_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureExprIsMutable();
expr_.addAll(other.expr_);
}
onChanged();
}
} else {
if (!other.expr_.isEmpty()) {
if (exprBuilder_.isEmpty()) {
exprBuilder_.dispose();
exprBuilder_ = null;
expr_ = other.expr_;
bitField0_ = (bitField0_ & ~0x00000001);
exprBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getExprFieldBuilder() : null;
} else {
exprBuilder_.addAllMessages(other.expr_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
ai.chalk.protos.chalk.expression.v1.LogicalExprNode m =
input.readMessage(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(),
extensionRegistry);
if (exprBuilder_ == null) {
ensureExprIsMutable();
expr_.add(m);
} else {
exprBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> expr_ =
java.util.Collections.emptyList();
private void ensureExprIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
expr_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(expr_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_;
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getExprList() {
if (exprBuilder_ == null) {
return java.util.Collections.unmodifiableList(expr_);
} else {
return exprBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public int getExprCount() {
if (exprBuilder_ == null) {
return expr_.size();
} else {
return exprBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(int index) {
if (exprBuilder_ == null) {
return expr_.get(index);
} else {
return exprBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder setExpr(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExprIsMutable();
expr_.set(index, value);
onChanged();
} else {
exprBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder setExpr(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (exprBuilder_ == null) {
ensureExprIsMutable();
expr_.set(index, builderForValue.build());
onChanged();
} else {
exprBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder addExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExprIsMutable();
expr_.add(value);
onChanged();
} else {
exprBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder addExpr(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExprIsMutable();
expr_.add(index, value);
onChanged();
} else {
exprBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder addExpr(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (exprBuilder_ == null) {
ensureExprIsMutable();
expr_.add(builderForValue.build());
onChanged();
} else {
exprBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder addExpr(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (exprBuilder_ == null) {
ensureExprIsMutable();
expr_.add(index, builderForValue.build());
onChanged();
} else {
exprBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder addAllExpr(
java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) {
if (exprBuilder_ == null) {
ensureExprIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, expr_);
onChanged();
} else {
exprBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder clearExpr() {
if (exprBuilder_ == null) {
expr_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
exprBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder removeExpr(int index) {
if (exprBuilder_ == null) {
ensureExprIsMutable();
expr_.remove(index);
onChanged();
} else {
exprBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder(
int index) {
return getExprFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(
int index) {
if (exprBuilder_ == null) {
return expr_.get(index); } else {
return exprBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprOrBuilderList() {
if (exprBuilder_ != null) {
return exprBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(expr_);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addExprBuilder() {
return getExprFieldBuilder().addBuilder(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance());
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addExprBuilder(
int index) {
return getExprFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance());
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder>
getExprBuilderList() {
return getExprFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprFieldBuilder() {
if (exprBuilder_ == null) {
exprBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
expr_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
expr_ = null;
}
return exprBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.LogicalExprList)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.LogicalExprList)
private static final ai.chalk.protos.chalk.expression.v1.LogicalExprList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.LogicalExprList();
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<LogicalExprList>
PARSER = new com.google.protobuf.AbstractParser<LogicalExprList>() {
@java.lang.Override
public LogicalExprList 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<LogicalExprList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LogicalExprList> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/LogicalExprListOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface LogicalExprListOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.LogicalExprList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>
getExprList();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(int index);
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
int getExprCount();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprOrBuilderList();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(
int index);
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/LogicalExprNode.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.LogicalExprNode}
*/
public final class LogicalExprNode extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.LogicalExprNode)
LogicalExprNodeOrBuilder {
private static final long serialVersionUID = 0L;
// Use LogicalExprNode.newBuilder() to construct.
private LogicalExprNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private LogicalExprNode() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LogicalExprNode();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LogicalExprNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LogicalExprNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.class, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder.class);
}
private int exprFormCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object exprForm_;
public enum ExprFormCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
IDENTIFIER(35),
GET_ATTRIBUTE(36),
GET_SUBSCRIPT(37),
CALL(38),
LITERAL_VALUE(39),
EXPRFORM_NOT_SET(0);
private final int value;
private ExprFormCase(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 ExprFormCase valueOf(int value) {
return forNumber(value);
}
public static ExprFormCase forNumber(int value) {
switch (value) {
case 35: return IDENTIFIER;
case 36: return GET_ATTRIBUTE;
case 37: return GET_SUBSCRIPT;
case 38: return CALL;
case 39: return LITERAL_VALUE;
case 0: return EXPRFORM_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ExprFormCase
getExprFormCase() {
return ExprFormCase.forNumber(
exprFormCase_);
}
private int exprTypeCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object exprType_;
public enum ExprTypeCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
@java.lang.Deprecated COLUMN(1),
@java.lang.Deprecated ALIAS(2),
@java.lang.Deprecated LITERAL(3),
@java.lang.Deprecated BINARY_EXPR(4),
@java.lang.Deprecated AGGREGATE_EXPR(5),
@java.lang.Deprecated IS_NULL_EXPR(6),
@java.lang.Deprecated IS_NOT_NULL_EXPR(7),
@java.lang.Deprecated NOT_EXPR(8),
@java.lang.Deprecated BETWEEN(9),
@java.lang.Deprecated CASE(10),
@java.lang.Deprecated CAST(11),
@java.lang.Deprecated SORT(12),
@java.lang.Deprecated NEGATIVE(13),
@java.lang.Deprecated IN_LIST(14),
@java.lang.Deprecated WILDCARD(15),
@java.lang.Deprecated SCALAR_FUNCTION(16),
@java.lang.Deprecated TRY_CAST(17),
@java.lang.Deprecated WINDOW_EXPR(18),
@java.lang.Deprecated AGGREGATE_UDF_EXPR(19),
@java.lang.Deprecated SCALAR_UDF_EXPR(20),
@java.lang.Deprecated GET_INDEXED_FIELD(21),
@java.lang.Deprecated GROUPING_SET(22),
@java.lang.Deprecated CUBE(23),
@java.lang.Deprecated ROLLUP(24),
@java.lang.Deprecated IS_TRUE(25),
@java.lang.Deprecated IS_FALSE(26),
@java.lang.Deprecated IS_UNKNOWN(27),
@java.lang.Deprecated IS_NOT_TRUE(28),
@java.lang.Deprecated IS_NOT_FALSE(29),
@java.lang.Deprecated IS_NOT_UNKNOWN(30),
@java.lang.Deprecated LIKE(31),
@java.lang.Deprecated ILIKE(32),
@java.lang.Deprecated SIMILAR_TO(33),
@java.lang.Deprecated PLACEHOLDER(34),
EXPRTYPE_NOT_SET(0);
private final int value;
private ExprTypeCase(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 ExprTypeCase valueOf(int value) {
return forNumber(value);
}
public static ExprTypeCase forNumber(int value) {
switch (value) {
case 1: return COLUMN;
case 2: return ALIAS;
case 3: return LITERAL;
case 4: return BINARY_EXPR;
case 5: return AGGREGATE_EXPR;
case 6: return IS_NULL_EXPR;
case 7: return IS_NOT_NULL_EXPR;
case 8: return NOT_EXPR;
case 9: return BETWEEN;
case 10: return CASE;
case 11: return CAST;
case 12: return SORT;
case 13: return NEGATIVE;
case 14: return IN_LIST;
case 15: return WILDCARD;
case 16: return SCALAR_FUNCTION;
case 17: return TRY_CAST;
case 18: return WINDOW_EXPR;
case 19: return AGGREGATE_UDF_EXPR;
case 20: return SCALAR_UDF_EXPR;
case 21: return GET_INDEXED_FIELD;
case 22: return GROUPING_SET;
case 23: return CUBE;
case 24: return ROLLUP;
case 25: return IS_TRUE;
case 26: return IS_FALSE;
case 27: return IS_UNKNOWN;
case 28: return IS_NOT_TRUE;
case 29: return IS_NOT_FALSE;
case 30: return IS_NOT_UNKNOWN;
case 31: return LIKE;
case 32: return ILIKE;
case 33: return SIMILAR_TO;
case 34: return PLACEHOLDER;
case 0: return EXPRTYPE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ExprTypeCase
getExprTypeCase() {
return ExprTypeCase.forNumber(
exprTypeCase_);
}
public static final int IDENTIFIER_FIELD_NUMBER = 35;
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
* @return Whether the identifier field is set.
*/
@java.lang.Override
public boolean hasIdentifier() {
return exprFormCase_ == 35;
}
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
* @return The identifier.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.Identifier getIdentifier() {
if (exprFormCase_ == 35) {
return (ai.chalk.protos.chalk.expression.v1.Identifier) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder getIdentifierOrBuilder() {
if (exprFormCase_ == 35) {
return (ai.chalk.protos.chalk.expression.v1.Identifier) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance();
}
public static final int GET_ATTRIBUTE_FIELD_NUMBER = 36;
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
* @return Whether the getAttribute field is set.
*/
@java.lang.Override
public boolean hasGetAttribute() {
return exprFormCase_ == 36;
}
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
* @return The getAttribute.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprGetAttribute getGetAttribute() {
if (exprFormCase_ == 36) {
return (ai.chalk.protos.chalk.expression.v1.ExprGetAttribute) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprGetAttributeOrBuilder getGetAttributeOrBuilder() {
if (exprFormCase_ == 36) {
return (ai.chalk.protos.chalk.expression.v1.ExprGetAttribute) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.getDefaultInstance();
}
public static final int GET_SUBSCRIPT_FIELD_NUMBER = 37;
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
* @return Whether the getSubscript field is set.
*/
@java.lang.Override
public boolean hasGetSubscript() {
return exprFormCase_ == 37;
}
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
* @return The getSubscript.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprGetSubscript getGetSubscript() {
if (exprFormCase_ == 37) {
return (ai.chalk.protos.chalk.expression.v1.ExprGetSubscript) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprGetSubscriptOrBuilder getGetSubscriptOrBuilder() {
if (exprFormCase_ == 37) {
return (ai.chalk.protos.chalk.expression.v1.ExprGetSubscript) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.getDefaultInstance();
}
public static final int CALL_FIELD_NUMBER = 38;
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
* @return Whether the call field is set.
*/
@java.lang.Override
public boolean hasCall() {
return exprFormCase_ == 38;
}
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
* @return The call.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprCall getCall() {
if (exprFormCase_ == 38) {
return (ai.chalk.protos.chalk.expression.v1.ExprCall) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprCall.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprCallOrBuilder getCallOrBuilder() {
if (exprFormCase_ == 38) {
return (ai.chalk.protos.chalk.expression.v1.ExprCall) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprCall.getDefaultInstance();
}
public static final int LITERAL_VALUE_FIELD_NUMBER = 39;
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
* @return Whether the literalValue field is set.
*/
@java.lang.Override
public boolean hasLiteralValue() {
return exprFormCase_ == 39;
}
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
* @return The literalValue.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprLiteral getLiteralValue() {
if (exprFormCase_ == 39) {
return (ai.chalk.protos.chalk.expression.v1.ExprLiteral) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprLiteral.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprLiteralOrBuilder getLiteralValueOrBuilder() {
if (exprFormCase_ == 39) {
return (ai.chalk.protos.chalk.expression.v1.ExprLiteral) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprLiteral.getDefaultInstance();
}
public static final int COLUMN_FIELD_NUMBER = 1;
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.column is deprecated.
* See chalk/expression/v1/expression.proto;l=64
* @return Whether the column field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasColumn() {
return exprTypeCase_ == 1;
}
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.column is deprecated.
* See chalk/expression/v1/expression.proto;l=64
* @return The column.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.Column getColumn() {
if (exprTypeCase_ == 1) {
return (ai.chalk.protos.chalk.expression.v1.Column) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.Column.getDefaultInstance();
}
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ColumnOrBuilder getColumnOrBuilder() {
if (exprTypeCase_ == 1) {
return (ai.chalk.protos.chalk.expression.v1.Column) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.Column.getDefaultInstance();
}
public static final int ALIAS_FIELD_NUMBER = 2;
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.alias is deprecated.
* See chalk/expression/v1/expression.proto;l=67
* @return Whether the alias field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasAlias() {
return exprTypeCase_ == 2;
}
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.alias is deprecated.
* See chalk/expression/v1/expression.proto;l=67
* @return The alias.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AliasNode getAlias() {
if (exprTypeCase_ == 2) {
return (ai.chalk.protos.chalk.expression.v1.AliasNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.AliasNode.getDefaultInstance();
}
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AliasNodeOrBuilder getAliasOrBuilder() {
if (exprTypeCase_ == 2) {
return (ai.chalk.protos.chalk.expression.v1.AliasNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.AliasNode.getDefaultInstance();
}
public static final int LITERAL_FIELD_NUMBER = 3;
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.literal is deprecated.
* See chalk/expression/v1/expression.proto;l=69
* @return Whether the literal field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasLiteral() {
return exprTypeCase_ == 3;
}
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.literal is deprecated.
* See chalk/expression/v1/expression.proto;l=69
* @return The literal.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.arrow.v1.ScalarValue getLiteral() {
if (exprTypeCase_ == 3) {
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) exprType_;
}
return ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance();
}
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getLiteralOrBuilder() {
if (exprTypeCase_ == 3) {
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) exprType_;
}
return ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance();
}
public static final int BINARY_EXPR_FIELD_NUMBER = 4;
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.binary_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=72
* @return Whether the binaryExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasBinaryExpr() {
return exprTypeCase_ == 4;
}
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.binary_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=72
* @return The binaryExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.BinaryExprNode getBinaryExpr() {
if (exprTypeCase_ == 4) {
return (ai.chalk.protos.chalk.expression.v1.BinaryExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.BinaryExprNode.getDefaultInstance();
}
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.BinaryExprNodeOrBuilder getBinaryExprOrBuilder() {
if (exprTypeCase_ == 4) {
return (ai.chalk.protos.chalk.expression.v1.BinaryExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.BinaryExprNode.getDefaultInstance();
}
public static final int AGGREGATE_EXPR_FIELD_NUMBER = 5;
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.aggregate_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=75
* @return Whether the aggregateExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasAggregateExpr() {
return exprTypeCase_ == 5;
}
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.aggregate_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=75
* @return The aggregateExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AggregateExprNode getAggregateExpr() {
if (exprTypeCase_ == 5) {
return (ai.chalk.protos.chalk.expression.v1.AggregateExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.AggregateExprNode.getDefaultInstance();
}
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AggregateExprNodeOrBuilder getAggregateExprOrBuilder() {
if (exprTypeCase_ == 5) {
return (ai.chalk.protos.chalk.expression.v1.AggregateExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.AggregateExprNode.getDefaultInstance();
}
public static final int IS_NULL_EXPR_FIELD_NUMBER = 6;
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_null_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=78
* @return Whether the isNullExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsNullExpr() {
return exprTypeCase_ == 6;
}
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_null_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=78
* @return The isNullExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNull getIsNullExpr() {
if (exprTypeCase_ == 6) {
return (ai.chalk.protos.chalk.expression.v1.IsNull) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNull.getDefaultInstance();
}
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNullOrBuilder getIsNullExprOrBuilder() {
if (exprTypeCase_ == 6) {
return (ai.chalk.protos.chalk.expression.v1.IsNull) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNull.getDefaultInstance();
}
public static final int IS_NOT_NULL_EXPR_FIELD_NUMBER = 7;
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_null_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=79
* @return Whether the isNotNullExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsNotNullExpr() {
return exprTypeCase_ == 7;
}
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_null_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=79
* @return The isNotNullExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotNull getIsNotNullExpr() {
if (exprTypeCase_ == 7) {
return (ai.chalk.protos.chalk.expression.v1.IsNotNull) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotNull.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotNullOrBuilder getIsNotNullExprOrBuilder() {
if (exprTypeCase_ == 7) {
return (ai.chalk.protos.chalk.expression.v1.IsNotNull) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotNull.getDefaultInstance();
}
public static final int NOT_EXPR_FIELD_NUMBER = 8;
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.not_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=80
* @return Whether the notExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasNotExpr() {
return exprTypeCase_ == 8;
}
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.not_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=80
* @return The notExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.Not getNotExpr() {
if (exprTypeCase_ == 8) {
return (ai.chalk.protos.chalk.expression.v1.Not) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.Not.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.NotOrBuilder getNotExprOrBuilder() {
if (exprTypeCase_ == 8) {
return (ai.chalk.protos.chalk.expression.v1.Not) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.Not.getDefaultInstance();
}
public static final int BETWEEN_FIELD_NUMBER = 9;
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.between is deprecated.
* See chalk/expression/v1/expression.proto;l=82
* @return Whether the between field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasBetween() {
return exprTypeCase_ == 9;
}
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.between is deprecated.
* See chalk/expression/v1/expression.proto;l=82
* @return The between.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.BetweenNode getBetween() {
if (exprTypeCase_ == 9) {
return (ai.chalk.protos.chalk.expression.v1.BetweenNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.BetweenNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.BetweenNodeOrBuilder getBetweenOrBuilder() {
if (exprTypeCase_ == 9) {
return (ai.chalk.protos.chalk.expression.v1.BetweenNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.BetweenNode.getDefaultInstance();
}
public static final int CASE_FIELD_NUMBER = 10;
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.case is deprecated.
* See chalk/expression/v1/expression.proto;l=83
* @return Whether the case field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasCase() {
return exprTypeCase_ == 10;
}
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.case is deprecated.
* See chalk/expression/v1/expression.proto;l=83
* @return The case.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CaseNode getCase() {
if (exprTypeCase_ == 10) {
return (ai.chalk.protos.chalk.expression.v1.CaseNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.CaseNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CaseNodeOrBuilder getCaseOrBuilder() {
if (exprTypeCase_ == 10) {
return (ai.chalk.protos.chalk.expression.v1.CaseNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.CaseNode.getDefaultInstance();
}
public static final int CAST_FIELD_NUMBER = 11;
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.cast is deprecated.
* See chalk/expression/v1/expression.proto;l=84
* @return Whether the cast field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasCast() {
return exprTypeCase_ == 11;
}
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.cast is deprecated.
* See chalk/expression/v1/expression.proto;l=84
* @return The cast.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CastNode getCast() {
if (exprTypeCase_ == 11) {
return (ai.chalk.protos.chalk.expression.v1.CastNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.CastNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CastNodeOrBuilder getCastOrBuilder() {
if (exprTypeCase_ == 11) {
return (ai.chalk.protos.chalk.expression.v1.CastNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.CastNode.getDefaultInstance();
}
public static final int SORT_FIELD_NUMBER = 12;
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.sort is deprecated.
* See chalk/expression/v1/expression.proto;l=85
* @return Whether the sort field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasSort() {
return exprTypeCase_ == 12;
}
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.sort is deprecated.
* See chalk/expression/v1/expression.proto;l=85
* @return The sort.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.SortExprNode getSort() {
if (exprTypeCase_ == 12) {
return (ai.chalk.protos.chalk.expression.v1.SortExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.SortExprNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.SortExprNodeOrBuilder getSortOrBuilder() {
if (exprTypeCase_ == 12) {
return (ai.chalk.protos.chalk.expression.v1.SortExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.SortExprNode.getDefaultInstance();
}
public static final int NEGATIVE_FIELD_NUMBER = 13;
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.negative is deprecated.
* See chalk/expression/v1/expression.proto;l=86
* @return Whether the negative field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasNegative() {
return exprTypeCase_ == 13;
}
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.negative is deprecated.
* See chalk/expression/v1/expression.proto;l=86
* @return The negative.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.NegativeNode getNegative() {
if (exprTypeCase_ == 13) {
return (ai.chalk.protos.chalk.expression.v1.NegativeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.NegativeNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.NegativeNodeOrBuilder getNegativeOrBuilder() {
if (exprTypeCase_ == 13) {
return (ai.chalk.protos.chalk.expression.v1.NegativeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.NegativeNode.getDefaultInstance();
}
public static final int IN_LIST_FIELD_NUMBER = 14;
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.in_list is deprecated.
* See chalk/expression/v1/expression.proto;l=87
* @return Whether the inList field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasInList() {
return exprTypeCase_ == 14;
}
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.in_list is deprecated.
* See chalk/expression/v1/expression.proto;l=87
* @return The inList.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.InListNode getInList() {
if (exprTypeCase_ == 14) {
return (ai.chalk.protos.chalk.expression.v1.InListNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.InListNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.InListNodeOrBuilder getInListOrBuilder() {
if (exprTypeCase_ == 14) {
return (ai.chalk.protos.chalk.expression.v1.InListNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.InListNode.getDefaultInstance();
}
public static final int WILDCARD_FIELD_NUMBER = 15;
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.wildcard is deprecated.
* See chalk/expression/v1/expression.proto;l=88
* @return Whether the wildcard field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasWildcard() {
return exprTypeCase_ == 15;
}
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.wildcard is deprecated.
* See chalk/expression/v1/expression.proto;l=88
* @return The wildcard.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.Wildcard getWildcard() {
if (exprTypeCase_ == 15) {
return (ai.chalk.protos.chalk.expression.v1.Wildcard) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.Wildcard.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.WildcardOrBuilder getWildcardOrBuilder() {
if (exprTypeCase_ == 15) {
return (ai.chalk.protos.chalk.expression.v1.Wildcard) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.Wildcard.getDefaultInstance();
}
public static final int SCALAR_FUNCTION_FIELD_NUMBER = 16;
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.scalar_function is deprecated.
* See chalk/expression/v1/expression.proto;l=89
* @return Whether the scalarFunction field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasScalarFunction() {
return exprTypeCase_ == 16;
}
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.scalar_function is deprecated.
* See chalk/expression/v1/expression.proto;l=89
* @return The scalarFunction.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode getScalarFunction() {
if (exprTypeCase_ == 16) {
return (ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ScalarFunctionNodeOrBuilder getScalarFunctionOrBuilder() {
if (exprTypeCase_ == 16) {
return (ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.getDefaultInstance();
}
public static final int TRY_CAST_FIELD_NUMBER = 17;
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.try_cast is deprecated.
* See chalk/expression/v1/expression.proto;l=90
* @return Whether the tryCast field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasTryCast() {
return exprTypeCase_ == 17;
}
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.try_cast is deprecated.
* See chalk/expression/v1/expression.proto;l=90
* @return The tryCast.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.TryCastNode getTryCast() {
if (exprTypeCase_ == 17) {
return (ai.chalk.protos.chalk.expression.v1.TryCastNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.TryCastNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.TryCastNodeOrBuilder getTryCastOrBuilder() {
if (exprTypeCase_ == 17) {
return (ai.chalk.protos.chalk.expression.v1.TryCastNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.TryCastNode.getDefaultInstance();
}
public static final int WINDOW_EXPR_FIELD_NUMBER = 18;
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.window_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=93
* @return Whether the windowExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasWindowExpr() {
return exprTypeCase_ == 18;
}
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.window_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=93
* @return The windowExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.WindowExprNode getWindowExpr() {
if (exprTypeCase_ == 18) {
return (ai.chalk.protos.chalk.expression.v1.WindowExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.WindowExprNode.getDefaultInstance();
}
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.WindowExprNodeOrBuilder getWindowExprOrBuilder() {
if (exprTypeCase_ == 18) {
return (ai.chalk.protos.chalk.expression.v1.WindowExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.WindowExprNode.getDefaultInstance();
}
public static final int AGGREGATE_UDF_EXPR_FIELD_NUMBER = 19;
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.aggregate_udf_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=96
* @return Whether the aggregateUdfExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasAggregateUdfExpr() {
return exprTypeCase_ == 19;
}
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.aggregate_udf_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=96
* @return The aggregateUdfExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode getAggregateUdfExpr() {
if (exprTypeCase_ == 19) {
return (ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.getDefaultInstance();
}
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNodeOrBuilder getAggregateUdfExprOrBuilder() {
if (exprTypeCase_ == 19) {
return (ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.getDefaultInstance();
}
public static final int SCALAR_UDF_EXPR_FIELD_NUMBER = 20;
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.scalar_udf_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=99
* @return Whether the scalarUdfExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasScalarUdfExpr() {
return exprTypeCase_ == 20;
}
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.scalar_udf_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=99
* @return The scalarUdfExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode getScalarUdfExpr() {
if (exprTypeCase_ == 20) {
return (ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.getDefaultInstance();
}
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNodeOrBuilder getScalarUdfExprOrBuilder() {
if (exprTypeCase_ == 20) {
return (ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.getDefaultInstance();
}
public static final int GET_INDEXED_FIELD_FIELD_NUMBER = 21;
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.get_indexed_field is deprecated.
* See chalk/expression/v1/expression.proto;l=101
* @return Whether the getIndexedField field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasGetIndexedField() {
return exprTypeCase_ == 21;
}
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.get_indexed_field is deprecated.
* See chalk/expression/v1/expression.proto;l=101
* @return The getIndexedField.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.GetIndexedField getGetIndexedField() {
if (exprTypeCase_ == 21) {
return (ai.chalk.protos.chalk.expression.v1.GetIndexedField) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.GetIndexedField.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.GetIndexedFieldOrBuilder getGetIndexedFieldOrBuilder() {
if (exprTypeCase_ == 21) {
return (ai.chalk.protos.chalk.expression.v1.GetIndexedField) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.GetIndexedField.getDefaultInstance();
}
public static final int GROUPING_SET_FIELD_NUMBER = 22;
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.grouping_set is deprecated.
* See chalk/expression/v1/expression.proto;l=103
* @return Whether the groupingSet field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasGroupingSet() {
return exprTypeCase_ == 22;
}
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.grouping_set is deprecated.
* See chalk/expression/v1/expression.proto;l=103
* @return The groupingSet.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.GroupingSetNode getGroupingSet() {
if (exprTypeCase_ == 22) {
return (ai.chalk.protos.chalk.expression.v1.GroupingSetNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.GroupingSetNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.GroupingSetNodeOrBuilder getGroupingSetOrBuilder() {
if (exprTypeCase_ == 22) {
return (ai.chalk.protos.chalk.expression.v1.GroupingSetNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.GroupingSetNode.getDefaultInstance();
}
public static final int CUBE_FIELD_NUMBER = 23;
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.cube is deprecated.
* See chalk/expression/v1/expression.proto;l=105
* @return Whether the cube field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasCube() {
return exprTypeCase_ == 23;
}
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.cube is deprecated.
* See chalk/expression/v1/expression.proto;l=105
* @return The cube.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CubeNode getCube() {
if (exprTypeCase_ == 23) {
return (ai.chalk.protos.chalk.expression.v1.CubeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.CubeNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CubeNodeOrBuilder getCubeOrBuilder() {
if (exprTypeCase_ == 23) {
return (ai.chalk.protos.chalk.expression.v1.CubeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.CubeNode.getDefaultInstance();
}
public static final int ROLLUP_FIELD_NUMBER = 24;
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.rollup is deprecated.
* See chalk/expression/v1/expression.proto;l=107
* @return Whether the rollup field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasRollup() {
return exprTypeCase_ == 24;
}
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.rollup is deprecated.
* See chalk/expression/v1/expression.proto;l=107
* @return The rollup.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.RollupNode getRollup() {
if (exprTypeCase_ == 24) {
return (ai.chalk.protos.chalk.expression.v1.RollupNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.RollupNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.RollupNodeOrBuilder getRollupOrBuilder() {
if (exprTypeCase_ == 24) {
return (ai.chalk.protos.chalk.expression.v1.RollupNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.RollupNode.getDefaultInstance();
}
public static final int IS_TRUE_FIELD_NUMBER = 25;
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_true is deprecated.
* See chalk/expression/v1/expression.proto;l=109
* @return Whether the isTrue field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsTrue() {
return exprTypeCase_ == 25;
}
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_true is deprecated.
* See chalk/expression/v1/expression.proto;l=109
* @return The isTrue.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsTrue getIsTrue() {
if (exprTypeCase_ == 25) {
return (ai.chalk.protos.chalk.expression.v1.IsTrue) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsTrue.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsTrueOrBuilder getIsTrueOrBuilder() {
if (exprTypeCase_ == 25) {
return (ai.chalk.protos.chalk.expression.v1.IsTrue) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsTrue.getDefaultInstance();
}
public static final int IS_FALSE_FIELD_NUMBER = 26;
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_false is deprecated.
* See chalk/expression/v1/expression.proto;l=110
* @return Whether the isFalse field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsFalse() {
return exprTypeCase_ == 26;
}
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_false is deprecated.
* See chalk/expression/v1/expression.proto;l=110
* @return The isFalse.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsFalse getIsFalse() {
if (exprTypeCase_ == 26) {
return (ai.chalk.protos.chalk.expression.v1.IsFalse) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsFalse.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsFalseOrBuilder getIsFalseOrBuilder() {
if (exprTypeCase_ == 26) {
return (ai.chalk.protos.chalk.expression.v1.IsFalse) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsFalse.getDefaultInstance();
}
public static final int IS_UNKNOWN_FIELD_NUMBER = 27;
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_unknown is deprecated.
* See chalk/expression/v1/expression.proto;l=111
* @return Whether the isUnknown field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsUnknown() {
return exprTypeCase_ == 27;
}
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_unknown is deprecated.
* See chalk/expression/v1/expression.proto;l=111
* @return The isUnknown.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsUnknown getIsUnknown() {
if (exprTypeCase_ == 27) {
return (ai.chalk.protos.chalk.expression.v1.IsUnknown) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsUnknown.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsUnknownOrBuilder getIsUnknownOrBuilder() {
if (exprTypeCase_ == 27) {
return (ai.chalk.protos.chalk.expression.v1.IsUnknown) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsUnknown.getDefaultInstance();
}
public static final int IS_NOT_TRUE_FIELD_NUMBER = 28;
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_true is deprecated.
* See chalk/expression/v1/expression.proto;l=112
* @return Whether the isNotTrue field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsNotTrue() {
return exprTypeCase_ == 28;
}
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_true is deprecated.
* See chalk/expression/v1/expression.proto;l=112
* @return The isNotTrue.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotTrue getIsNotTrue() {
if (exprTypeCase_ == 28) {
return (ai.chalk.protos.chalk.expression.v1.IsNotTrue) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotTrue.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotTrueOrBuilder getIsNotTrueOrBuilder() {
if (exprTypeCase_ == 28) {
return (ai.chalk.protos.chalk.expression.v1.IsNotTrue) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotTrue.getDefaultInstance();
}
public static final int IS_NOT_FALSE_FIELD_NUMBER = 29;
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_false is deprecated.
* See chalk/expression/v1/expression.proto;l=113
* @return Whether the isNotFalse field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsNotFalse() {
return exprTypeCase_ == 29;
}
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_false is deprecated.
* See chalk/expression/v1/expression.proto;l=113
* @return The isNotFalse.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotFalse getIsNotFalse() {
if (exprTypeCase_ == 29) {
return (ai.chalk.protos.chalk.expression.v1.IsNotFalse) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotFalse.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotFalseOrBuilder getIsNotFalseOrBuilder() {
if (exprTypeCase_ == 29) {
return (ai.chalk.protos.chalk.expression.v1.IsNotFalse) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotFalse.getDefaultInstance();
}
public static final int IS_NOT_UNKNOWN_FIELD_NUMBER = 30;
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_unknown is deprecated.
* See chalk/expression/v1/expression.proto;l=114
* @return Whether the isNotUnknown field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsNotUnknown() {
return exprTypeCase_ == 30;
}
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_unknown is deprecated.
* See chalk/expression/v1/expression.proto;l=114
* @return The isNotUnknown.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotUnknown getIsNotUnknown() {
if (exprTypeCase_ == 30) {
return (ai.chalk.protos.chalk.expression.v1.IsNotUnknown) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotUnknown.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotUnknownOrBuilder getIsNotUnknownOrBuilder() {
if (exprTypeCase_ == 30) {
return (ai.chalk.protos.chalk.expression.v1.IsNotUnknown) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotUnknown.getDefaultInstance();
}
public static final int LIKE_FIELD_NUMBER = 31;
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.like is deprecated.
* See chalk/expression/v1/expression.proto;l=115
* @return Whether the like field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasLike() {
return exprTypeCase_ == 31;
}
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.like is deprecated.
* See chalk/expression/v1/expression.proto;l=115
* @return The like.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.LikeNode getLike() {
if (exprTypeCase_ == 31) {
return (ai.chalk.protos.chalk.expression.v1.LikeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.LikeNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.LikeNodeOrBuilder getLikeOrBuilder() {
if (exprTypeCase_ == 31) {
return (ai.chalk.protos.chalk.expression.v1.LikeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.LikeNode.getDefaultInstance();
}
public static final int ILIKE_FIELD_NUMBER = 32;
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.ilike is deprecated.
* See chalk/expression/v1/expression.proto;l=116
* @return Whether the ilike field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIlike() {
return exprTypeCase_ == 32;
}
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.ilike is deprecated.
* See chalk/expression/v1/expression.proto;l=116
* @return The ilike.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ILikeNode getIlike() {
if (exprTypeCase_ == 32) {
return (ai.chalk.protos.chalk.expression.v1.ILikeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.ILikeNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ILikeNodeOrBuilder getIlikeOrBuilder() {
if (exprTypeCase_ == 32) {
return (ai.chalk.protos.chalk.expression.v1.ILikeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.ILikeNode.getDefaultInstance();
}
public static final int SIMILAR_TO_FIELD_NUMBER = 33;
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.similar_to is deprecated.
* See chalk/expression/v1/expression.proto;l=117
* @return Whether the similarTo field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasSimilarTo() {
return exprTypeCase_ == 33;
}
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.similar_to is deprecated.
* See chalk/expression/v1/expression.proto;l=117
* @return The similarTo.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.SimilarToNode getSimilarTo() {
if (exprTypeCase_ == 33) {
return (ai.chalk.protos.chalk.expression.v1.SimilarToNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.SimilarToNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.SimilarToNodeOrBuilder getSimilarToOrBuilder() {
if (exprTypeCase_ == 33) {
return (ai.chalk.protos.chalk.expression.v1.SimilarToNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.SimilarToNode.getDefaultInstance();
}
public static final int PLACEHOLDER_FIELD_NUMBER = 34;
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.placeholder is deprecated.
* See chalk/expression/v1/expression.proto;l=119
* @return Whether the placeholder field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasPlaceholder() {
return exprTypeCase_ == 34;
}
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.placeholder is deprecated.
* See chalk/expression/v1/expression.proto;l=119
* @return The placeholder.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.PlaceholderNode getPlaceholder() {
if (exprTypeCase_ == 34) {
return (ai.chalk.protos.chalk.expression.v1.PlaceholderNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.PlaceholderNode.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.PlaceholderNodeOrBuilder getPlaceholderOrBuilder() {
if (exprTypeCase_ == 34) {
return (ai.chalk.protos.chalk.expression.v1.PlaceholderNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.PlaceholderNode.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 (exprTypeCase_ == 1) {
output.writeMessage(1, (ai.chalk.protos.chalk.expression.v1.Column) exprType_);
}
if (exprTypeCase_ == 2) {
output.writeMessage(2, (ai.chalk.protos.chalk.expression.v1.AliasNode) exprType_);
}
if (exprTypeCase_ == 3) {
output.writeMessage(3, (ai.chalk.protos.chalk.arrow.v1.ScalarValue) exprType_);
}
if (exprTypeCase_ == 4) {
output.writeMessage(4, (ai.chalk.protos.chalk.expression.v1.BinaryExprNode) exprType_);
}
if (exprTypeCase_ == 5) {
output.writeMessage(5, (ai.chalk.protos.chalk.expression.v1.AggregateExprNode) exprType_);
}
if (exprTypeCase_ == 6) {
output.writeMessage(6, (ai.chalk.protos.chalk.expression.v1.IsNull) exprType_);
}
if (exprTypeCase_ == 7) {
output.writeMessage(7, (ai.chalk.protos.chalk.expression.v1.IsNotNull) exprType_);
}
if (exprTypeCase_ == 8) {
output.writeMessage(8, (ai.chalk.protos.chalk.expression.v1.Not) exprType_);
}
if (exprTypeCase_ == 9) {
output.writeMessage(9, (ai.chalk.protos.chalk.expression.v1.BetweenNode) exprType_);
}
if (exprTypeCase_ == 10) {
output.writeMessage(10, (ai.chalk.protos.chalk.expression.v1.CaseNode) exprType_);
}
if (exprTypeCase_ == 11) {
output.writeMessage(11, (ai.chalk.protos.chalk.expression.v1.CastNode) exprType_);
}
if (exprTypeCase_ == 12) {
output.writeMessage(12, (ai.chalk.protos.chalk.expression.v1.SortExprNode) exprType_);
}
if (exprTypeCase_ == 13) {
output.writeMessage(13, (ai.chalk.protos.chalk.expression.v1.NegativeNode) exprType_);
}
if (exprTypeCase_ == 14) {
output.writeMessage(14, (ai.chalk.protos.chalk.expression.v1.InListNode) exprType_);
}
if (exprTypeCase_ == 15) {
output.writeMessage(15, (ai.chalk.protos.chalk.expression.v1.Wildcard) exprType_);
}
if (exprTypeCase_ == 16) {
output.writeMessage(16, (ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode) exprType_);
}
if (exprTypeCase_ == 17) {
output.writeMessage(17, (ai.chalk.protos.chalk.expression.v1.TryCastNode) exprType_);
}
if (exprTypeCase_ == 18) {
output.writeMessage(18, (ai.chalk.protos.chalk.expression.v1.WindowExprNode) exprType_);
}
if (exprTypeCase_ == 19) {
output.writeMessage(19, (ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode) exprType_);
}
if (exprTypeCase_ == 20) {
output.writeMessage(20, (ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode) exprType_);
}
if (exprTypeCase_ == 21) {
output.writeMessage(21, (ai.chalk.protos.chalk.expression.v1.GetIndexedField) exprType_);
}
if (exprTypeCase_ == 22) {
output.writeMessage(22, (ai.chalk.protos.chalk.expression.v1.GroupingSetNode) exprType_);
}
if (exprTypeCase_ == 23) {
output.writeMessage(23, (ai.chalk.protos.chalk.expression.v1.CubeNode) exprType_);
}
if (exprTypeCase_ == 24) {
output.writeMessage(24, (ai.chalk.protos.chalk.expression.v1.RollupNode) exprType_);
}
if (exprTypeCase_ == 25) {
output.writeMessage(25, (ai.chalk.protos.chalk.expression.v1.IsTrue) exprType_);
}
if (exprTypeCase_ == 26) {
output.writeMessage(26, (ai.chalk.protos.chalk.expression.v1.IsFalse) exprType_);
}
if (exprTypeCase_ == 27) {
output.writeMessage(27, (ai.chalk.protos.chalk.expression.v1.IsUnknown) exprType_);
}
if (exprTypeCase_ == 28) {
output.writeMessage(28, (ai.chalk.protos.chalk.expression.v1.IsNotTrue) exprType_);
}
if (exprTypeCase_ == 29) {
output.writeMessage(29, (ai.chalk.protos.chalk.expression.v1.IsNotFalse) exprType_);
}
if (exprTypeCase_ == 30) {
output.writeMessage(30, (ai.chalk.protos.chalk.expression.v1.IsNotUnknown) exprType_);
}
if (exprTypeCase_ == 31) {
output.writeMessage(31, (ai.chalk.protos.chalk.expression.v1.LikeNode) exprType_);
}
if (exprTypeCase_ == 32) {
output.writeMessage(32, (ai.chalk.protos.chalk.expression.v1.ILikeNode) exprType_);
}
if (exprTypeCase_ == 33) {
output.writeMessage(33, (ai.chalk.protos.chalk.expression.v1.SimilarToNode) exprType_);
}
if (exprTypeCase_ == 34) {
output.writeMessage(34, (ai.chalk.protos.chalk.expression.v1.PlaceholderNode) exprType_);
}
if (exprFormCase_ == 35) {
output.writeMessage(35, (ai.chalk.protos.chalk.expression.v1.Identifier) exprForm_);
}
if (exprFormCase_ == 36) {
output.writeMessage(36, (ai.chalk.protos.chalk.expression.v1.ExprGetAttribute) exprForm_);
}
if (exprFormCase_ == 37) {
output.writeMessage(37, (ai.chalk.protos.chalk.expression.v1.ExprGetSubscript) exprForm_);
}
if (exprFormCase_ == 38) {
output.writeMessage(38, (ai.chalk.protos.chalk.expression.v1.ExprCall) exprForm_);
}
if (exprFormCase_ == 39) {
output.writeMessage(39, (ai.chalk.protos.chalk.expression.v1.ExprLiteral) exprForm_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (exprTypeCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (ai.chalk.protos.chalk.expression.v1.Column) exprType_);
}
if (exprTypeCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (ai.chalk.protos.chalk.expression.v1.AliasNode) exprType_);
}
if (exprTypeCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (ai.chalk.protos.chalk.arrow.v1.ScalarValue) exprType_);
}
if (exprTypeCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (ai.chalk.protos.chalk.expression.v1.BinaryExprNode) exprType_);
}
if (exprTypeCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (ai.chalk.protos.chalk.expression.v1.AggregateExprNode) exprType_);
}
if (exprTypeCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (ai.chalk.protos.chalk.expression.v1.IsNull) exprType_);
}
if (exprTypeCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (ai.chalk.protos.chalk.expression.v1.IsNotNull) exprType_);
}
if (exprTypeCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (ai.chalk.protos.chalk.expression.v1.Not) exprType_);
}
if (exprTypeCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (ai.chalk.protos.chalk.expression.v1.BetweenNode) exprType_);
}
if (exprTypeCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (ai.chalk.protos.chalk.expression.v1.CaseNode) exprType_);
}
if (exprTypeCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (ai.chalk.protos.chalk.expression.v1.CastNode) exprType_);
}
if (exprTypeCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (ai.chalk.protos.chalk.expression.v1.SortExprNode) exprType_);
}
if (exprTypeCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (ai.chalk.protos.chalk.expression.v1.NegativeNode) exprType_);
}
if (exprTypeCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (ai.chalk.protos.chalk.expression.v1.InListNode) exprType_);
}
if (exprTypeCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (ai.chalk.protos.chalk.expression.v1.Wildcard) exprType_);
}
if (exprTypeCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode) exprType_);
}
if (exprTypeCase_ == 17) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, (ai.chalk.protos.chalk.expression.v1.TryCastNode) exprType_);
}
if (exprTypeCase_ == 18) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, (ai.chalk.protos.chalk.expression.v1.WindowExprNode) exprType_);
}
if (exprTypeCase_ == 19) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, (ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode) exprType_);
}
if (exprTypeCase_ == 20) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, (ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode) exprType_);
}
if (exprTypeCase_ == 21) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, (ai.chalk.protos.chalk.expression.v1.GetIndexedField) exprType_);
}
if (exprTypeCase_ == 22) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, (ai.chalk.protos.chalk.expression.v1.GroupingSetNode) exprType_);
}
if (exprTypeCase_ == 23) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, (ai.chalk.protos.chalk.expression.v1.CubeNode) exprType_);
}
if (exprTypeCase_ == 24) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(24, (ai.chalk.protos.chalk.expression.v1.RollupNode) exprType_);
}
if (exprTypeCase_ == 25) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(25, (ai.chalk.protos.chalk.expression.v1.IsTrue) exprType_);
}
if (exprTypeCase_ == 26) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(26, (ai.chalk.protos.chalk.expression.v1.IsFalse) exprType_);
}
if (exprTypeCase_ == 27) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(27, (ai.chalk.protos.chalk.expression.v1.IsUnknown) exprType_);
}
if (exprTypeCase_ == 28) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(28, (ai.chalk.protos.chalk.expression.v1.IsNotTrue) exprType_);
}
if (exprTypeCase_ == 29) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(29, (ai.chalk.protos.chalk.expression.v1.IsNotFalse) exprType_);
}
if (exprTypeCase_ == 30) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(30, (ai.chalk.protos.chalk.expression.v1.IsNotUnknown) exprType_);
}
if (exprTypeCase_ == 31) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(31, (ai.chalk.protos.chalk.expression.v1.LikeNode) exprType_);
}
if (exprTypeCase_ == 32) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(32, (ai.chalk.protos.chalk.expression.v1.ILikeNode) exprType_);
}
if (exprTypeCase_ == 33) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(33, (ai.chalk.protos.chalk.expression.v1.SimilarToNode) exprType_);
}
if (exprTypeCase_ == 34) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(34, (ai.chalk.protos.chalk.expression.v1.PlaceholderNode) exprType_);
}
if (exprFormCase_ == 35) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(35, (ai.chalk.protos.chalk.expression.v1.Identifier) exprForm_);
}
if (exprFormCase_ == 36) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(36, (ai.chalk.protos.chalk.expression.v1.ExprGetAttribute) exprForm_);
}
if (exprFormCase_ == 37) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(37, (ai.chalk.protos.chalk.expression.v1.ExprGetSubscript) exprForm_);
}
if (exprFormCase_ == 38) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(38, (ai.chalk.protos.chalk.expression.v1.ExprCall) exprForm_);
}
if (exprFormCase_ == 39) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(39, (ai.chalk.protos.chalk.expression.v1.ExprLiteral) exprForm_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.LogicalExprNode)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.LogicalExprNode other = (ai.chalk.protos.chalk.expression.v1.LogicalExprNode) obj;
if (!getExprFormCase().equals(other.getExprFormCase())) return false;
switch (exprFormCase_) {
case 35:
if (!getIdentifier()
.equals(other.getIdentifier())) return false;
break;
case 36:
if (!getGetAttribute()
.equals(other.getGetAttribute())) return false;
break;
case 37:
if (!getGetSubscript()
.equals(other.getGetSubscript())) return false;
break;
case 38:
if (!getCall()
.equals(other.getCall())) return false;
break;
case 39:
if (!getLiteralValue()
.equals(other.getLiteralValue())) return false;
break;
case 0:
default:
}
if (!getExprTypeCase().equals(other.getExprTypeCase())) return false;
switch (exprTypeCase_) {
case 1:
if (!getColumn()
.equals(other.getColumn())) return false;
break;
case 2:
if (!getAlias()
.equals(other.getAlias())) return false;
break;
case 3:
if (!getLiteral()
.equals(other.getLiteral())) return false;
break;
case 4:
if (!getBinaryExpr()
.equals(other.getBinaryExpr())) return false;
break;
case 5:
if (!getAggregateExpr()
.equals(other.getAggregateExpr())) return false;
break;
case 6:
if (!getIsNullExpr()
.equals(other.getIsNullExpr())) return false;
break;
case 7:
if (!getIsNotNullExpr()
.equals(other.getIsNotNullExpr())) return false;
break;
case 8:
if (!getNotExpr()
.equals(other.getNotExpr())) return false;
break;
case 9:
if (!getBetween()
.equals(other.getBetween())) return false;
break;
case 10:
if (!getCase()
.equals(other.getCase())) return false;
break;
case 11:
if (!getCast()
.equals(other.getCast())) return false;
break;
case 12:
if (!getSort()
.equals(other.getSort())) return false;
break;
case 13:
if (!getNegative()
.equals(other.getNegative())) return false;
break;
case 14:
if (!getInList()
.equals(other.getInList())) return false;
break;
case 15:
if (!getWildcard()
.equals(other.getWildcard())) return false;
break;
case 16:
if (!getScalarFunction()
.equals(other.getScalarFunction())) return false;
break;
case 17:
if (!getTryCast()
.equals(other.getTryCast())) return false;
break;
case 18:
if (!getWindowExpr()
.equals(other.getWindowExpr())) return false;
break;
case 19:
if (!getAggregateUdfExpr()
.equals(other.getAggregateUdfExpr())) return false;
break;
case 20:
if (!getScalarUdfExpr()
.equals(other.getScalarUdfExpr())) return false;
break;
case 21:
if (!getGetIndexedField()
.equals(other.getGetIndexedField())) return false;
break;
case 22:
if (!getGroupingSet()
.equals(other.getGroupingSet())) return false;
break;
case 23:
if (!getCube()
.equals(other.getCube())) return false;
break;
case 24:
if (!getRollup()
.equals(other.getRollup())) return false;
break;
case 25:
if (!getIsTrue()
.equals(other.getIsTrue())) return false;
break;
case 26:
if (!getIsFalse()
.equals(other.getIsFalse())) return false;
break;
case 27:
if (!getIsUnknown()
.equals(other.getIsUnknown())) return false;
break;
case 28:
if (!getIsNotTrue()
.equals(other.getIsNotTrue())) return false;
break;
case 29:
if (!getIsNotFalse()
.equals(other.getIsNotFalse())) return false;
break;
case 30:
if (!getIsNotUnknown()
.equals(other.getIsNotUnknown())) return false;
break;
case 31:
if (!getLike()
.equals(other.getLike())) return false;
break;
case 32:
if (!getIlike()
.equals(other.getIlike())) return false;
break;
case 33:
if (!getSimilarTo()
.equals(other.getSimilarTo())) return false;
break;
case 34:
if (!getPlaceholder()
.equals(other.getPlaceholder())) 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 (exprFormCase_) {
case 35:
hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getIdentifier().hashCode();
break;
case 36:
hash = (37 * hash) + GET_ATTRIBUTE_FIELD_NUMBER;
hash = (53 * hash) + getGetAttribute().hashCode();
break;
case 37:
hash = (37 * hash) + GET_SUBSCRIPT_FIELD_NUMBER;
hash = (53 * hash) + getGetSubscript().hashCode();
break;
case 38:
hash = (37 * hash) + CALL_FIELD_NUMBER;
hash = (53 * hash) + getCall().hashCode();
break;
case 39:
hash = (37 * hash) + LITERAL_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getLiteralValue().hashCode();
break;
case 0:
default:
}
switch (exprTypeCase_) {
case 1:
hash = (37 * hash) + COLUMN_FIELD_NUMBER;
hash = (53 * hash) + getColumn().hashCode();
break;
case 2:
hash = (37 * hash) + ALIAS_FIELD_NUMBER;
hash = (53 * hash) + getAlias().hashCode();
break;
case 3:
hash = (37 * hash) + LITERAL_FIELD_NUMBER;
hash = (53 * hash) + getLiteral().hashCode();
break;
case 4:
hash = (37 * hash) + BINARY_EXPR_FIELD_NUMBER;
hash = (53 * hash) + getBinaryExpr().hashCode();
break;
case 5:
hash = (37 * hash) + AGGREGATE_EXPR_FIELD_NUMBER;
hash = (53 * hash) + getAggregateExpr().hashCode();
break;
case 6:
hash = (37 * hash) + IS_NULL_EXPR_FIELD_NUMBER;
hash = (53 * hash) + getIsNullExpr().hashCode();
break;
case 7:
hash = (37 * hash) + IS_NOT_NULL_EXPR_FIELD_NUMBER;
hash = (53 * hash) + getIsNotNullExpr().hashCode();
break;
case 8:
hash = (37 * hash) + NOT_EXPR_FIELD_NUMBER;
hash = (53 * hash) + getNotExpr().hashCode();
break;
case 9:
hash = (37 * hash) + BETWEEN_FIELD_NUMBER;
hash = (53 * hash) + getBetween().hashCode();
break;
case 10:
hash = (37 * hash) + CASE_FIELD_NUMBER;
hash = (53 * hash) + getCase().hashCode();
break;
case 11:
hash = (37 * hash) + CAST_FIELD_NUMBER;
hash = (53 * hash) + getCast().hashCode();
break;
case 12:
hash = (37 * hash) + SORT_FIELD_NUMBER;
hash = (53 * hash) + getSort().hashCode();
break;
case 13:
hash = (37 * hash) + NEGATIVE_FIELD_NUMBER;
hash = (53 * hash) + getNegative().hashCode();
break;
case 14:
hash = (37 * hash) + IN_LIST_FIELD_NUMBER;
hash = (53 * hash) + getInList().hashCode();
break;
case 15:
hash = (37 * hash) + WILDCARD_FIELD_NUMBER;
hash = (53 * hash) + getWildcard().hashCode();
break;
case 16:
hash = (37 * hash) + SCALAR_FUNCTION_FIELD_NUMBER;
hash = (53 * hash) + getScalarFunction().hashCode();
break;
case 17:
hash = (37 * hash) + TRY_CAST_FIELD_NUMBER;
hash = (53 * hash) + getTryCast().hashCode();
break;
case 18:
hash = (37 * hash) + WINDOW_EXPR_FIELD_NUMBER;
hash = (53 * hash) + getWindowExpr().hashCode();
break;
case 19:
hash = (37 * hash) + AGGREGATE_UDF_EXPR_FIELD_NUMBER;
hash = (53 * hash) + getAggregateUdfExpr().hashCode();
break;
case 20:
hash = (37 * hash) + SCALAR_UDF_EXPR_FIELD_NUMBER;
hash = (53 * hash) + getScalarUdfExpr().hashCode();
break;
case 21:
hash = (37 * hash) + GET_INDEXED_FIELD_FIELD_NUMBER;
hash = (53 * hash) + getGetIndexedField().hashCode();
break;
case 22:
hash = (37 * hash) + GROUPING_SET_FIELD_NUMBER;
hash = (53 * hash) + getGroupingSet().hashCode();
break;
case 23:
hash = (37 * hash) + CUBE_FIELD_NUMBER;
hash = (53 * hash) + getCube().hashCode();
break;
case 24:
hash = (37 * hash) + ROLLUP_FIELD_NUMBER;
hash = (53 * hash) + getRollup().hashCode();
break;
case 25:
hash = (37 * hash) + IS_TRUE_FIELD_NUMBER;
hash = (53 * hash) + getIsTrue().hashCode();
break;
case 26:
hash = (37 * hash) + IS_FALSE_FIELD_NUMBER;
hash = (53 * hash) + getIsFalse().hashCode();
break;
case 27:
hash = (37 * hash) + IS_UNKNOWN_FIELD_NUMBER;
hash = (53 * hash) + getIsUnknown().hashCode();
break;
case 28:
hash = (37 * hash) + IS_NOT_TRUE_FIELD_NUMBER;
hash = (53 * hash) + getIsNotTrue().hashCode();
break;
case 29:
hash = (37 * hash) + IS_NOT_FALSE_FIELD_NUMBER;
hash = (53 * hash) + getIsNotFalse().hashCode();
break;
case 30:
hash = (37 * hash) + IS_NOT_UNKNOWN_FIELD_NUMBER;
hash = (53 * hash) + getIsNotUnknown().hashCode();
break;
case 31:
hash = (37 * hash) + LIKE_FIELD_NUMBER;
hash = (53 * hash) + getLike().hashCode();
break;
case 32:
hash = (37 * hash) + ILIKE_FIELD_NUMBER;
hash = (53 * hash) + getIlike().hashCode();
break;
case 33:
hash = (37 * hash) + SIMILAR_TO_FIELD_NUMBER;
hash = (53 * hash) + getSimilarTo().hashCode();
break;
case 34:
hash = (37 * hash) + PLACEHOLDER_FIELD_NUMBER;
hash = (53 * hash) + getPlaceholder().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.LogicalExprNode prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.LogicalExprNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.LogicalExprNode)
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LogicalExprNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LogicalExprNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.class, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.LogicalExprNode.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
bitField1_ = 0;
if (identifierBuilder_ != null) {
identifierBuilder_.clear();
}
if (getAttributeBuilder_ != null) {
getAttributeBuilder_.clear();
}
if (getSubscriptBuilder_ != null) {
getSubscriptBuilder_.clear();
}
if (callBuilder_ != null) {
callBuilder_.clear();
}
if (literalValueBuilder_ != null) {
literalValueBuilder_.clear();
}
if (columnBuilder_ != null) {
columnBuilder_.clear();
}
if (aliasBuilder_ != null) {
aliasBuilder_.clear();
}
if (literalBuilder_ != null) {
literalBuilder_.clear();
}
if (binaryExprBuilder_ != null) {
binaryExprBuilder_.clear();
}
if (aggregateExprBuilder_ != null) {
aggregateExprBuilder_.clear();
}
if (isNullExprBuilder_ != null) {
isNullExprBuilder_.clear();
}
if (isNotNullExprBuilder_ != null) {
isNotNullExprBuilder_.clear();
}
if (notExprBuilder_ != null) {
notExprBuilder_.clear();
}
if (betweenBuilder_ != null) {
betweenBuilder_.clear();
}
if (caseBuilder_ != null) {
caseBuilder_.clear();
}
if (castBuilder_ != null) {
castBuilder_.clear();
}
if (sortBuilder_ != null) {
sortBuilder_.clear();
}
if (negativeBuilder_ != null) {
negativeBuilder_.clear();
}
if (inListBuilder_ != null) {
inListBuilder_.clear();
}
if (wildcardBuilder_ != null) {
wildcardBuilder_.clear();
}
if (scalarFunctionBuilder_ != null) {
scalarFunctionBuilder_.clear();
}
if (tryCastBuilder_ != null) {
tryCastBuilder_.clear();
}
if (windowExprBuilder_ != null) {
windowExprBuilder_.clear();
}
if (aggregateUdfExprBuilder_ != null) {
aggregateUdfExprBuilder_.clear();
}
if (scalarUdfExprBuilder_ != null) {
scalarUdfExprBuilder_.clear();
}
if (getIndexedFieldBuilder_ != null) {
getIndexedFieldBuilder_.clear();
}
if (groupingSetBuilder_ != null) {
groupingSetBuilder_.clear();
}
if (cubeBuilder_ != null) {
cubeBuilder_.clear();
}
if (rollupBuilder_ != null) {
rollupBuilder_.clear();
}
if (isTrueBuilder_ != null) {
isTrueBuilder_.clear();
}
if (isFalseBuilder_ != null) {
isFalseBuilder_.clear();
}
if (isUnknownBuilder_ != null) {
isUnknownBuilder_.clear();
}
if (isNotTrueBuilder_ != null) {
isNotTrueBuilder_.clear();
}
if (isNotFalseBuilder_ != null) {
isNotFalseBuilder_.clear();
}
if (isNotUnknownBuilder_ != null) {
isNotUnknownBuilder_.clear();
}
if (likeBuilder_ != null) {
likeBuilder_.clear();
}
if (ilikeBuilder_ != null) {
ilikeBuilder_.clear();
}
if (similarToBuilder_ != null) {
similarToBuilder_.clear();
}
if (placeholderBuilder_ != null) {
placeholderBuilder_.clear();
}
exprFormCase_ = 0;
exprForm_ = null;
exprTypeCase_ = 0;
exprType_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LogicalExprNode_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode build() {
ai.chalk.protos.chalk.expression.v1.LogicalExprNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode buildPartial() {
ai.chalk.protos.chalk.expression.v1.LogicalExprNode result = new ai.chalk.protos.chalk.expression.v1.LogicalExprNode(this);
if (bitField0_ != 0) { buildPartial0(result); }
if (bitField1_ != 0) { buildPartial1(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.LogicalExprNode result) {
int from_bitField0_ = bitField0_;
}
private void buildPartial1(ai.chalk.protos.chalk.expression.v1.LogicalExprNode result) {
int from_bitField1_ = bitField1_;
}
private void buildPartialOneofs(ai.chalk.protos.chalk.expression.v1.LogicalExprNode result) {
result.exprFormCase_ = exprFormCase_;
result.exprForm_ = this.exprForm_;
if (exprFormCase_ == 35 &&
identifierBuilder_ != null) {
result.exprForm_ = identifierBuilder_.build();
}
if (exprFormCase_ == 36 &&
getAttributeBuilder_ != null) {
result.exprForm_ = getAttributeBuilder_.build();
}
if (exprFormCase_ == 37 &&
getSubscriptBuilder_ != null) {
result.exprForm_ = getSubscriptBuilder_.build();
}
if (exprFormCase_ == 38 &&
callBuilder_ != null) {
result.exprForm_ = callBuilder_.build();
}
if (exprFormCase_ == 39 &&
literalValueBuilder_ != null) {
result.exprForm_ = literalValueBuilder_.build();
}
result.exprTypeCase_ = exprTypeCase_;
result.exprType_ = this.exprType_;
if (exprTypeCase_ == 1 &&
columnBuilder_ != null) {
result.exprType_ = columnBuilder_.build();
}
if (exprTypeCase_ == 2 &&
aliasBuilder_ != null) {
result.exprType_ = aliasBuilder_.build();
}
if (exprTypeCase_ == 3 &&
literalBuilder_ != null) {
result.exprType_ = literalBuilder_.build();
}
if (exprTypeCase_ == 4 &&
binaryExprBuilder_ != null) {
result.exprType_ = binaryExprBuilder_.build();
}
if (exprTypeCase_ == 5 &&
aggregateExprBuilder_ != null) {
result.exprType_ = aggregateExprBuilder_.build();
}
if (exprTypeCase_ == 6 &&
isNullExprBuilder_ != null) {
result.exprType_ = isNullExprBuilder_.build();
}
if (exprTypeCase_ == 7 &&
isNotNullExprBuilder_ != null) {
result.exprType_ = isNotNullExprBuilder_.build();
}
if (exprTypeCase_ == 8 &&
notExprBuilder_ != null) {
result.exprType_ = notExprBuilder_.build();
}
if (exprTypeCase_ == 9 &&
betweenBuilder_ != null) {
result.exprType_ = betweenBuilder_.build();
}
if (exprTypeCase_ == 10 &&
caseBuilder_ != null) {
result.exprType_ = caseBuilder_.build();
}
if (exprTypeCase_ == 11 &&
castBuilder_ != null) {
result.exprType_ = castBuilder_.build();
}
if (exprTypeCase_ == 12 &&
sortBuilder_ != null) {
result.exprType_ = sortBuilder_.build();
}
if (exprTypeCase_ == 13 &&
negativeBuilder_ != null) {
result.exprType_ = negativeBuilder_.build();
}
if (exprTypeCase_ == 14 &&
inListBuilder_ != null) {
result.exprType_ = inListBuilder_.build();
}
if (exprTypeCase_ == 15 &&
wildcardBuilder_ != null) {
result.exprType_ = wildcardBuilder_.build();
}
if (exprTypeCase_ == 16 &&
scalarFunctionBuilder_ != null) {
result.exprType_ = scalarFunctionBuilder_.build();
}
if (exprTypeCase_ == 17 &&
tryCastBuilder_ != null) {
result.exprType_ = tryCastBuilder_.build();
}
if (exprTypeCase_ == 18 &&
windowExprBuilder_ != null) {
result.exprType_ = windowExprBuilder_.build();
}
if (exprTypeCase_ == 19 &&
aggregateUdfExprBuilder_ != null) {
result.exprType_ = aggregateUdfExprBuilder_.build();
}
if (exprTypeCase_ == 20 &&
scalarUdfExprBuilder_ != null) {
result.exprType_ = scalarUdfExprBuilder_.build();
}
if (exprTypeCase_ == 21 &&
getIndexedFieldBuilder_ != null) {
result.exprType_ = getIndexedFieldBuilder_.build();
}
if (exprTypeCase_ == 22 &&
groupingSetBuilder_ != null) {
result.exprType_ = groupingSetBuilder_.build();
}
if (exprTypeCase_ == 23 &&
cubeBuilder_ != null) {
result.exprType_ = cubeBuilder_.build();
}
if (exprTypeCase_ == 24 &&
rollupBuilder_ != null) {
result.exprType_ = rollupBuilder_.build();
}
if (exprTypeCase_ == 25 &&
isTrueBuilder_ != null) {
result.exprType_ = isTrueBuilder_.build();
}
if (exprTypeCase_ == 26 &&
isFalseBuilder_ != null) {
result.exprType_ = isFalseBuilder_.build();
}
if (exprTypeCase_ == 27 &&
isUnknownBuilder_ != null) {
result.exprType_ = isUnknownBuilder_.build();
}
if (exprTypeCase_ == 28 &&
isNotTrueBuilder_ != null) {
result.exprType_ = isNotTrueBuilder_.build();
}
if (exprTypeCase_ == 29 &&
isNotFalseBuilder_ != null) {
result.exprType_ = isNotFalseBuilder_.build();
}
if (exprTypeCase_ == 30 &&
isNotUnknownBuilder_ != null) {
result.exprType_ = isNotUnknownBuilder_.build();
}
if (exprTypeCase_ == 31 &&
likeBuilder_ != null) {
result.exprType_ = likeBuilder_.build();
}
if (exprTypeCase_ == 32 &&
ilikeBuilder_ != null) {
result.exprType_ = ilikeBuilder_.build();
}
if (exprTypeCase_ == 33 &&
similarToBuilder_ != null) {
result.exprType_ = similarToBuilder_.build();
}
if (exprTypeCase_ == 34 &&
placeholderBuilder_ != null) {
result.exprType_ = placeholderBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.LogicalExprNode) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.LogicalExprNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.LogicalExprNode other) {
if (other == ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) return this;
switch (other.getExprFormCase()) {
case IDENTIFIER: {
mergeIdentifier(other.getIdentifier());
break;
}
case GET_ATTRIBUTE: {
mergeGetAttribute(other.getGetAttribute());
break;
}
case GET_SUBSCRIPT: {
mergeGetSubscript(other.getGetSubscript());
break;
}
case CALL: {
mergeCall(other.getCall());
break;
}
case LITERAL_VALUE: {
mergeLiteralValue(other.getLiteralValue());
break;
}
case EXPRFORM_NOT_SET: {
break;
}
}
switch (other.getExprTypeCase()) {
case COLUMN: {
mergeColumn(other.getColumn());
break;
}
case ALIAS: {
mergeAlias(other.getAlias());
break;
}
case LITERAL: {
mergeLiteral(other.getLiteral());
break;
}
case BINARY_EXPR: {
mergeBinaryExpr(other.getBinaryExpr());
break;
}
case AGGREGATE_EXPR: {
mergeAggregateExpr(other.getAggregateExpr());
break;
}
case IS_NULL_EXPR: {
mergeIsNullExpr(other.getIsNullExpr());
break;
}
case IS_NOT_NULL_EXPR: {
mergeIsNotNullExpr(other.getIsNotNullExpr());
break;
}
case NOT_EXPR: {
mergeNotExpr(other.getNotExpr());
break;
}
case BETWEEN: {
mergeBetween(other.getBetween());
break;
}
case CASE: {
mergeCase(other.getCase());
break;
}
case CAST: {
mergeCast(other.getCast());
break;
}
case SORT: {
mergeSort(other.getSort());
break;
}
case NEGATIVE: {
mergeNegative(other.getNegative());
break;
}
case IN_LIST: {
mergeInList(other.getInList());
break;
}
case WILDCARD: {
mergeWildcard(other.getWildcard());
break;
}
case SCALAR_FUNCTION: {
mergeScalarFunction(other.getScalarFunction());
break;
}
case TRY_CAST: {
mergeTryCast(other.getTryCast());
break;
}
case WINDOW_EXPR: {
mergeWindowExpr(other.getWindowExpr());
break;
}
case AGGREGATE_UDF_EXPR: {
mergeAggregateUdfExpr(other.getAggregateUdfExpr());
break;
}
case SCALAR_UDF_EXPR: {
mergeScalarUdfExpr(other.getScalarUdfExpr());
break;
}
case GET_INDEXED_FIELD: {
mergeGetIndexedField(other.getGetIndexedField());
break;
}
case GROUPING_SET: {
mergeGroupingSet(other.getGroupingSet());
break;
}
case CUBE: {
mergeCube(other.getCube());
break;
}
case ROLLUP: {
mergeRollup(other.getRollup());
break;
}
case IS_TRUE: {
mergeIsTrue(other.getIsTrue());
break;
}
case IS_FALSE: {
mergeIsFalse(other.getIsFalse());
break;
}
case IS_UNKNOWN: {
mergeIsUnknown(other.getIsUnknown());
break;
}
case IS_NOT_TRUE: {
mergeIsNotTrue(other.getIsNotTrue());
break;
}
case IS_NOT_FALSE: {
mergeIsNotFalse(other.getIsNotFalse());
break;
}
case IS_NOT_UNKNOWN: {
mergeIsNotUnknown(other.getIsNotUnknown());
break;
}
case LIKE: {
mergeLike(other.getLike());
break;
}
case ILIKE: {
mergeIlike(other.getIlike());
break;
}
case SIMILAR_TO: {
mergeSimilarTo(other.getSimilarTo());
break;
}
case PLACEHOLDER: {
mergePlaceholder(other.getPlaceholder());
break;
}
case EXPRTYPE_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(
getColumnFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getAliasFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getLiteralFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getBinaryExprFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 4;
break;
} // case 34
case 42: {
input.readMessage(
getAggregateExprFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 5;
break;
} // case 42
case 50: {
input.readMessage(
getIsNullExprFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 6;
break;
} // case 50
case 58: {
input.readMessage(
getIsNotNullExprFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 7;
break;
} // case 58
case 66: {
input.readMessage(
getNotExprFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 8;
break;
} // case 66
case 74: {
input.readMessage(
getBetweenFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 9;
break;
} // case 74
case 82: {
input.readMessage(
getCaseFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 10;
break;
} // case 82
case 90: {
input.readMessage(
getCastFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 11;
break;
} // case 90
case 98: {
input.readMessage(
getSortFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 12;
break;
} // case 98
case 106: {
input.readMessage(
getNegativeFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 13;
break;
} // case 106
case 114: {
input.readMessage(
getInListFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 14;
break;
} // case 114
case 122: {
input.readMessage(
getWildcardFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 15;
break;
} // case 122
case 130: {
input.readMessage(
getScalarFunctionFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 16;
break;
} // case 130
case 138: {
input.readMessage(
getTryCastFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 17;
break;
} // case 138
case 146: {
input.readMessage(
getWindowExprFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 18;
break;
} // case 146
case 154: {
input.readMessage(
getAggregateUdfExprFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 19;
break;
} // case 154
case 162: {
input.readMessage(
getScalarUdfExprFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 20;
break;
} // case 162
case 170: {
input.readMessage(
getGetIndexedFieldFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 21;
break;
} // case 170
case 178: {
input.readMessage(
getGroupingSetFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 22;
break;
} // case 178
case 186: {
input.readMessage(
getCubeFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 23;
break;
} // case 186
case 194: {
input.readMessage(
getRollupFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 24;
break;
} // case 194
case 202: {
input.readMessage(
getIsTrueFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 25;
break;
} // case 202
case 210: {
input.readMessage(
getIsFalseFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 26;
break;
} // case 210
case 218: {
input.readMessage(
getIsUnknownFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 27;
break;
} // case 218
case 226: {
input.readMessage(
getIsNotTrueFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 28;
break;
} // case 226
case 234: {
input.readMessage(
getIsNotFalseFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 29;
break;
} // case 234
case 242: {
input.readMessage(
getIsNotUnknownFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 30;
break;
} // case 242
case 250: {
input.readMessage(
getLikeFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 31;
break;
} // case 250
case 258: {
input.readMessage(
getIlikeFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 32;
break;
} // case 258
case 266: {
input.readMessage(
getSimilarToFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 33;
break;
} // case 266
case 274: {
input.readMessage(
getPlaceholderFieldBuilder().getBuilder(),
extensionRegistry);
exprTypeCase_ = 34;
break;
} // case 274
case 282: {
input.readMessage(
getIdentifierFieldBuilder().getBuilder(),
extensionRegistry);
exprFormCase_ = 35;
break;
} // case 282
case 290: {
input.readMessage(
getGetAttributeFieldBuilder().getBuilder(),
extensionRegistry);
exprFormCase_ = 36;
break;
} // case 290
case 298: {
input.readMessage(
getGetSubscriptFieldBuilder().getBuilder(),
extensionRegistry);
exprFormCase_ = 37;
break;
} // case 298
case 306: {
input.readMessage(
getCallFieldBuilder().getBuilder(),
extensionRegistry);
exprFormCase_ = 38;
break;
} // case 306
case 314: {
input.readMessage(
getLiteralValueFieldBuilder().getBuilder(),
extensionRegistry);
exprFormCase_ = 39;
break;
} // case 314
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 exprFormCase_ = 0;
private java.lang.Object exprForm_;
public ExprFormCase
getExprFormCase() {
return ExprFormCase.forNumber(
exprFormCase_);
}
public Builder clearExprForm() {
exprFormCase_ = 0;
exprForm_ = null;
onChanged();
return this;
}
private int exprTypeCase_ = 0;
private java.lang.Object exprType_;
public ExprTypeCase
getExprTypeCase() {
return ExprTypeCase.forNumber(
exprTypeCase_);
}
public Builder clearExprType() {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
return this;
}
private int bitField0_;
private int bitField1_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.Identifier, ai.chalk.protos.chalk.expression.v1.Identifier.Builder, ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder> identifierBuilder_;
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
* @return Whether the identifier field is set.
*/
@java.lang.Override
public boolean hasIdentifier() {
return exprFormCase_ == 35;
}
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
* @return The identifier.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.Identifier getIdentifier() {
if (identifierBuilder_ == null) {
if (exprFormCase_ == 35) {
return (ai.chalk.protos.chalk.expression.v1.Identifier) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance();
} else {
if (exprFormCase_ == 35) {
return identifierBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
*/
public Builder setIdentifier(ai.chalk.protos.chalk.expression.v1.Identifier value) {
if (identifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprForm_ = value;
onChanged();
} else {
identifierBuilder_.setMessage(value);
}
exprFormCase_ = 35;
return this;
}
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
*/
public Builder setIdentifier(
ai.chalk.protos.chalk.expression.v1.Identifier.Builder builderForValue) {
if (identifierBuilder_ == null) {
exprForm_ = builderForValue.build();
onChanged();
} else {
identifierBuilder_.setMessage(builderForValue.build());
}
exprFormCase_ = 35;
return this;
}
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
*/
public Builder mergeIdentifier(ai.chalk.protos.chalk.expression.v1.Identifier value) {
if (identifierBuilder_ == null) {
if (exprFormCase_ == 35 &&
exprForm_ != ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance()) {
exprForm_ = ai.chalk.protos.chalk.expression.v1.Identifier.newBuilder((ai.chalk.protos.chalk.expression.v1.Identifier) exprForm_)
.mergeFrom(value).buildPartial();
} else {
exprForm_ = value;
}
onChanged();
} else {
if (exprFormCase_ == 35) {
identifierBuilder_.mergeFrom(value);
} else {
identifierBuilder_.setMessage(value);
}
}
exprFormCase_ = 35;
return this;
}
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
*/
public Builder clearIdentifier() {
if (identifierBuilder_ == null) {
if (exprFormCase_ == 35) {
exprFormCase_ = 0;
exprForm_ = null;
onChanged();
}
} else {
if (exprFormCase_ == 35) {
exprFormCase_ = 0;
exprForm_ = null;
}
identifierBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.Identifier.Builder getIdentifierBuilder() {
return getIdentifierFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder getIdentifierOrBuilder() {
if ((exprFormCase_ == 35) && (identifierBuilder_ != null)) {
return identifierBuilder_.getMessageOrBuilder();
} else {
if (exprFormCase_ == 35) {
return (ai.chalk.protos.chalk.expression.v1.Identifier) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.Identifier, ai.chalk.protos.chalk.expression.v1.Identifier.Builder, ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder>
getIdentifierFieldBuilder() {
if (identifierBuilder_ == null) {
if (!(exprFormCase_ == 35)) {
exprForm_ = ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance();
}
identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.Identifier, ai.chalk.protos.chalk.expression.v1.Identifier.Builder, ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.Identifier) exprForm_,
getParentForChildren(),
isClean());
exprForm_ = null;
}
exprFormCase_ = 35;
onChanged();
return identifierBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ExprGetAttribute, ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.Builder, ai.chalk.protos.chalk.expression.v1.ExprGetAttributeOrBuilder> getAttributeBuilder_;
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
* @return Whether the getAttribute field is set.
*/
@java.lang.Override
public boolean hasGetAttribute() {
return exprFormCase_ == 36;
}
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
* @return The getAttribute.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprGetAttribute getGetAttribute() {
if (getAttributeBuilder_ == null) {
if (exprFormCase_ == 36) {
return (ai.chalk.protos.chalk.expression.v1.ExprGetAttribute) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.getDefaultInstance();
} else {
if (exprFormCase_ == 36) {
return getAttributeBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
*/
public Builder setGetAttribute(ai.chalk.protos.chalk.expression.v1.ExprGetAttribute value) {
if (getAttributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprForm_ = value;
onChanged();
} else {
getAttributeBuilder_.setMessage(value);
}
exprFormCase_ = 36;
return this;
}
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
*/
public Builder setGetAttribute(
ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.Builder builderForValue) {
if (getAttributeBuilder_ == null) {
exprForm_ = builderForValue.build();
onChanged();
} else {
getAttributeBuilder_.setMessage(builderForValue.build());
}
exprFormCase_ = 36;
return this;
}
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
*/
public Builder mergeGetAttribute(ai.chalk.protos.chalk.expression.v1.ExprGetAttribute value) {
if (getAttributeBuilder_ == null) {
if (exprFormCase_ == 36 &&
exprForm_ != ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.getDefaultInstance()) {
exprForm_ = ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.newBuilder((ai.chalk.protos.chalk.expression.v1.ExprGetAttribute) exprForm_)
.mergeFrom(value).buildPartial();
} else {
exprForm_ = value;
}
onChanged();
} else {
if (exprFormCase_ == 36) {
getAttributeBuilder_.mergeFrom(value);
} else {
getAttributeBuilder_.setMessage(value);
}
}
exprFormCase_ = 36;
return this;
}
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
*/
public Builder clearGetAttribute() {
if (getAttributeBuilder_ == null) {
if (exprFormCase_ == 36) {
exprFormCase_ = 0;
exprForm_ = null;
onChanged();
}
} else {
if (exprFormCase_ == 36) {
exprFormCase_ = 0;
exprForm_ = null;
}
getAttributeBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.Builder getGetAttributeBuilder() {
return getGetAttributeFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprGetAttributeOrBuilder getGetAttributeOrBuilder() {
if ((exprFormCase_ == 36) && (getAttributeBuilder_ != null)) {
return getAttributeBuilder_.getMessageOrBuilder();
} else {
if (exprFormCase_ == 36) {
return (ai.chalk.protos.chalk.expression.v1.ExprGetAttribute) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ExprGetAttribute, ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.Builder, ai.chalk.protos.chalk.expression.v1.ExprGetAttributeOrBuilder>
getGetAttributeFieldBuilder() {
if (getAttributeBuilder_ == null) {
if (!(exprFormCase_ == 36)) {
exprForm_ = ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.getDefaultInstance();
}
getAttributeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ExprGetAttribute, ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.Builder, ai.chalk.protos.chalk.expression.v1.ExprGetAttributeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.ExprGetAttribute) exprForm_,
getParentForChildren(),
isClean());
exprForm_ = null;
}
exprFormCase_ = 36;
onChanged();
return getAttributeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ExprGetSubscript, ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.Builder, ai.chalk.protos.chalk.expression.v1.ExprGetSubscriptOrBuilder> getSubscriptBuilder_;
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
* @return Whether the getSubscript field is set.
*/
@java.lang.Override
public boolean hasGetSubscript() {
return exprFormCase_ == 37;
}
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
* @return The getSubscript.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprGetSubscript getGetSubscript() {
if (getSubscriptBuilder_ == null) {
if (exprFormCase_ == 37) {
return (ai.chalk.protos.chalk.expression.v1.ExprGetSubscript) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.getDefaultInstance();
} else {
if (exprFormCase_ == 37) {
return getSubscriptBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
*/
public Builder setGetSubscript(ai.chalk.protos.chalk.expression.v1.ExprGetSubscript value) {
if (getSubscriptBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprForm_ = value;
onChanged();
} else {
getSubscriptBuilder_.setMessage(value);
}
exprFormCase_ = 37;
return this;
}
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
*/
public Builder setGetSubscript(
ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.Builder builderForValue) {
if (getSubscriptBuilder_ == null) {
exprForm_ = builderForValue.build();
onChanged();
} else {
getSubscriptBuilder_.setMessage(builderForValue.build());
}
exprFormCase_ = 37;
return this;
}
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
*/
public Builder mergeGetSubscript(ai.chalk.protos.chalk.expression.v1.ExprGetSubscript value) {
if (getSubscriptBuilder_ == null) {
if (exprFormCase_ == 37 &&
exprForm_ != ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.getDefaultInstance()) {
exprForm_ = ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.newBuilder((ai.chalk.protos.chalk.expression.v1.ExprGetSubscript) exprForm_)
.mergeFrom(value).buildPartial();
} else {
exprForm_ = value;
}
onChanged();
} else {
if (exprFormCase_ == 37) {
getSubscriptBuilder_.mergeFrom(value);
} else {
getSubscriptBuilder_.setMessage(value);
}
}
exprFormCase_ = 37;
return this;
}
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
*/
public Builder clearGetSubscript() {
if (getSubscriptBuilder_ == null) {
if (exprFormCase_ == 37) {
exprFormCase_ = 0;
exprForm_ = null;
onChanged();
}
} else {
if (exprFormCase_ == 37) {
exprFormCase_ = 0;
exprForm_ = null;
}
getSubscriptBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.Builder getGetSubscriptBuilder() {
return getGetSubscriptFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprGetSubscriptOrBuilder getGetSubscriptOrBuilder() {
if ((exprFormCase_ == 37) && (getSubscriptBuilder_ != null)) {
return getSubscriptBuilder_.getMessageOrBuilder();
} else {
if (exprFormCase_ == 37) {
return (ai.chalk.protos.chalk.expression.v1.ExprGetSubscript) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ExprGetSubscript, ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.Builder, ai.chalk.protos.chalk.expression.v1.ExprGetSubscriptOrBuilder>
getGetSubscriptFieldBuilder() {
if (getSubscriptBuilder_ == null) {
if (!(exprFormCase_ == 37)) {
exprForm_ = ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.getDefaultInstance();
}
getSubscriptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ExprGetSubscript, ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.Builder, ai.chalk.protos.chalk.expression.v1.ExprGetSubscriptOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.ExprGetSubscript) exprForm_,
getParentForChildren(),
isClean());
exprForm_ = null;
}
exprFormCase_ = 37;
onChanged();
return getSubscriptBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ExprCall, ai.chalk.protos.chalk.expression.v1.ExprCall.Builder, ai.chalk.protos.chalk.expression.v1.ExprCallOrBuilder> callBuilder_;
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
* @return Whether the call field is set.
*/
@java.lang.Override
public boolean hasCall() {
return exprFormCase_ == 38;
}
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
* @return The call.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprCall getCall() {
if (callBuilder_ == null) {
if (exprFormCase_ == 38) {
return (ai.chalk.protos.chalk.expression.v1.ExprCall) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprCall.getDefaultInstance();
} else {
if (exprFormCase_ == 38) {
return callBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.ExprCall.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
*/
public Builder setCall(ai.chalk.protos.chalk.expression.v1.ExprCall value) {
if (callBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprForm_ = value;
onChanged();
} else {
callBuilder_.setMessage(value);
}
exprFormCase_ = 38;
return this;
}
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
*/
public Builder setCall(
ai.chalk.protos.chalk.expression.v1.ExprCall.Builder builderForValue) {
if (callBuilder_ == null) {
exprForm_ = builderForValue.build();
onChanged();
} else {
callBuilder_.setMessage(builderForValue.build());
}
exprFormCase_ = 38;
return this;
}
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
*/
public Builder mergeCall(ai.chalk.protos.chalk.expression.v1.ExprCall value) {
if (callBuilder_ == null) {
if (exprFormCase_ == 38 &&
exprForm_ != ai.chalk.protos.chalk.expression.v1.ExprCall.getDefaultInstance()) {
exprForm_ = ai.chalk.protos.chalk.expression.v1.ExprCall.newBuilder((ai.chalk.protos.chalk.expression.v1.ExprCall) exprForm_)
.mergeFrom(value).buildPartial();
} else {
exprForm_ = value;
}
onChanged();
} else {
if (exprFormCase_ == 38) {
callBuilder_.mergeFrom(value);
} else {
callBuilder_.setMessage(value);
}
}
exprFormCase_ = 38;
return this;
}
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
*/
public Builder clearCall() {
if (callBuilder_ == null) {
if (exprFormCase_ == 38) {
exprFormCase_ = 0;
exprForm_ = null;
onChanged();
}
} else {
if (exprFormCase_ == 38) {
exprFormCase_ = 0;
exprForm_ = null;
}
callBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.ExprCall.Builder getCallBuilder() {
return getCallFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprCallOrBuilder getCallOrBuilder() {
if ((exprFormCase_ == 38) && (callBuilder_ != null)) {
return callBuilder_.getMessageOrBuilder();
} else {
if (exprFormCase_ == 38) {
return (ai.chalk.protos.chalk.expression.v1.ExprCall) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprCall.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ExprCall, ai.chalk.protos.chalk.expression.v1.ExprCall.Builder, ai.chalk.protos.chalk.expression.v1.ExprCallOrBuilder>
getCallFieldBuilder() {
if (callBuilder_ == null) {
if (!(exprFormCase_ == 38)) {
exprForm_ = ai.chalk.protos.chalk.expression.v1.ExprCall.getDefaultInstance();
}
callBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ExprCall, ai.chalk.protos.chalk.expression.v1.ExprCall.Builder, ai.chalk.protos.chalk.expression.v1.ExprCallOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.ExprCall) exprForm_,
getParentForChildren(),
isClean());
exprForm_ = null;
}
exprFormCase_ = 38;
onChanged();
return callBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ExprLiteral, ai.chalk.protos.chalk.expression.v1.ExprLiteral.Builder, ai.chalk.protos.chalk.expression.v1.ExprLiteralOrBuilder> literalValueBuilder_;
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
* @return Whether the literalValue field is set.
*/
@java.lang.Override
public boolean hasLiteralValue() {
return exprFormCase_ == 39;
}
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
* @return The literalValue.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprLiteral getLiteralValue() {
if (literalValueBuilder_ == null) {
if (exprFormCase_ == 39) {
return (ai.chalk.protos.chalk.expression.v1.ExprLiteral) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprLiteral.getDefaultInstance();
} else {
if (exprFormCase_ == 39) {
return literalValueBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.ExprLiteral.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
*/
public Builder setLiteralValue(ai.chalk.protos.chalk.expression.v1.ExprLiteral value) {
if (literalValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprForm_ = value;
onChanged();
} else {
literalValueBuilder_.setMessage(value);
}
exprFormCase_ = 39;
return this;
}
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
*/
public Builder setLiteralValue(
ai.chalk.protos.chalk.expression.v1.ExprLiteral.Builder builderForValue) {
if (literalValueBuilder_ == null) {
exprForm_ = builderForValue.build();
onChanged();
} else {
literalValueBuilder_.setMessage(builderForValue.build());
}
exprFormCase_ = 39;
return this;
}
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
*/
public Builder mergeLiteralValue(ai.chalk.protos.chalk.expression.v1.ExprLiteral value) {
if (literalValueBuilder_ == null) {
if (exprFormCase_ == 39 &&
exprForm_ != ai.chalk.protos.chalk.expression.v1.ExprLiteral.getDefaultInstance()) {
exprForm_ = ai.chalk.protos.chalk.expression.v1.ExprLiteral.newBuilder((ai.chalk.protos.chalk.expression.v1.ExprLiteral) exprForm_)
.mergeFrom(value).buildPartial();
} else {
exprForm_ = value;
}
onChanged();
} else {
if (exprFormCase_ == 39) {
literalValueBuilder_.mergeFrom(value);
} else {
literalValueBuilder_.setMessage(value);
}
}
exprFormCase_ = 39;
return this;
}
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
*/
public Builder clearLiteralValue() {
if (literalValueBuilder_ == null) {
if (exprFormCase_ == 39) {
exprFormCase_ = 0;
exprForm_ = null;
onChanged();
}
} else {
if (exprFormCase_ == 39) {
exprFormCase_ = 0;
exprForm_ = null;
}
literalValueBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.ExprLiteral.Builder getLiteralValueBuilder() {
return getLiteralValueFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ExprLiteralOrBuilder getLiteralValueOrBuilder() {
if ((exprFormCase_ == 39) && (literalValueBuilder_ != null)) {
return literalValueBuilder_.getMessageOrBuilder();
} else {
if (exprFormCase_ == 39) {
return (ai.chalk.protos.chalk.expression.v1.ExprLiteral) exprForm_;
}
return ai.chalk.protos.chalk.expression.v1.ExprLiteral.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ExprLiteral, ai.chalk.protos.chalk.expression.v1.ExprLiteral.Builder, ai.chalk.protos.chalk.expression.v1.ExprLiteralOrBuilder>
getLiteralValueFieldBuilder() {
if (literalValueBuilder_ == null) {
if (!(exprFormCase_ == 39)) {
exprForm_ = ai.chalk.protos.chalk.expression.v1.ExprLiteral.getDefaultInstance();
}
literalValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ExprLiteral, ai.chalk.protos.chalk.expression.v1.ExprLiteral.Builder, ai.chalk.protos.chalk.expression.v1.ExprLiteralOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.ExprLiteral) exprForm_,
getParentForChildren(),
isClean());
exprForm_ = null;
}
exprFormCase_ = 39;
onChanged();
return literalValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.Column, ai.chalk.protos.chalk.expression.v1.Column.Builder, ai.chalk.protos.chalk.expression.v1.ColumnOrBuilder> columnBuilder_;
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.column is deprecated.
* See chalk/expression/v1/expression.proto;l=64
* @return Whether the column field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasColumn() {
return exprTypeCase_ == 1;
}
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.column is deprecated.
* See chalk/expression/v1/expression.proto;l=64
* @return The column.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.Column getColumn() {
if (columnBuilder_ == null) {
if (exprTypeCase_ == 1) {
return (ai.chalk.protos.chalk.expression.v1.Column) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.Column.getDefaultInstance();
} else {
if (exprTypeCase_ == 1) {
return columnBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.Column.getDefaultInstance();
}
}
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setColumn(ai.chalk.protos.chalk.expression.v1.Column value) {
if (columnBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
columnBuilder_.setMessage(value);
}
exprTypeCase_ = 1;
return this;
}
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setColumn(
ai.chalk.protos.chalk.expression.v1.Column.Builder builderForValue) {
if (columnBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
columnBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 1;
return this;
}
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeColumn(ai.chalk.protos.chalk.expression.v1.Column value) {
if (columnBuilder_ == null) {
if (exprTypeCase_ == 1 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.Column.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.Column.newBuilder((ai.chalk.protos.chalk.expression.v1.Column) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 1) {
columnBuilder_.mergeFrom(value);
} else {
columnBuilder_.setMessage(value);
}
}
exprTypeCase_ = 1;
return this;
}
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearColumn() {
if (columnBuilder_ == null) {
if (exprTypeCase_ == 1) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 1) {
exprTypeCase_ = 0;
exprType_ = null;
}
columnBuilder_.clear();
}
return this;
}
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.Column.Builder getColumnBuilder() {
return getColumnFieldBuilder().getBuilder();
}
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ColumnOrBuilder getColumnOrBuilder() {
if ((exprTypeCase_ == 1) && (columnBuilder_ != null)) {
return columnBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 1) {
return (ai.chalk.protos.chalk.expression.v1.Column) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.Column.getDefaultInstance();
}
}
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.Column, ai.chalk.protos.chalk.expression.v1.Column.Builder, ai.chalk.protos.chalk.expression.v1.ColumnOrBuilder>
getColumnFieldBuilder() {
if (columnBuilder_ == null) {
if (!(exprTypeCase_ == 1)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.Column.getDefaultInstance();
}
columnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.Column, ai.chalk.protos.chalk.expression.v1.Column.Builder, ai.chalk.protos.chalk.expression.v1.ColumnOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.Column) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 1;
onChanged();
return columnBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.AliasNode, ai.chalk.protos.chalk.expression.v1.AliasNode.Builder, ai.chalk.protos.chalk.expression.v1.AliasNodeOrBuilder> aliasBuilder_;
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.alias is deprecated.
* See chalk/expression/v1/expression.proto;l=67
* @return Whether the alias field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasAlias() {
return exprTypeCase_ == 2;
}
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.alias is deprecated.
* See chalk/expression/v1/expression.proto;l=67
* @return The alias.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AliasNode getAlias() {
if (aliasBuilder_ == null) {
if (exprTypeCase_ == 2) {
return (ai.chalk.protos.chalk.expression.v1.AliasNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.AliasNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 2) {
return aliasBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.AliasNode.getDefaultInstance();
}
}
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setAlias(ai.chalk.protos.chalk.expression.v1.AliasNode value) {
if (aliasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
aliasBuilder_.setMessage(value);
}
exprTypeCase_ = 2;
return this;
}
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setAlias(
ai.chalk.protos.chalk.expression.v1.AliasNode.Builder builderForValue) {
if (aliasBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
aliasBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 2;
return this;
}
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeAlias(ai.chalk.protos.chalk.expression.v1.AliasNode value) {
if (aliasBuilder_ == null) {
if (exprTypeCase_ == 2 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.AliasNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.AliasNode.newBuilder((ai.chalk.protos.chalk.expression.v1.AliasNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 2) {
aliasBuilder_.mergeFrom(value);
} else {
aliasBuilder_.setMessage(value);
}
}
exprTypeCase_ = 2;
return this;
}
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearAlias() {
if (aliasBuilder_ == null) {
if (exprTypeCase_ == 2) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 2) {
exprTypeCase_ = 0;
exprType_ = null;
}
aliasBuilder_.clear();
}
return this;
}
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AliasNode.Builder getAliasBuilder() {
return getAliasFieldBuilder().getBuilder();
}
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AliasNodeOrBuilder getAliasOrBuilder() {
if ((exprTypeCase_ == 2) && (aliasBuilder_ != null)) {
return aliasBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 2) {
return (ai.chalk.protos.chalk.expression.v1.AliasNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.AliasNode.getDefaultInstance();
}
}
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.AliasNode, ai.chalk.protos.chalk.expression.v1.AliasNode.Builder, ai.chalk.protos.chalk.expression.v1.AliasNodeOrBuilder>
getAliasFieldBuilder() {
if (aliasBuilder_ == null) {
if (!(exprTypeCase_ == 2)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.AliasNode.getDefaultInstance();
}
aliasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.AliasNode, ai.chalk.protos.chalk.expression.v1.AliasNode.Builder, ai.chalk.protos.chalk.expression.v1.AliasNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.AliasNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 2;
onChanged();
return aliasBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> literalBuilder_;
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.literal is deprecated.
* See chalk/expression/v1/expression.proto;l=69
* @return Whether the literal field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasLiteral() {
return exprTypeCase_ == 3;
}
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.literal is deprecated.
* See chalk/expression/v1/expression.proto;l=69
* @return The literal.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.arrow.v1.ScalarValue getLiteral() {
if (literalBuilder_ == null) {
if (exprTypeCase_ == 3) {
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) exprType_;
}
return ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance();
} else {
if (exprTypeCase_ == 3) {
return literalBuilder_.getMessage();
}
return ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance();
}
}
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setLiteral(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (literalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
literalBuilder_.setMessage(value);
}
exprTypeCase_ = 3;
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setLiteral(
ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder builderForValue) {
if (literalBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
literalBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 3;
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeLiteral(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (literalBuilder_ == null) {
if (exprTypeCase_ == 3 &&
exprType_ != ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder((ai.chalk.protos.chalk.arrow.v1.ScalarValue) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 3) {
literalBuilder_.mergeFrom(value);
} else {
literalBuilder_.setMessage(value);
}
}
exprTypeCase_ = 3;
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearLiteral() {
if (literalBuilder_ == null) {
if (exprTypeCase_ == 3) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 3) {
exprTypeCase_ = 0;
exprType_ = null;
}
literalBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder getLiteralBuilder() {
return getLiteralFieldBuilder().getBuilder();
}
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getLiteralOrBuilder() {
if ((exprTypeCase_ == 3) && (literalBuilder_ != null)) {
return literalBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 3) {
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) exprType_;
}
return ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance();
}
}
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder>
getLiteralFieldBuilder() {
if (literalBuilder_ == null) {
if (!(exprTypeCase_ == 3)) {
exprType_ = ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance();
}
literalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder>(
(ai.chalk.protos.chalk.arrow.v1.ScalarValue) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 3;
onChanged();
return literalBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.BinaryExprNode, ai.chalk.protos.chalk.expression.v1.BinaryExprNode.Builder, ai.chalk.protos.chalk.expression.v1.BinaryExprNodeOrBuilder> binaryExprBuilder_;
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.binary_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=72
* @return Whether the binaryExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasBinaryExpr() {
return exprTypeCase_ == 4;
}
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.binary_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=72
* @return The binaryExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.BinaryExprNode getBinaryExpr() {
if (binaryExprBuilder_ == null) {
if (exprTypeCase_ == 4) {
return (ai.chalk.protos.chalk.expression.v1.BinaryExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.BinaryExprNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 4) {
return binaryExprBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.BinaryExprNode.getDefaultInstance();
}
}
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setBinaryExpr(ai.chalk.protos.chalk.expression.v1.BinaryExprNode value) {
if (binaryExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
binaryExprBuilder_.setMessage(value);
}
exprTypeCase_ = 4;
return this;
}
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setBinaryExpr(
ai.chalk.protos.chalk.expression.v1.BinaryExprNode.Builder builderForValue) {
if (binaryExprBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
binaryExprBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 4;
return this;
}
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeBinaryExpr(ai.chalk.protos.chalk.expression.v1.BinaryExprNode value) {
if (binaryExprBuilder_ == null) {
if (exprTypeCase_ == 4 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.BinaryExprNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.BinaryExprNode.newBuilder((ai.chalk.protos.chalk.expression.v1.BinaryExprNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 4) {
binaryExprBuilder_.mergeFrom(value);
} else {
binaryExprBuilder_.setMessage(value);
}
}
exprTypeCase_ = 4;
return this;
}
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearBinaryExpr() {
if (binaryExprBuilder_ == null) {
if (exprTypeCase_ == 4) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 4) {
exprTypeCase_ = 0;
exprType_ = null;
}
binaryExprBuilder_.clear();
}
return this;
}
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.BinaryExprNode.Builder getBinaryExprBuilder() {
return getBinaryExprFieldBuilder().getBuilder();
}
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.BinaryExprNodeOrBuilder getBinaryExprOrBuilder() {
if ((exprTypeCase_ == 4) && (binaryExprBuilder_ != null)) {
return binaryExprBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 4) {
return (ai.chalk.protos.chalk.expression.v1.BinaryExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.BinaryExprNode.getDefaultInstance();
}
}
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.BinaryExprNode, ai.chalk.protos.chalk.expression.v1.BinaryExprNode.Builder, ai.chalk.protos.chalk.expression.v1.BinaryExprNodeOrBuilder>
getBinaryExprFieldBuilder() {
if (binaryExprBuilder_ == null) {
if (!(exprTypeCase_ == 4)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.BinaryExprNode.getDefaultInstance();
}
binaryExprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.BinaryExprNode, ai.chalk.protos.chalk.expression.v1.BinaryExprNode.Builder, ai.chalk.protos.chalk.expression.v1.BinaryExprNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.BinaryExprNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 4;
onChanged();
return binaryExprBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.AggregateExprNode, ai.chalk.protos.chalk.expression.v1.AggregateExprNode.Builder, ai.chalk.protos.chalk.expression.v1.AggregateExprNodeOrBuilder> aggregateExprBuilder_;
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.aggregate_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=75
* @return Whether the aggregateExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasAggregateExpr() {
return exprTypeCase_ == 5;
}
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.aggregate_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=75
* @return The aggregateExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AggregateExprNode getAggregateExpr() {
if (aggregateExprBuilder_ == null) {
if (exprTypeCase_ == 5) {
return (ai.chalk.protos.chalk.expression.v1.AggregateExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.AggregateExprNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 5) {
return aggregateExprBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.AggregateExprNode.getDefaultInstance();
}
}
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setAggregateExpr(ai.chalk.protos.chalk.expression.v1.AggregateExprNode value) {
if (aggregateExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
aggregateExprBuilder_.setMessage(value);
}
exprTypeCase_ = 5;
return this;
}
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setAggregateExpr(
ai.chalk.protos.chalk.expression.v1.AggregateExprNode.Builder builderForValue) {
if (aggregateExprBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
aggregateExprBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 5;
return this;
}
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeAggregateExpr(ai.chalk.protos.chalk.expression.v1.AggregateExprNode value) {
if (aggregateExprBuilder_ == null) {
if (exprTypeCase_ == 5 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.AggregateExprNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.AggregateExprNode.newBuilder((ai.chalk.protos.chalk.expression.v1.AggregateExprNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 5) {
aggregateExprBuilder_.mergeFrom(value);
} else {
aggregateExprBuilder_.setMessage(value);
}
}
exprTypeCase_ = 5;
return this;
}
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearAggregateExpr() {
if (aggregateExprBuilder_ == null) {
if (exprTypeCase_ == 5) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 5) {
exprTypeCase_ = 0;
exprType_ = null;
}
aggregateExprBuilder_.clear();
}
return this;
}
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AggregateExprNode.Builder getAggregateExprBuilder() {
return getAggregateExprFieldBuilder().getBuilder();
}
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AggregateExprNodeOrBuilder getAggregateExprOrBuilder() {
if ((exprTypeCase_ == 5) && (aggregateExprBuilder_ != null)) {
return aggregateExprBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 5) {
return (ai.chalk.protos.chalk.expression.v1.AggregateExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.AggregateExprNode.getDefaultInstance();
}
}
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.AggregateExprNode, ai.chalk.protos.chalk.expression.v1.AggregateExprNode.Builder, ai.chalk.protos.chalk.expression.v1.AggregateExprNodeOrBuilder>
getAggregateExprFieldBuilder() {
if (aggregateExprBuilder_ == null) {
if (!(exprTypeCase_ == 5)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.AggregateExprNode.getDefaultInstance();
}
aggregateExprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.AggregateExprNode, ai.chalk.protos.chalk.expression.v1.AggregateExprNode.Builder, ai.chalk.protos.chalk.expression.v1.AggregateExprNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.AggregateExprNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 5;
onChanged();
return aggregateExprBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNull, ai.chalk.protos.chalk.expression.v1.IsNull.Builder, ai.chalk.protos.chalk.expression.v1.IsNullOrBuilder> isNullExprBuilder_;
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_null_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=78
* @return Whether the isNullExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsNullExpr() {
return exprTypeCase_ == 6;
}
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_null_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=78
* @return The isNullExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNull getIsNullExpr() {
if (isNullExprBuilder_ == null) {
if (exprTypeCase_ == 6) {
return (ai.chalk.protos.chalk.expression.v1.IsNull) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNull.getDefaultInstance();
} else {
if (exprTypeCase_ == 6) {
return isNullExprBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.IsNull.getDefaultInstance();
}
}
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsNullExpr(ai.chalk.protos.chalk.expression.v1.IsNull value) {
if (isNullExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
isNullExprBuilder_.setMessage(value);
}
exprTypeCase_ = 6;
return this;
}
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsNullExpr(
ai.chalk.protos.chalk.expression.v1.IsNull.Builder builderForValue) {
if (isNullExprBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
isNullExprBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 6;
return this;
}
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeIsNullExpr(ai.chalk.protos.chalk.expression.v1.IsNull value) {
if (isNullExprBuilder_ == null) {
if (exprTypeCase_ == 6 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.IsNull.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsNull.newBuilder((ai.chalk.protos.chalk.expression.v1.IsNull) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 6) {
isNullExprBuilder_.mergeFrom(value);
} else {
isNullExprBuilder_.setMessage(value);
}
}
exprTypeCase_ = 6;
return this;
}
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearIsNullExpr() {
if (isNullExprBuilder_ == null) {
if (exprTypeCase_ == 6) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 6) {
exprTypeCase_ = 0;
exprType_ = null;
}
isNullExprBuilder_.clear();
}
return this;
}
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNull.Builder getIsNullExprBuilder() {
return getIsNullExprFieldBuilder().getBuilder();
}
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNullOrBuilder getIsNullExprOrBuilder() {
if ((exprTypeCase_ == 6) && (isNullExprBuilder_ != null)) {
return isNullExprBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 6) {
return (ai.chalk.protos.chalk.expression.v1.IsNull) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNull.getDefaultInstance();
}
}
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNull, ai.chalk.protos.chalk.expression.v1.IsNull.Builder, ai.chalk.protos.chalk.expression.v1.IsNullOrBuilder>
getIsNullExprFieldBuilder() {
if (isNullExprBuilder_ == null) {
if (!(exprTypeCase_ == 6)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsNull.getDefaultInstance();
}
isNullExprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNull, ai.chalk.protos.chalk.expression.v1.IsNull.Builder, ai.chalk.protos.chalk.expression.v1.IsNullOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.IsNull) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 6;
onChanged();
return isNullExprBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNotNull, ai.chalk.protos.chalk.expression.v1.IsNotNull.Builder, ai.chalk.protos.chalk.expression.v1.IsNotNullOrBuilder> isNotNullExprBuilder_;
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_null_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=79
* @return Whether the isNotNullExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsNotNullExpr() {
return exprTypeCase_ == 7;
}
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_null_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=79
* @return The isNotNullExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotNull getIsNotNullExpr() {
if (isNotNullExprBuilder_ == null) {
if (exprTypeCase_ == 7) {
return (ai.chalk.protos.chalk.expression.v1.IsNotNull) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotNull.getDefaultInstance();
} else {
if (exprTypeCase_ == 7) {
return isNotNullExprBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.IsNotNull.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsNotNullExpr(ai.chalk.protos.chalk.expression.v1.IsNotNull value) {
if (isNotNullExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
isNotNullExprBuilder_.setMessage(value);
}
exprTypeCase_ = 7;
return this;
}
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsNotNullExpr(
ai.chalk.protos.chalk.expression.v1.IsNotNull.Builder builderForValue) {
if (isNotNullExprBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
isNotNullExprBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 7;
return this;
}
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeIsNotNullExpr(ai.chalk.protos.chalk.expression.v1.IsNotNull value) {
if (isNotNullExprBuilder_ == null) {
if (exprTypeCase_ == 7 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.IsNotNull.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsNotNull.newBuilder((ai.chalk.protos.chalk.expression.v1.IsNotNull) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 7) {
isNotNullExprBuilder_.mergeFrom(value);
} else {
isNotNullExprBuilder_.setMessage(value);
}
}
exprTypeCase_ = 7;
return this;
}
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearIsNotNullExpr() {
if (isNotNullExprBuilder_ == null) {
if (exprTypeCase_ == 7) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 7) {
exprTypeCase_ = 0;
exprType_ = null;
}
isNotNullExprBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotNull.Builder getIsNotNullExprBuilder() {
return getIsNotNullExprFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotNullOrBuilder getIsNotNullExprOrBuilder() {
if ((exprTypeCase_ == 7) && (isNotNullExprBuilder_ != null)) {
return isNotNullExprBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 7) {
return (ai.chalk.protos.chalk.expression.v1.IsNotNull) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotNull.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNotNull, ai.chalk.protos.chalk.expression.v1.IsNotNull.Builder, ai.chalk.protos.chalk.expression.v1.IsNotNullOrBuilder>
getIsNotNullExprFieldBuilder() {
if (isNotNullExprBuilder_ == null) {
if (!(exprTypeCase_ == 7)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsNotNull.getDefaultInstance();
}
isNotNullExprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNotNull, ai.chalk.protos.chalk.expression.v1.IsNotNull.Builder, ai.chalk.protos.chalk.expression.v1.IsNotNullOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.IsNotNull) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 7;
onChanged();
return isNotNullExprBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.Not, ai.chalk.protos.chalk.expression.v1.Not.Builder, ai.chalk.protos.chalk.expression.v1.NotOrBuilder> notExprBuilder_;
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.not_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=80
* @return Whether the notExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasNotExpr() {
return exprTypeCase_ == 8;
}
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.not_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=80
* @return The notExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.Not getNotExpr() {
if (notExprBuilder_ == null) {
if (exprTypeCase_ == 8) {
return (ai.chalk.protos.chalk.expression.v1.Not) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.Not.getDefaultInstance();
} else {
if (exprTypeCase_ == 8) {
return notExprBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.Not.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setNotExpr(ai.chalk.protos.chalk.expression.v1.Not value) {
if (notExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
notExprBuilder_.setMessage(value);
}
exprTypeCase_ = 8;
return this;
}
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setNotExpr(
ai.chalk.protos.chalk.expression.v1.Not.Builder builderForValue) {
if (notExprBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
notExprBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 8;
return this;
}
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeNotExpr(ai.chalk.protos.chalk.expression.v1.Not value) {
if (notExprBuilder_ == null) {
if (exprTypeCase_ == 8 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.Not.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.Not.newBuilder((ai.chalk.protos.chalk.expression.v1.Not) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 8) {
notExprBuilder_.mergeFrom(value);
} else {
notExprBuilder_.setMessage(value);
}
}
exprTypeCase_ = 8;
return this;
}
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearNotExpr() {
if (notExprBuilder_ == null) {
if (exprTypeCase_ == 8) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 8) {
exprTypeCase_ = 0;
exprType_ = null;
}
notExprBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.Not.Builder getNotExprBuilder() {
return getNotExprFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.NotOrBuilder getNotExprOrBuilder() {
if ((exprTypeCase_ == 8) && (notExprBuilder_ != null)) {
return notExprBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 8) {
return (ai.chalk.protos.chalk.expression.v1.Not) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.Not.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.Not, ai.chalk.protos.chalk.expression.v1.Not.Builder, ai.chalk.protos.chalk.expression.v1.NotOrBuilder>
getNotExprFieldBuilder() {
if (notExprBuilder_ == null) {
if (!(exprTypeCase_ == 8)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.Not.getDefaultInstance();
}
notExprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.Not, ai.chalk.protos.chalk.expression.v1.Not.Builder, ai.chalk.protos.chalk.expression.v1.NotOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.Not) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 8;
onChanged();
return notExprBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.BetweenNode, ai.chalk.protos.chalk.expression.v1.BetweenNode.Builder, ai.chalk.protos.chalk.expression.v1.BetweenNodeOrBuilder> betweenBuilder_;
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.between is deprecated.
* See chalk/expression/v1/expression.proto;l=82
* @return Whether the between field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasBetween() {
return exprTypeCase_ == 9;
}
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.between is deprecated.
* See chalk/expression/v1/expression.proto;l=82
* @return The between.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.BetweenNode getBetween() {
if (betweenBuilder_ == null) {
if (exprTypeCase_ == 9) {
return (ai.chalk.protos.chalk.expression.v1.BetweenNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.BetweenNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 9) {
return betweenBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.BetweenNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setBetween(ai.chalk.protos.chalk.expression.v1.BetweenNode value) {
if (betweenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
betweenBuilder_.setMessage(value);
}
exprTypeCase_ = 9;
return this;
}
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setBetween(
ai.chalk.protos.chalk.expression.v1.BetweenNode.Builder builderForValue) {
if (betweenBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
betweenBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 9;
return this;
}
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeBetween(ai.chalk.protos.chalk.expression.v1.BetweenNode value) {
if (betweenBuilder_ == null) {
if (exprTypeCase_ == 9 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.BetweenNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.BetweenNode.newBuilder((ai.chalk.protos.chalk.expression.v1.BetweenNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 9) {
betweenBuilder_.mergeFrom(value);
} else {
betweenBuilder_.setMessage(value);
}
}
exprTypeCase_ = 9;
return this;
}
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearBetween() {
if (betweenBuilder_ == null) {
if (exprTypeCase_ == 9) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 9) {
exprTypeCase_ = 0;
exprType_ = null;
}
betweenBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.BetweenNode.Builder getBetweenBuilder() {
return getBetweenFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.BetweenNodeOrBuilder getBetweenOrBuilder() {
if ((exprTypeCase_ == 9) && (betweenBuilder_ != null)) {
return betweenBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 9) {
return (ai.chalk.protos.chalk.expression.v1.BetweenNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.BetweenNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.BetweenNode, ai.chalk.protos.chalk.expression.v1.BetweenNode.Builder, ai.chalk.protos.chalk.expression.v1.BetweenNodeOrBuilder>
getBetweenFieldBuilder() {
if (betweenBuilder_ == null) {
if (!(exprTypeCase_ == 9)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.BetweenNode.getDefaultInstance();
}
betweenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.BetweenNode, ai.chalk.protos.chalk.expression.v1.BetweenNode.Builder, ai.chalk.protos.chalk.expression.v1.BetweenNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.BetweenNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 9;
onChanged();
return betweenBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.CaseNode, ai.chalk.protos.chalk.expression.v1.CaseNode.Builder, ai.chalk.protos.chalk.expression.v1.CaseNodeOrBuilder> caseBuilder_;
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.case is deprecated.
* See chalk/expression/v1/expression.proto;l=83
* @return Whether the case field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasCase() {
return exprTypeCase_ == 10;
}
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.case is deprecated.
* See chalk/expression/v1/expression.proto;l=83
* @return The case.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CaseNode getCase() {
if (caseBuilder_ == null) {
if (exprTypeCase_ == 10) {
return (ai.chalk.protos.chalk.expression.v1.CaseNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.CaseNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 10) {
return caseBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.CaseNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setCase(ai.chalk.protos.chalk.expression.v1.CaseNode value) {
if (caseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
caseBuilder_.setMessage(value);
}
exprTypeCase_ = 10;
return this;
}
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setCase(
ai.chalk.protos.chalk.expression.v1.CaseNode.Builder builderForValue) {
if (caseBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
caseBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 10;
return this;
}
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeCase(ai.chalk.protos.chalk.expression.v1.CaseNode value) {
if (caseBuilder_ == null) {
if (exprTypeCase_ == 10 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.CaseNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.CaseNode.newBuilder((ai.chalk.protos.chalk.expression.v1.CaseNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 10) {
caseBuilder_.mergeFrom(value);
} else {
caseBuilder_.setMessage(value);
}
}
exprTypeCase_ = 10;
return this;
}
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearCase() {
if (caseBuilder_ == null) {
if (exprTypeCase_ == 10) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 10) {
exprTypeCase_ = 0;
exprType_ = null;
}
caseBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CaseNode.Builder getCaseBuilder() {
return getCaseFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CaseNodeOrBuilder getCaseOrBuilder() {
if ((exprTypeCase_ == 10) && (caseBuilder_ != null)) {
return caseBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 10) {
return (ai.chalk.protos.chalk.expression.v1.CaseNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.CaseNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.CaseNode, ai.chalk.protos.chalk.expression.v1.CaseNode.Builder, ai.chalk.protos.chalk.expression.v1.CaseNodeOrBuilder>
getCaseFieldBuilder() {
if (caseBuilder_ == null) {
if (!(exprTypeCase_ == 10)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.CaseNode.getDefaultInstance();
}
caseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.CaseNode, ai.chalk.protos.chalk.expression.v1.CaseNode.Builder, ai.chalk.protos.chalk.expression.v1.CaseNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.CaseNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 10;
onChanged();
return caseBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.CastNode, ai.chalk.protos.chalk.expression.v1.CastNode.Builder, ai.chalk.protos.chalk.expression.v1.CastNodeOrBuilder> castBuilder_;
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.cast is deprecated.
* See chalk/expression/v1/expression.proto;l=84
* @return Whether the cast field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasCast() {
return exprTypeCase_ == 11;
}
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.cast is deprecated.
* See chalk/expression/v1/expression.proto;l=84
* @return The cast.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CastNode getCast() {
if (castBuilder_ == null) {
if (exprTypeCase_ == 11) {
return (ai.chalk.protos.chalk.expression.v1.CastNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.CastNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 11) {
return castBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.CastNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setCast(ai.chalk.protos.chalk.expression.v1.CastNode value) {
if (castBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
castBuilder_.setMessage(value);
}
exprTypeCase_ = 11;
return this;
}
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setCast(
ai.chalk.protos.chalk.expression.v1.CastNode.Builder builderForValue) {
if (castBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
castBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 11;
return this;
}
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeCast(ai.chalk.protos.chalk.expression.v1.CastNode value) {
if (castBuilder_ == null) {
if (exprTypeCase_ == 11 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.CastNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.CastNode.newBuilder((ai.chalk.protos.chalk.expression.v1.CastNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 11) {
castBuilder_.mergeFrom(value);
} else {
castBuilder_.setMessage(value);
}
}
exprTypeCase_ = 11;
return this;
}
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearCast() {
if (castBuilder_ == null) {
if (exprTypeCase_ == 11) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 11) {
exprTypeCase_ = 0;
exprType_ = null;
}
castBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CastNode.Builder getCastBuilder() {
return getCastFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CastNodeOrBuilder getCastOrBuilder() {
if ((exprTypeCase_ == 11) && (castBuilder_ != null)) {
return castBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 11) {
return (ai.chalk.protos.chalk.expression.v1.CastNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.CastNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.CastNode, ai.chalk.protos.chalk.expression.v1.CastNode.Builder, ai.chalk.protos.chalk.expression.v1.CastNodeOrBuilder>
getCastFieldBuilder() {
if (castBuilder_ == null) {
if (!(exprTypeCase_ == 11)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.CastNode.getDefaultInstance();
}
castBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.CastNode, ai.chalk.protos.chalk.expression.v1.CastNode.Builder, ai.chalk.protos.chalk.expression.v1.CastNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.CastNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 11;
onChanged();
return castBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.SortExprNode, ai.chalk.protos.chalk.expression.v1.SortExprNode.Builder, ai.chalk.protos.chalk.expression.v1.SortExprNodeOrBuilder> sortBuilder_;
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.sort is deprecated.
* See chalk/expression/v1/expression.proto;l=85
* @return Whether the sort field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasSort() {
return exprTypeCase_ == 12;
}
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.sort is deprecated.
* See chalk/expression/v1/expression.proto;l=85
* @return The sort.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.SortExprNode getSort() {
if (sortBuilder_ == null) {
if (exprTypeCase_ == 12) {
return (ai.chalk.protos.chalk.expression.v1.SortExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.SortExprNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 12) {
return sortBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.SortExprNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setSort(ai.chalk.protos.chalk.expression.v1.SortExprNode value) {
if (sortBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
sortBuilder_.setMessage(value);
}
exprTypeCase_ = 12;
return this;
}
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setSort(
ai.chalk.protos.chalk.expression.v1.SortExprNode.Builder builderForValue) {
if (sortBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
sortBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 12;
return this;
}
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeSort(ai.chalk.protos.chalk.expression.v1.SortExprNode value) {
if (sortBuilder_ == null) {
if (exprTypeCase_ == 12 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.SortExprNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.SortExprNode.newBuilder((ai.chalk.protos.chalk.expression.v1.SortExprNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 12) {
sortBuilder_.mergeFrom(value);
} else {
sortBuilder_.setMessage(value);
}
}
exprTypeCase_ = 12;
return this;
}
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearSort() {
if (sortBuilder_ == null) {
if (exprTypeCase_ == 12) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 12) {
exprTypeCase_ = 0;
exprType_ = null;
}
sortBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.SortExprNode.Builder getSortBuilder() {
return getSortFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.SortExprNodeOrBuilder getSortOrBuilder() {
if ((exprTypeCase_ == 12) && (sortBuilder_ != null)) {
return sortBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 12) {
return (ai.chalk.protos.chalk.expression.v1.SortExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.SortExprNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.SortExprNode, ai.chalk.protos.chalk.expression.v1.SortExprNode.Builder, ai.chalk.protos.chalk.expression.v1.SortExprNodeOrBuilder>
getSortFieldBuilder() {
if (sortBuilder_ == null) {
if (!(exprTypeCase_ == 12)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.SortExprNode.getDefaultInstance();
}
sortBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.SortExprNode, ai.chalk.protos.chalk.expression.v1.SortExprNode.Builder, ai.chalk.protos.chalk.expression.v1.SortExprNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.SortExprNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 12;
onChanged();
return sortBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.NegativeNode, ai.chalk.protos.chalk.expression.v1.NegativeNode.Builder, ai.chalk.protos.chalk.expression.v1.NegativeNodeOrBuilder> negativeBuilder_;
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.negative is deprecated.
* See chalk/expression/v1/expression.proto;l=86
* @return Whether the negative field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasNegative() {
return exprTypeCase_ == 13;
}
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.negative is deprecated.
* See chalk/expression/v1/expression.proto;l=86
* @return The negative.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.NegativeNode getNegative() {
if (negativeBuilder_ == null) {
if (exprTypeCase_ == 13) {
return (ai.chalk.protos.chalk.expression.v1.NegativeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.NegativeNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 13) {
return negativeBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.NegativeNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setNegative(ai.chalk.protos.chalk.expression.v1.NegativeNode value) {
if (negativeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
negativeBuilder_.setMessage(value);
}
exprTypeCase_ = 13;
return this;
}
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setNegative(
ai.chalk.protos.chalk.expression.v1.NegativeNode.Builder builderForValue) {
if (negativeBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
negativeBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 13;
return this;
}
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeNegative(ai.chalk.protos.chalk.expression.v1.NegativeNode value) {
if (negativeBuilder_ == null) {
if (exprTypeCase_ == 13 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.NegativeNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.NegativeNode.newBuilder((ai.chalk.protos.chalk.expression.v1.NegativeNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 13) {
negativeBuilder_.mergeFrom(value);
} else {
negativeBuilder_.setMessage(value);
}
}
exprTypeCase_ = 13;
return this;
}
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearNegative() {
if (negativeBuilder_ == null) {
if (exprTypeCase_ == 13) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 13) {
exprTypeCase_ = 0;
exprType_ = null;
}
negativeBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.NegativeNode.Builder getNegativeBuilder() {
return getNegativeFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.NegativeNodeOrBuilder getNegativeOrBuilder() {
if ((exprTypeCase_ == 13) && (negativeBuilder_ != null)) {
return negativeBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 13) {
return (ai.chalk.protos.chalk.expression.v1.NegativeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.NegativeNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.NegativeNode, ai.chalk.protos.chalk.expression.v1.NegativeNode.Builder, ai.chalk.protos.chalk.expression.v1.NegativeNodeOrBuilder>
getNegativeFieldBuilder() {
if (negativeBuilder_ == null) {
if (!(exprTypeCase_ == 13)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.NegativeNode.getDefaultInstance();
}
negativeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.NegativeNode, ai.chalk.protos.chalk.expression.v1.NegativeNode.Builder, ai.chalk.protos.chalk.expression.v1.NegativeNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.NegativeNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 13;
onChanged();
return negativeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.InListNode, ai.chalk.protos.chalk.expression.v1.InListNode.Builder, ai.chalk.protos.chalk.expression.v1.InListNodeOrBuilder> inListBuilder_;
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.in_list is deprecated.
* See chalk/expression/v1/expression.proto;l=87
* @return Whether the inList field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasInList() {
return exprTypeCase_ == 14;
}
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.in_list is deprecated.
* See chalk/expression/v1/expression.proto;l=87
* @return The inList.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.InListNode getInList() {
if (inListBuilder_ == null) {
if (exprTypeCase_ == 14) {
return (ai.chalk.protos.chalk.expression.v1.InListNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.InListNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 14) {
return inListBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.InListNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setInList(ai.chalk.protos.chalk.expression.v1.InListNode value) {
if (inListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
inListBuilder_.setMessage(value);
}
exprTypeCase_ = 14;
return this;
}
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setInList(
ai.chalk.protos.chalk.expression.v1.InListNode.Builder builderForValue) {
if (inListBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
inListBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 14;
return this;
}
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeInList(ai.chalk.protos.chalk.expression.v1.InListNode value) {
if (inListBuilder_ == null) {
if (exprTypeCase_ == 14 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.InListNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.InListNode.newBuilder((ai.chalk.protos.chalk.expression.v1.InListNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 14) {
inListBuilder_.mergeFrom(value);
} else {
inListBuilder_.setMessage(value);
}
}
exprTypeCase_ = 14;
return this;
}
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearInList() {
if (inListBuilder_ == null) {
if (exprTypeCase_ == 14) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 14) {
exprTypeCase_ = 0;
exprType_ = null;
}
inListBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.InListNode.Builder getInListBuilder() {
return getInListFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.InListNodeOrBuilder getInListOrBuilder() {
if ((exprTypeCase_ == 14) && (inListBuilder_ != null)) {
return inListBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 14) {
return (ai.chalk.protos.chalk.expression.v1.InListNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.InListNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.InListNode, ai.chalk.protos.chalk.expression.v1.InListNode.Builder, ai.chalk.protos.chalk.expression.v1.InListNodeOrBuilder>
getInListFieldBuilder() {
if (inListBuilder_ == null) {
if (!(exprTypeCase_ == 14)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.InListNode.getDefaultInstance();
}
inListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.InListNode, ai.chalk.protos.chalk.expression.v1.InListNode.Builder, ai.chalk.protos.chalk.expression.v1.InListNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.InListNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 14;
onChanged();
return inListBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.Wildcard, ai.chalk.protos.chalk.expression.v1.Wildcard.Builder, ai.chalk.protos.chalk.expression.v1.WildcardOrBuilder> wildcardBuilder_;
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.wildcard is deprecated.
* See chalk/expression/v1/expression.proto;l=88
* @return Whether the wildcard field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasWildcard() {
return exprTypeCase_ == 15;
}
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.wildcard is deprecated.
* See chalk/expression/v1/expression.proto;l=88
* @return The wildcard.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.Wildcard getWildcard() {
if (wildcardBuilder_ == null) {
if (exprTypeCase_ == 15) {
return (ai.chalk.protos.chalk.expression.v1.Wildcard) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.Wildcard.getDefaultInstance();
} else {
if (exprTypeCase_ == 15) {
return wildcardBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.Wildcard.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setWildcard(ai.chalk.protos.chalk.expression.v1.Wildcard value) {
if (wildcardBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
wildcardBuilder_.setMessage(value);
}
exprTypeCase_ = 15;
return this;
}
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setWildcard(
ai.chalk.protos.chalk.expression.v1.Wildcard.Builder builderForValue) {
if (wildcardBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
wildcardBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 15;
return this;
}
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeWildcard(ai.chalk.protos.chalk.expression.v1.Wildcard value) {
if (wildcardBuilder_ == null) {
if (exprTypeCase_ == 15 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.Wildcard.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.Wildcard.newBuilder((ai.chalk.protos.chalk.expression.v1.Wildcard) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 15) {
wildcardBuilder_.mergeFrom(value);
} else {
wildcardBuilder_.setMessage(value);
}
}
exprTypeCase_ = 15;
return this;
}
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearWildcard() {
if (wildcardBuilder_ == null) {
if (exprTypeCase_ == 15) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 15) {
exprTypeCase_ = 0;
exprType_ = null;
}
wildcardBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.Wildcard.Builder getWildcardBuilder() {
return getWildcardFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.WildcardOrBuilder getWildcardOrBuilder() {
if ((exprTypeCase_ == 15) && (wildcardBuilder_ != null)) {
return wildcardBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 15) {
return (ai.chalk.protos.chalk.expression.v1.Wildcard) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.Wildcard.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.Wildcard, ai.chalk.protos.chalk.expression.v1.Wildcard.Builder, ai.chalk.protos.chalk.expression.v1.WildcardOrBuilder>
getWildcardFieldBuilder() {
if (wildcardBuilder_ == null) {
if (!(exprTypeCase_ == 15)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.Wildcard.getDefaultInstance();
}
wildcardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.Wildcard, ai.chalk.protos.chalk.expression.v1.Wildcard.Builder, ai.chalk.protos.chalk.expression.v1.WildcardOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.Wildcard) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 15;
onChanged();
return wildcardBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode, ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.Builder, ai.chalk.protos.chalk.expression.v1.ScalarFunctionNodeOrBuilder> scalarFunctionBuilder_;
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.scalar_function is deprecated.
* See chalk/expression/v1/expression.proto;l=89
* @return Whether the scalarFunction field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasScalarFunction() {
return exprTypeCase_ == 16;
}
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.scalar_function is deprecated.
* See chalk/expression/v1/expression.proto;l=89
* @return The scalarFunction.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode getScalarFunction() {
if (scalarFunctionBuilder_ == null) {
if (exprTypeCase_ == 16) {
return (ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 16) {
return scalarFunctionBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setScalarFunction(ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode value) {
if (scalarFunctionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
scalarFunctionBuilder_.setMessage(value);
}
exprTypeCase_ = 16;
return this;
}
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setScalarFunction(
ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.Builder builderForValue) {
if (scalarFunctionBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
scalarFunctionBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 16;
return this;
}
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeScalarFunction(ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode value) {
if (scalarFunctionBuilder_ == null) {
if (exprTypeCase_ == 16 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.newBuilder((ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 16) {
scalarFunctionBuilder_.mergeFrom(value);
} else {
scalarFunctionBuilder_.setMessage(value);
}
}
exprTypeCase_ = 16;
return this;
}
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearScalarFunction() {
if (scalarFunctionBuilder_ == null) {
if (exprTypeCase_ == 16) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 16) {
exprTypeCase_ = 0;
exprType_ = null;
}
scalarFunctionBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.Builder getScalarFunctionBuilder() {
return getScalarFunctionFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ScalarFunctionNodeOrBuilder getScalarFunctionOrBuilder() {
if ((exprTypeCase_ == 16) && (scalarFunctionBuilder_ != null)) {
return scalarFunctionBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 16) {
return (ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode, ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.Builder, ai.chalk.protos.chalk.expression.v1.ScalarFunctionNodeOrBuilder>
getScalarFunctionFieldBuilder() {
if (scalarFunctionBuilder_ == null) {
if (!(exprTypeCase_ == 16)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.getDefaultInstance();
}
scalarFunctionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode, ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.Builder, ai.chalk.protos.chalk.expression.v1.ScalarFunctionNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 16;
onChanged();
return scalarFunctionBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.TryCastNode, ai.chalk.protos.chalk.expression.v1.TryCastNode.Builder, ai.chalk.protos.chalk.expression.v1.TryCastNodeOrBuilder> tryCastBuilder_;
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.try_cast is deprecated.
* See chalk/expression/v1/expression.proto;l=90
* @return Whether the tryCast field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasTryCast() {
return exprTypeCase_ == 17;
}
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.try_cast is deprecated.
* See chalk/expression/v1/expression.proto;l=90
* @return The tryCast.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.TryCastNode getTryCast() {
if (tryCastBuilder_ == null) {
if (exprTypeCase_ == 17) {
return (ai.chalk.protos.chalk.expression.v1.TryCastNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.TryCastNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 17) {
return tryCastBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.TryCastNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setTryCast(ai.chalk.protos.chalk.expression.v1.TryCastNode value) {
if (tryCastBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
tryCastBuilder_.setMessage(value);
}
exprTypeCase_ = 17;
return this;
}
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setTryCast(
ai.chalk.protos.chalk.expression.v1.TryCastNode.Builder builderForValue) {
if (tryCastBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
tryCastBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 17;
return this;
}
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeTryCast(ai.chalk.protos.chalk.expression.v1.TryCastNode value) {
if (tryCastBuilder_ == null) {
if (exprTypeCase_ == 17 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.TryCastNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.TryCastNode.newBuilder((ai.chalk.protos.chalk.expression.v1.TryCastNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 17) {
tryCastBuilder_.mergeFrom(value);
} else {
tryCastBuilder_.setMessage(value);
}
}
exprTypeCase_ = 17;
return this;
}
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearTryCast() {
if (tryCastBuilder_ == null) {
if (exprTypeCase_ == 17) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 17) {
exprTypeCase_ = 0;
exprType_ = null;
}
tryCastBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.TryCastNode.Builder getTryCastBuilder() {
return getTryCastFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.TryCastNodeOrBuilder getTryCastOrBuilder() {
if ((exprTypeCase_ == 17) && (tryCastBuilder_ != null)) {
return tryCastBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 17) {
return (ai.chalk.protos.chalk.expression.v1.TryCastNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.TryCastNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.TryCastNode, ai.chalk.protos.chalk.expression.v1.TryCastNode.Builder, ai.chalk.protos.chalk.expression.v1.TryCastNodeOrBuilder>
getTryCastFieldBuilder() {
if (tryCastBuilder_ == null) {
if (!(exprTypeCase_ == 17)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.TryCastNode.getDefaultInstance();
}
tryCastBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.TryCastNode, ai.chalk.protos.chalk.expression.v1.TryCastNode.Builder, ai.chalk.protos.chalk.expression.v1.TryCastNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.TryCastNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 17;
onChanged();
return tryCastBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.WindowExprNode, ai.chalk.protos.chalk.expression.v1.WindowExprNode.Builder, ai.chalk.protos.chalk.expression.v1.WindowExprNodeOrBuilder> windowExprBuilder_;
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.window_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=93
* @return Whether the windowExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasWindowExpr() {
return exprTypeCase_ == 18;
}
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.window_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=93
* @return The windowExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.WindowExprNode getWindowExpr() {
if (windowExprBuilder_ == null) {
if (exprTypeCase_ == 18) {
return (ai.chalk.protos.chalk.expression.v1.WindowExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.WindowExprNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 18) {
return windowExprBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.WindowExprNode.getDefaultInstance();
}
}
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setWindowExpr(ai.chalk.protos.chalk.expression.v1.WindowExprNode value) {
if (windowExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
windowExprBuilder_.setMessage(value);
}
exprTypeCase_ = 18;
return this;
}
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setWindowExpr(
ai.chalk.protos.chalk.expression.v1.WindowExprNode.Builder builderForValue) {
if (windowExprBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
windowExprBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 18;
return this;
}
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeWindowExpr(ai.chalk.protos.chalk.expression.v1.WindowExprNode value) {
if (windowExprBuilder_ == null) {
if (exprTypeCase_ == 18 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.WindowExprNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.WindowExprNode.newBuilder((ai.chalk.protos.chalk.expression.v1.WindowExprNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 18) {
windowExprBuilder_.mergeFrom(value);
} else {
windowExprBuilder_.setMessage(value);
}
}
exprTypeCase_ = 18;
return this;
}
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearWindowExpr() {
if (windowExprBuilder_ == null) {
if (exprTypeCase_ == 18) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 18) {
exprTypeCase_ = 0;
exprType_ = null;
}
windowExprBuilder_.clear();
}
return this;
}
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.WindowExprNode.Builder getWindowExprBuilder() {
return getWindowExprFieldBuilder().getBuilder();
}
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.WindowExprNodeOrBuilder getWindowExprOrBuilder() {
if ((exprTypeCase_ == 18) && (windowExprBuilder_ != null)) {
return windowExprBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 18) {
return (ai.chalk.protos.chalk.expression.v1.WindowExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.WindowExprNode.getDefaultInstance();
}
}
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.WindowExprNode, ai.chalk.protos.chalk.expression.v1.WindowExprNode.Builder, ai.chalk.protos.chalk.expression.v1.WindowExprNodeOrBuilder>
getWindowExprFieldBuilder() {
if (windowExprBuilder_ == null) {
if (!(exprTypeCase_ == 18)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.WindowExprNode.getDefaultInstance();
}
windowExprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.WindowExprNode, ai.chalk.protos.chalk.expression.v1.WindowExprNode.Builder, ai.chalk.protos.chalk.expression.v1.WindowExprNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.WindowExprNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 18;
onChanged();
return windowExprBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode, ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.Builder, ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNodeOrBuilder> aggregateUdfExprBuilder_;
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.aggregate_udf_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=96
* @return Whether the aggregateUdfExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasAggregateUdfExpr() {
return exprTypeCase_ == 19;
}
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.aggregate_udf_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=96
* @return The aggregateUdfExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode getAggregateUdfExpr() {
if (aggregateUdfExprBuilder_ == null) {
if (exprTypeCase_ == 19) {
return (ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 19) {
return aggregateUdfExprBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.getDefaultInstance();
}
}
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setAggregateUdfExpr(ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode value) {
if (aggregateUdfExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
aggregateUdfExprBuilder_.setMessage(value);
}
exprTypeCase_ = 19;
return this;
}
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setAggregateUdfExpr(
ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.Builder builderForValue) {
if (aggregateUdfExprBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
aggregateUdfExprBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 19;
return this;
}
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeAggregateUdfExpr(ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode value) {
if (aggregateUdfExprBuilder_ == null) {
if (exprTypeCase_ == 19 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.newBuilder((ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 19) {
aggregateUdfExprBuilder_.mergeFrom(value);
} else {
aggregateUdfExprBuilder_.setMessage(value);
}
}
exprTypeCase_ = 19;
return this;
}
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearAggregateUdfExpr() {
if (aggregateUdfExprBuilder_ == null) {
if (exprTypeCase_ == 19) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 19) {
exprTypeCase_ = 0;
exprType_ = null;
}
aggregateUdfExprBuilder_.clear();
}
return this;
}
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.Builder getAggregateUdfExprBuilder() {
return getAggregateUdfExprFieldBuilder().getBuilder();
}
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNodeOrBuilder getAggregateUdfExprOrBuilder() {
if ((exprTypeCase_ == 19) && (aggregateUdfExprBuilder_ != null)) {
return aggregateUdfExprBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 19) {
return (ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.getDefaultInstance();
}
}
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode, ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.Builder, ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNodeOrBuilder>
getAggregateUdfExprFieldBuilder() {
if (aggregateUdfExprBuilder_ == null) {
if (!(exprTypeCase_ == 19)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.getDefaultInstance();
}
aggregateUdfExprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode, ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.Builder, ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 19;
onChanged();
return aggregateUdfExprBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode, ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.Builder, ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNodeOrBuilder> scalarUdfExprBuilder_;
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.scalar_udf_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=99
* @return Whether the scalarUdfExpr field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasScalarUdfExpr() {
return exprTypeCase_ == 20;
}
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.scalar_udf_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=99
* @return The scalarUdfExpr.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode getScalarUdfExpr() {
if (scalarUdfExprBuilder_ == null) {
if (exprTypeCase_ == 20) {
return (ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 20) {
return scalarUdfExprBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.getDefaultInstance();
}
}
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setScalarUdfExpr(ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode value) {
if (scalarUdfExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
scalarUdfExprBuilder_.setMessage(value);
}
exprTypeCase_ = 20;
return this;
}
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setScalarUdfExpr(
ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.Builder builderForValue) {
if (scalarUdfExprBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
scalarUdfExprBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 20;
return this;
}
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeScalarUdfExpr(ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode value) {
if (scalarUdfExprBuilder_ == null) {
if (exprTypeCase_ == 20 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.newBuilder((ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 20) {
scalarUdfExprBuilder_.mergeFrom(value);
} else {
scalarUdfExprBuilder_.setMessage(value);
}
}
exprTypeCase_ = 20;
return this;
}
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearScalarUdfExpr() {
if (scalarUdfExprBuilder_ == null) {
if (exprTypeCase_ == 20) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 20) {
exprTypeCase_ = 0;
exprType_ = null;
}
scalarUdfExprBuilder_.clear();
}
return this;
}
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.Builder getScalarUdfExprBuilder() {
return getScalarUdfExprFieldBuilder().getBuilder();
}
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNodeOrBuilder getScalarUdfExprOrBuilder() {
if ((exprTypeCase_ == 20) && (scalarUdfExprBuilder_ != null)) {
return scalarUdfExprBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 20) {
return (ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.getDefaultInstance();
}
}
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode, ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.Builder, ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNodeOrBuilder>
getScalarUdfExprFieldBuilder() {
if (scalarUdfExprBuilder_ == null) {
if (!(exprTypeCase_ == 20)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.getDefaultInstance();
}
scalarUdfExprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode, ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.Builder, ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 20;
onChanged();
return scalarUdfExprBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.GetIndexedField, ai.chalk.protos.chalk.expression.v1.GetIndexedField.Builder, ai.chalk.protos.chalk.expression.v1.GetIndexedFieldOrBuilder> getIndexedFieldBuilder_;
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.get_indexed_field is deprecated.
* See chalk/expression/v1/expression.proto;l=101
* @return Whether the getIndexedField field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasGetIndexedField() {
return exprTypeCase_ == 21;
}
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.get_indexed_field is deprecated.
* See chalk/expression/v1/expression.proto;l=101
* @return The getIndexedField.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.GetIndexedField getGetIndexedField() {
if (getIndexedFieldBuilder_ == null) {
if (exprTypeCase_ == 21) {
return (ai.chalk.protos.chalk.expression.v1.GetIndexedField) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.GetIndexedField.getDefaultInstance();
} else {
if (exprTypeCase_ == 21) {
return getIndexedFieldBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.GetIndexedField.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setGetIndexedField(ai.chalk.protos.chalk.expression.v1.GetIndexedField value) {
if (getIndexedFieldBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
getIndexedFieldBuilder_.setMessage(value);
}
exprTypeCase_ = 21;
return this;
}
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setGetIndexedField(
ai.chalk.protos.chalk.expression.v1.GetIndexedField.Builder builderForValue) {
if (getIndexedFieldBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
getIndexedFieldBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 21;
return this;
}
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeGetIndexedField(ai.chalk.protos.chalk.expression.v1.GetIndexedField value) {
if (getIndexedFieldBuilder_ == null) {
if (exprTypeCase_ == 21 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.GetIndexedField.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.GetIndexedField.newBuilder((ai.chalk.protos.chalk.expression.v1.GetIndexedField) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 21) {
getIndexedFieldBuilder_.mergeFrom(value);
} else {
getIndexedFieldBuilder_.setMessage(value);
}
}
exprTypeCase_ = 21;
return this;
}
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearGetIndexedField() {
if (getIndexedFieldBuilder_ == null) {
if (exprTypeCase_ == 21) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 21) {
exprTypeCase_ = 0;
exprType_ = null;
}
getIndexedFieldBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.GetIndexedField.Builder getGetIndexedFieldBuilder() {
return getGetIndexedFieldFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.GetIndexedFieldOrBuilder getGetIndexedFieldOrBuilder() {
if ((exprTypeCase_ == 21) && (getIndexedFieldBuilder_ != null)) {
return getIndexedFieldBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 21) {
return (ai.chalk.protos.chalk.expression.v1.GetIndexedField) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.GetIndexedField.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.GetIndexedField, ai.chalk.protos.chalk.expression.v1.GetIndexedField.Builder, ai.chalk.protos.chalk.expression.v1.GetIndexedFieldOrBuilder>
getGetIndexedFieldFieldBuilder() {
if (getIndexedFieldBuilder_ == null) {
if (!(exprTypeCase_ == 21)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.GetIndexedField.getDefaultInstance();
}
getIndexedFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.GetIndexedField, ai.chalk.protos.chalk.expression.v1.GetIndexedField.Builder, ai.chalk.protos.chalk.expression.v1.GetIndexedFieldOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.GetIndexedField) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 21;
onChanged();
return getIndexedFieldBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.GroupingSetNode, ai.chalk.protos.chalk.expression.v1.GroupingSetNode.Builder, ai.chalk.protos.chalk.expression.v1.GroupingSetNodeOrBuilder> groupingSetBuilder_;
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.grouping_set is deprecated.
* See chalk/expression/v1/expression.proto;l=103
* @return Whether the groupingSet field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasGroupingSet() {
return exprTypeCase_ == 22;
}
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.grouping_set is deprecated.
* See chalk/expression/v1/expression.proto;l=103
* @return The groupingSet.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.GroupingSetNode getGroupingSet() {
if (groupingSetBuilder_ == null) {
if (exprTypeCase_ == 22) {
return (ai.chalk.protos.chalk.expression.v1.GroupingSetNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.GroupingSetNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 22) {
return groupingSetBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.GroupingSetNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setGroupingSet(ai.chalk.protos.chalk.expression.v1.GroupingSetNode value) {
if (groupingSetBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
groupingSetBuilder_.setMessage(value);
}
exprTypeCase_ = 22;
return this;
}
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setGroupingSet(
ai.chalk.protos.chalk.expression.v1.GroupingSetNode.Builder builderForValue) {
if (groupingSetBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
groupingSetBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 22;
return this;
}
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeGroupingSet(ai.chalk.protos.chalk.expression.v1.GroupingSetNode value) {
if (groupingSetBuilder_ == null) {
if (exprTypeCase_ == 22 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.GroupingSetNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.GroupingSetNode.newBuilder((ai.chalk.protos.chalk.expression.v1.GroupingSetNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 22) {
groupingSetBuilder_.mergeFrom(value);
} else {
groupingSetBuilder_.setMessage(value);
}
}
exprTypeCase_ = 22;
return this;
}
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearGroupingSet() {
if (groupingSetBuilder_ == null) {
if (exprTypeCase_ == 22) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 22) {
exprTypeCase_ = 0;
exprType_ = null;
}
groupingSetBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.GroupingSetNode.Builder getGroupingSetBuilder() {
return getGroupingSetFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.GroupingSetNodeOrBuilder getGroupingSetOrBuilder() {
if ((exprTypeCase_ == 22) && (groupingSetBuilder_ != null)) {
return groupingSetBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 22) {
return (ai.chalk.protos.chalk.expression.v1.GroupingSetNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.GroupingSetNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.GroupingSetNode, ai.chalk.protos.chalk.expression.v1.GroupingSetNode.Builder, ai.chalk.protos.chalk.expression.v1.GroupingSetNodeOrBuilder>
getGroupingSetFieldBuilder() {
if (groupingSetBuilder_ == null) {
if (!(exprTypeCase_ == 22)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.GroupingSetNode.getDefaultInstance();
}
groupingSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.GroupingSetNode, ai.chalk.protos.chalk.expression.v1.GroupingSetNode.Builder, ai.chalk.protos.chalk.expression.v1.GroupingSetNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.GroupingSetNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 22;
onChanged();
return groupingSetBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.CubeNode, ai.chalk.protos.chalk.expression.v1.CubeNode.Builder, ai.chalk.protos.chalk.expression.v1.CubeNodeOrBuilder> cubeBuilder_;
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.cube is deprecated.
* See chalk/expression/v1/expression.proto;l=105
* @return Whether the cube field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasCube() {
return exprTypeCase_ == 23;
}
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.cube is deprecated.
* See chalk/expression/v1/expression.proto;l=105
* @return The cube.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CubeNode getCube() {
if (cubeBuilder_ == null) {
if (exprTypeCase_ == 23) {
return (ai.chalk.protos.chalk.expression.v1.CubeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.CubeNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 23) {
return cubeBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.CubeNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setCube(ai.chalk.protos.chalk.expression.v1.CubeNode value) {
if (cubeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
cubeBuilder_.setMessage(value);
}
exprTypeCase_ = 23;
return this;
}
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setCube(
ai.chalk.protos.chalk.expression.v1.CubeNode.Builder builderForValue) {
if (cubeBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
cubeBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 23;
return this;
}
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeCube(ai.chalk.protos.chalk.expression.v1.CubeNode value) {
if (cubeBuilder_ == null) {
if (exprTypeCase_ == 23 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.CubeNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.CubeNode.newBuilder((ai.chalk.protos.chalk.expression.v1.CubeNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 23) {
cubeBuilder_.mergeFrom(value);
} else {
cubeBuilder_.setMessage(value);
}
}
exprTypeCase_ = 23;
return this;
}
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearCube() {
if (cubeBuilder_ == null) {
if (exprTypeCase_ == 23) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 23) {
exprTypeCase_ = 0;
exprType_ = null;
}
cubeBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CubeNode.Builder getCubeBuilder() {
return getCubeFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.CubeNodeOrBuilder getCubeOrBuilder() {
if ((exprTypeCase_ == 23) && (cubeBuilder_ != null)) {
return cubeBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 23) {
return (ai.chalk.protos.chalk.expression.v1.CubeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.CubeNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.CubeNode, ai.chalk.protos.chalk.expression.v1.CubeNode.Builder, ai.chalk.protos.chalk.expression.v1.CubeNodeOrBuilder>
getCubeFieldBuilder() {
if (cubeBuilder_ == null) {
if (!(exprTypeCase_ == 23)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.CubeNode.getDefaultInstance();
}
cubeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.CubeNode, ai.chalk.protos.chalk.expression.v1.CubeNode.Builder, ai.chalk.protos.chalk.expression.v1.CubeNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.CubeNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 23;
onChanged();
return cubeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.RollupNode, ai.chalk.protos.chalk.expression.v1.RollupNode.Builder, ai.chalk.protos.chalk.expression.v1.RollupNodeOrBuilder> rollupBuilder_;
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.rollup is deprecated.
* See chalk/expression/v1/expression.proto;l=107
* @return Whether the rollup field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasRollup() {
return exprTypeCase_ == 24;
}
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.rollup is deprecated.
* See chalk/expression/v1/expression.proto;l=107
* @return The rollup.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.RollupNode getRollup() {
if (rollupBuilder_ == null) {
if (exprTypeCase_ == 24) {
return (ai.chalk.protos.chalk.expression.v1.RollupNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.RollupNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 24) {
return rollupBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.RollupNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setRollup(ai.chalk.protos.chalk.expression.v1.RollupNode value) {
if (rollupBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
rollupBuilder_.setMessage(value);
}
exprTypeCase_ = 24;
return this;
}
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setRollup(
ai.chalk.protos.chalk.expression.v1.RollupNode.Builder builderForValue) {
if (rollupBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
rollupBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 24;
return this;
}
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeRollup(ai.chalk.protos.chalk.expression.v1.RollupNode value) {
if (rollupBuilder_ == null) {
if (exprTypeCase_ == 24 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.RollupNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.RollupNode.newBuilder((ai.chalk.protos.chalk.expression.v1.RollupNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 24) {
rollupBuilder_.mergeFrom(value);
} else {
rollupBuilder_.setMessage(value);
}
}
exprTypeCase_ = 24;
return this;
}
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearRollup() {
if (rollupBuilder_ == null) {
if (exprTypeCase_ == 24) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 24) {
exprTypeCase_ = 0;
exprType_ = null;
}
rollupBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.RollupNode.Builder getRollupBuilder() {
return getRollupFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.RollupNodeOrBuilder getRollupOrBuilder() {
if ((exprTypeCase_ == 24) && (rollupBuilder_ != null)) {
return rollupBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 24) {
return (ai.chalk.protos.chalk.expression.v1.RollupNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.RollupNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.RollupNode, ai.chalk.protos.chalk.expression.v1.RollupNode.Builder, ai.chalk.protos.chalk.expression.v1.RollupNodeOrBuilder>
getRollupFieldBuilder() {
if (rollupBuilder_ == null) {
if (!(exprTypeCase_ == 24)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.RollupNode.getDefaultInstance();
}
rollupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.RollupNode, ai.chalk.protos.chalk.expression.v1.RollupNode.Builder, ai.chalk.protos.chalk.expression.v1.RollupNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.RollupNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 24;
onChanged();
return rollupBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsTrue, ai.chalk.protos.chalk.expression.v1.IsTrue.Builder, ai.chalk.protos.chalk.expression.v1.IsTrueOrBuilder> isTrueBuilder_;
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_true is deprecated.
* See chalk/expression/v1/expression.proto;l=109
* @return Whether the isTrue field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsTrue() {
return exprTypeCase_ == 25;
}
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_true is deprecated.
* See chalk/expression/v1/expression.proto;l=109
* @return The isTrue.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsTrue getIsTrue() {
if (isTrueBuilder_ == null) {
if (exprTypeCase_ == 25) {
return (ai.chalk.protos.chalk.expression.v1.IsTrue) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsTrue.getDefaultInstance();
} else {
if (exprTypeCase_ == 25) {
return isTrueBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.IsTrue.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsTrue(ai.chalk.protos.chalk.expression.v1.IsTrue value) {
if (isTrueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
isTrueBuilder_.setMessage(value);
}
exprTypeCase_ = 25;
return this;
}
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsTrue(
ai.chalk.protos.chalk.expression.v1.IsTrue.Builder builderForValue) {
if (isTrueBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
isTrueBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 25;
return this;
}
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeIsTrue(ai.chalk.protos.chalk.expression.v1.IsTrue value) {
if (isTrueBuilder_ == null) {
if (exprTypeCase_ == 25 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.IsTrue.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsTrue.newBuilder((ai.chalk.protos.chalk.expression.v1.IsTrue) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 25) {
isTrueBuilder_.mergeFrom(value);
} else {
isTrueBuilder_.setMessage(value);
}
}
exprTypeCase_ = 25;
return this;
}
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearIsTrue() {
if (isTrueBuilder_ == null) {
if (exprTypeCase_ == 25) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 25) {
exprTypeCase_ = 0;
exprType_ = null;
}
isTrueBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsTrue.Builder getIsTrueBuilder() {
return getIsTrueFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsTrueOrBuilder getIsTrueOrBuilder() {
if ((exprTypeCase_ == 25) && (isTrueBuilder_ != null)) {
return isTrueBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 25) {
return (ai.chalk.protos.chalk.expression.v1.IsTrue) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsTrue.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsTrue, ai.chalk.protos.chalk.expression.v1.IsTrue.Builder, ai.chalk.protos.chalk.expression.v1.IsTrueOrBuilder>
getIsTrueFieldBuilder() {
if (isTrueBuilder_ == null) {
if (!(exprTypeCase_ == 25)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsTrue.getDefaultInstance();
}
isTrueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsTrue, ai.chalk.protos.chalk.expression.v1.IsTrue.Builder, ai.chalk.protos.chalk.expression.v1.IsTrueOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.IsTrue) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 25;
onChanged();
return isTrueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsFalse, ai.chalk.protos.chalk.expression.v1.IsFalse.Builder, ai.chalk.protos.chalk.expression.v1.IsFalseOrBuilder> isFalseBuilder_;
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_false is deprecated.
* See chalk/expression/v1/expression.proto;l=110
* @return Whether the isFalse field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsFalse() {
return exprTypeCase_ == 26;
}
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_false is deprecated.
* See chalk/expression/v1/expression.proto;l=110
* @return The isFalse.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsFalse getIsFalse() {
if (isFalseBuilder_ == null) {
if (exprTypeCase_ == 26) {
return (ai.chalk.protos.chalk.expression.v1.IsFalse) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsFalse.getDefaultInstance();
} else {
if (exprTypeCase_ == 26) {
return isFalseBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.IsFalse.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsFalse(ai.chalk.protos.chalk.expression.v1.IsFalse value) {
if (isFalseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
isFalseBuilder_.setMessage(value);
}
exprTypeCase_ = 26;
return this;
}
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsFalse(
ai.chalk.protos.chalk.expression.v1.IsFalse.Builder builderForValue) {
if (isFalseBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
isFalseBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 26;
return this;
}
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeIsFalse(ai.chalk.protos.chalk.expression.v1.IsFalse value) {
if (isFalseBuilder_ == null) {
if (exprTypeCase_ == 26 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.IsFalse.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsFalse.newBuilder((ai.chalk.protos.chalk.expression.v1.IsFalse) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 26) {
isFalseBuilder_.mergeFrom(value);
} else {
isFalseBuilder_.setMessage(value);
}
}
exprTypeCase_ = 26;
return this;
}
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearIsFalse() {
if (isFalseBuilder_ == null) {
if (exprTypeCase_ == 26) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 26) {
exprTypeCase_ = 0;
exprType_ = null;
}
isFalseBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsFalse.Builder getIsFalseBuilder() {
return getIsFalseFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsFalseOrBuilder getIsFalseOrBuilder() {
if ((exprTypeCase_ == 26) && (isFalseBuilder_ != null)) {
return isFalseBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 26) {
return (ai.chalk.protos.chalk.expression.v1.IsFalse) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsFalse.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsFalse, ai.chalk.protos.chalk.expression.v1.IsFalse.Builder, ai.chalk.protos.chalk.expression.v1.IsFalseOrBuilder>
getIsFalseFieldBuilder() {
if (isFalseBuilder_ == null) {
if (!(exprTypeCase_ == 26)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsFalse.getDefaultInstance();
}
isFalseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsFalse, ai.chalk.protos.chalk.expression.v1.IsFalse.Builder, ai.chalk.protos.chalk.expression.v1.IsFalseOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.IsFalse) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 26;
onChanged();
return isFalseBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsUnknown, ai.chalk.protos.chalk.expression.v1.IsUnknown.Builder, ai.chalk.protos.chalk.expression.v1.IsUnknownOrBuilder> isUnknownBuilder_;
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_unknown is deprecated.
* See chalk/expression/v1/expression.proto;l=111
* @return Whether the isUnknown field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsUnknown() {
return exprTypeCase_ == 27;
}
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_unknown is deprecated.
* See chalk/expression/v1/expression.proto;l=111
* @return The isUnknown.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsUnknown getIsUnknown() {
if (isUnknownBuilder_ == null) {
if (exprTypeCase_ == 27) {
return (ai.chalk.protos.chalk.expression.v1.IsUnknown) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsUnknown.getDefaultInstance();
} else {
if (exprTypeCase_ == 27) {
return isUnknownBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.IsUnknown.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsUnknown(ai.chalk.protos.chalk.expression.v1.IsUnknown value) {
if (isUnknownBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
isUnknownBuilder_.setMessage(value);
}
exprTypeCase_ = 27;
return this;
}
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsUnknown(
ai.chalk.protos.chalk.expression.v1.IsUnknown.Builder builderForValue) {
if (isUnknownBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
isUnknownBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 27;
return this;
}
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeIsUnknown(ai.chalk.protos.chalk.expression.v1.IsUnknown value) {
if (isUnknownBuilder_ == null) {
if (exprTypeCase_ == 27 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.IsUnknown.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsUnknown.newBuilder((ai.chalk.protos.chalk.expression.v1.IsUnknown) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 27) {
isUnknownBuilder_.mergeFrom(value);
} else {
isUnknownBuilder_.setMessage(value);
}
}
exprTypeCase_ = 27;
return this;
}
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearIsUnknown() {
if (isUnknownBuilder_ == null) {
if (exprTypeCase_ == 27) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 27) {
exprTypeCase_ = 0;
exprType_ = null;
}
isUnknownBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsUnknown.Builder getIsUnknownBuilder() {
return getIsUnknownFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsUnknownOrBuilder getIsUnknownOrBuilder() {
if ((exprTypeCase_ == 27) && (isUnknownBuilder_ != null)) {
return isUnknownBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 27) {
return (ai.chalk.protos.chalk.expression.v1.IsUnknown) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsUnknown.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsUnknown, ai.chalk.protos.chalk.expression.v1.IsUnknown.Builder, ai.chalk.protos.chalk.expression.v1.IsUnknownOrBuilder>
getIsUnknownFieldBuilder() {
if (isUnknownBuilder_ == null) {
if (!(exprTypeCase_ == 27)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsUnknown.getDefaultInstance();
}
isUnknownBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsUnknown, ai.chalk.protos.chalk.expression.v1.IsUnknown.Builder, ai.chalk.protos.chalk.expression.v1.IsUnknownOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.IsUnknown) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 27;
onChanged();
return isUnknownBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNotTrue, ai.chalk.protos.chalk.expression.v1.IsNotTrue.Builder, ai.chalk.protos.chalk.expression.v1.IsNotTrueOrBuilder> isNotTrueBuilder_;
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_true is deprecated.
* See chalk/expression/v1/expression.proto;l=112
* @return Whether the isNotTrue field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsNotTrue() {
return exprTypeCase_ == 28;
}
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_true is deprecated.
* See chalk/expression/v1/expression.proto;l=112
* @return The isNotTrue.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotTrue getIsNotTrue() {
if (isNotTrueBuilder_ == null) {
if (exprTypeCase_ == 28) {
return (ai.chalk.protos.chalk.expression.v1.IsNotTrue) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotTrue.getDefaultInstance();
} else {
if (exprTypeCase_ == 28) {
return isNotTrueBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.IsNotTrue.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsNotTrue(ai.chalk.protos.chalk.expression.v1.IsNotTrue value) {
if (isNotTrueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
isNotTrueBuilder_.setMessage(value);
}
exprTypeCase_ = 28;
return this;
}
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsNotTrue(
ai.chalk.protos.chalk.expression.v1.IsNotTrue.Builder builderForValue) {
if (isNotTrueBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
isNotTrueBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 28;
return this;
}
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeIsNotTrue(ai.chalk.protos.chalk.expression.v1.IsNotTrue value) {
if (isNotTrueBuilder_ == null) {
if (exprTypeCase_ == 28 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.IsNotTrue.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsNotTrue.newBuilder((ai.chalk.protos.chalk.expression.v1.IsNotTrue) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 28) {
isNotTrueBuilder_.mergeFrom(value);
} else {
isNotTrueBuilder_.setMessage(value);
}
}
exprTypeCase_ = 28;
return this;
}
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearIsNotTrue() {
if (isNotTrueBuilder_ == null) {
if (exprTypeCase_ == 28) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 28) {
exprTypeCase_ = 0;
exprType_ = null;
}
isNotTrueBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotTrue.Builder getIsNotTrueBuilder() {
return getIsNotTrueFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotTrueOrBuilder getIsNotTrueOrBuilder() {
if ((exprTypeCase_ == 28) && (isNotTrueBuilder_ != null)) {
return isNotTrueBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 28) {
return (ai.chalk.protos.chalk.expression.v1.IsNotTrue) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotTrue.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNotTrue, ai.chalk.protos.chalk.expression.v1.IsNotTrue.Builder, ai.chalk.protos.chalk.expression.v1.IsNotTrueOrBuilder>
getIsNotTrueFieldBuilder() {
if (isNotTrueBuilder_ == null) {
if (!(exprTypeCase_ == 28)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsNotTrue.getDefaultInstance();
}
isNotTrueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNotTrue, ai.chalk.protos.chalk.expression.v1.IsNotTrue.Builder, ai.chalk.protos.chalk.expression.v1.IsNotTrueOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.IsNotTrue) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 28;
onChanged();
return isNotTrueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNotFalse, ai.chalk.protos.chalk.expression.v1.IsNotFalse.Builder, ai.chalk.protos.chalk.expression.v1.IsNotFalseOrBuilder> isNotFalseBuilder_;
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_false is deprecated.
* See chalk/expression/v1/expression.proto;l=113
* @return Whether the isNotFalse field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsNotFalse() {
return exprTypeCase_ == 29;
}
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_false is deprecated.
* See chalk/expression/v1/expression.proto;l=113
* @return The isNotFalse.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotFalse getIsNotFalse() {
if (isNotFalseBuilder_ == null) {
if (exprTypeCase_ == 29) {
return (ai.chalk.protos.chalk.expression.v1.IsNotFalse) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotFalse.getDefaultInstance();
} else {
if (exprTypeCase_ == 29) {
return isNotFalseBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.IsNotFalse.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsNotFalse(ai.chalk.protos.chalk.expression.v1.IsNotFalse value) {
if (isNotFalseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
isNotFalseBuilder_.setMessage(value);
}
exprTypeCase_ = 29;
return this;
}
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsNotFalse(
ai.chalk.protos.chalk.expression.v1.IsNotFalse.Builder builderForValue) {
if (isNotFalseBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
isNotFalseBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 29;
return this;
}
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeIsNotFalse(ai.chalk.protos.chalk.expression.v1.IsNotFalse value) {
if (isNotFalseBuilder_ == null) {
if (exprTypeCase_ == 29 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.IsNotFalse.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsNotFalse.newBuilder((ai.chalk.protos.chalk.expression.v1.IsNotFalse) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 29) {
isNotFalseBuilder_.mergeFrom(value);
} else {
isNotFalseBuilder_.setMessage(value);
}
}
exprTypeCase_ = 29;
return this;
}
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearIsNotFalse() {
if (isNotFalseBuilder_ == null) {
if (exprTypeCase_ == 29) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 29) {
exprTypeCase_ = 0;
exprType_ = null;
}
isNotFalseBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotFalse.Builder getIsNotFalseBuilder() {
return getIsNotFalseFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotFalseOrBuilder getIsNotFalseOrBuilder() {
if ((exprTypeCase_ == 29) && (isNotFalseBuilder_ != null)) {
return isNotFalseBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 29) {
return (ai.chalk.protos.chalk.expression.v1.IsNotFalse) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotFalse.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNotFalse, ai.chalk.protos.chalk.expression.v1.IsNotFalse.Builder, ai.chalk.protos.chalk.expression.v1.IsNotFalseOrBuilder>
getIsNotFalseFieldBuilder() {
if (isNotFalseBuilder_ == null) {
if (!(exprTypeCase_ == 29)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsNotFalse.getDefaultInstance();
}
isNotFalseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNotFalse, ai.chalk.protos.chalk.expression.v1.IsNotFalse.Builder, ai.chalk.protos.chalk.expression.v1.IsNotFalseOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.IsNotFalse) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 29;
onChanged();
return isNotFalseBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNotUnknown, ai.chalk.protos.chalk.expression.v1.IsNotUnknown.Builder, ai.chalk.protos.chalk.expression.v1.IsNotUnknownOrBuilder> isNotUnknownBuilder_;
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_unknown is deprecated.
* See chalk/expression/v1/expression.proto;l=114
* @return Whether the isNotUnknown field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIsNotUnknown() {
return exprTypeCase_ == 30;
}
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_unknown is deprecated.
* See chalk/expression/v1/expression.proto;l=114
* @return The isNotUnknown.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotUnknown getIsNotUnknown() {
if (isNotUnknownBuilder_ == null) {
if (exprTypeCase_ == 30) {
return (ai.chalk.protos.chalk.expression.v1.IsNotUnknown) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotUnknown.getDefaultInstance();
} else {
if (exprTypeCase_ == 30) {
return isNotUnknownBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.IsNotUnknown.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsNotUnknown(ai.chalk.protos.chalk.expression.v1.IsNotUnknown value) {
if (isNotUnknownBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
isNotUnknownBuilder_.setMessage(value);
}
exprTypeCase_ = 30;
return this;
}
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIsNotUnknown(
ai.chalk.protos.chalk.expression.v1.IsNotUnknown.Builder builderForValue) {
if (isNotUnknownBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
isNotUnknownBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 30;
return this;
}
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeIsNotUnknown(ai.chalk.protos.chalk.expression.v1.IsNotUnknown value) {
if (isNotUnknownBuilder_ == null) {
if (exprTypeCase_ == 30 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.IsNotUnknown.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsNotUnknown.newBuilder((ai.chalk.protos.chalk.expression.v1.IsNotUnknown) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 30) {
isNotUnknownBuilder_.mergeFrom(value);
} else {
isNotUnknownBuilder_.setMessage(value);
}
}
exprTypeCase_ = 30;
return this;
}
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearIsNotUnknown() {
if (isNotUnknownBuilder_ == null) {
if (exprTypeCase_ == 30) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 30) {
exprTypeCase_ = 0;
exprType_ = null;
}
isNotUnknownBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotUnknown.Builder getIsNotUnknownBuilder() {
return getIsNotUnknownFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.IsNotUnknownOrBuilder getIsNotUnknownOrBuilder() {
if ((exprTypeCase_ == 30) && (isNotUnknownBuilder_ != null)) {
return isNotUnknownBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 30) {
return (ai.chalk.protos.chalk.expression.v1.IsNotUnknown) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.IsNotUnknown.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNotUnknown, ai.chalk.protos.chalk.expression.v1.IsNotUnknown.Builder, ai.chalk.protos.chalk.expression.v1.IsNotUnknownOrBuilder>
getIsNotUnknownFieldBuilder() {
if (isNotUnknownBuilder_ == null) {
if (!(exprTypeCase_ == 30)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.IsNotUnknown.getDefaultInstance();
}
isNotUnknownBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.IsNotUnknown, ai.chalk.protos.chalk.expression.v1.IsNotUnknown.Builder, ai.chalk.protos.chalk.expression.v1.IsNotUnknownOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.IsNotUnknown) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 30;
onChanged();
return isNotUnknownBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LikeNode, ai.chalk.protos.chalk.expression.v1.LikeNode.Builder, ai.chalk.protos.chalk.expression.v1.LikeNodeOrBuilder> likeBuilder_;
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.like is deprecated.
* See chalk/expression/v1/expression.proto;l=115
* @return Whether the like field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasLike() {
return exprTypeCase_ == 31;
}
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.like is deprecated.
* See chalk/expression/v1/expression.proto;l=115
* @return The like.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.LikeNode getLike() {
if (likeBuilder_ == null) {
if (exprTypeCase_ == 31) {
return (ai.chalk.protos.chalk.expression.v1.LikeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.LikeNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 31) {
return likeBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.LikeNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setLike(ai.chalk.protos.chalk.expression.v1.LikeNode value) {
if (likeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
likeBuilder_.setMessage(value);
}
exprTypeCase_ = 31;
return this;
}
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setLike(
ai.chalk.protos.chalk.expression.v1.LikeNode.Builder builderForValue) {
if (likeBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
likeBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 31;
return this;
}
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeLike(ai.chalk.protos.chalk.expression.v1.LikeNode value) {
if (likeBuilder_ == null) {
if (exprTypeCase_ == 31 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.LikeNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.LikeNode.newBuilder((ai.chalk.protos.chalk.expression.v1.LikeNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 31) {
likeBuilder_.mergeFrom(value);
} else {
likeBuilder_.setMessage(value);
}
}
exprTypeCase_ = 31;
return this;
}
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearLike() {
if (likeBuilder_ == null) {
if (exprTypeCase_ == 31) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 31) {
exprTypeCase_ = 0;
exprType_ = null;
}
likeBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.LikeNode.Builder getLikeBuilder() {
return getLikeFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.LikeNodeOrBuilder getLikeOrBuilder() {
if ((exprTypeCase_ == 31) && (likeBuilder_ != null)) {
return likeBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 31) {
return (ai.chalk.protos.chalk.expression.v1.LikeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.LikeNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LikeNode, ai.chalk.protos.chalk.expression.v1.LikeNode.Builder, ai.chalk.protos.chalk.expression.v1.LikeNodeOrBuilder>
getLikeFieldBuilder() {
if (likeBuilder_ == null) {
if (!(exprTypeCase_ == 31)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.LikeNode.getDefaultInstance();
}
likeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LikeNode, ai.chalk.protos.chalk.expression.v1.LikeNode.Builder, ai.chalk.protos.chalk.expression.v1.LikeNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.LikeNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 31;
onChanged();
return likeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ILikeNode, ai.chalk.protos.chalk.expression.v1.ILikeNode.Builder, ai.chalk.protos.chalk.expression.v1.ILikeNodeOrBuilder> ilikeBuilder_;
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.ilike is deprecated.
* See chalk/expression/v1/expression.proto;l=116
* @return Whether the ilike field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasIlike() {
return exprTypeCase_ == 32;
}
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.ilike is deprecated.
* See chalk/expression/v1/expression.proto;l=116
* @return The ilike.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ILikeNode getIlike() {
if (ilikeBuilder_ == null) {
if (exprTypeCase_ == 32) {
return (ai.chalk.protos.chalk.expression.v1.ILikeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.ILikeNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 32) {
return ilikeBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.ILikeNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIlike(ai.chalk.protos.chalk.expression.v1.ILikeNode value) {
if (ilikeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
ilikeBuilder_.setMessage(value);
}
exprTypeCase_ = 32;
return this;
}
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setIlike(
ai.chalk.protos.chalk.expression.v1.ILikeNode.Builder builderForValue) {
if (ilikeBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
ilikeBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 32;
return this;
}
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeIlike(ai.chalk.protos.chalk.expression.v1.ILikeNode value) {
if (ilikeBuilder_ == null) {
if (exprTypeCase_ == 32 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.ILikeNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.ILikeNode.newBuilder((ai.chalk.protos.chalk.expression.v1.ILikeNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 32) {
ilikeBuilder_.mergeFrom(value);
} else {
ilikeBuilder_.setMessage(value);
}
}
exprTypeCase_ = 32;
return this;
}
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearIlike() {
if (ilikeBuilder_ == null) {
if (exprTypeCase_ == 32) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 32) {
exprTypeCase_ = 0;
exprType_ = null;
}
ilikeBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ILikeNode.Builder getIlikeBuilder() {
return getIlikeFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.ILikeNodeOrBuilder getIlikeOrBuilder() {
if ((exprTypeCase_ == 32) && (ilikeBuilder_ != null)) {
return ilikeBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 32) {
return (ai.chalk.protos.chalk.expression.v1.ILikeNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.ILikeNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ILikeNode, ai.chalk.protos.chalk.expression.v1.ILikeNode.Builder, ai.chalk.protos.chalk.expression.v1.ILikeNodeOrBuilder>
getIlikeFieldBuilder() {
if (ilikeBuilder_ == null) {
if (!(exprTypeCase_ == 32)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.ILikeNode.getDefaultInstance();
}
ilikeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.ILikeNode, ai.chalk.protos.chalk.expression.v1.ILikeNode.Builder, ai.chalk.protos.chalk.expression.v1.ILikeNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.ILikeNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 32;
onChanged();
return ilikeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.SimilarToNode, ai.chalk.protos.chalk.expression.v1.SimilarToNode.Builder, ai.chalk.protos.chalk.expression.v1.SimilarToNodeOrBuilder> similarToBuilder_;
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.similar_to is deprecated.
* See chalk/expression/v1/expression.proto;l=117
* @return Whether the similarTo field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasSimilarTo() {
return exprTypeCase_ == 33;
}
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.similar_to is deprecated.
* See chalk/expression/v1/expression.proto;l=117
* @return The similarTo.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.SimilarToNode getSimilarTo() {
if (similarToBuilder_ == null) {
if (exprTypeCase_ == 33) {
return (ai.chalk.protos.chalk.expression.v1.SimilarToNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.SimilarToNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 33) {
return similarToBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.SimilarToNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setSimilarTo(ai.chalk.protos.chalk.expression.v1.SimilarToNode value) {
if (similarToBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
similarToBuilder_.setMessage(value);
}
exprTypeCase_ = 33;
return this;
}
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setSimilarTo(
ai.chalk.protos.chalk.expression.v1.SimilarToNode.Builder builderForValue) {
if (similarToBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
similarToBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 33;
return this;
}
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergeSimilarTo(ai.chalk.protos.chalk.expression.v1.SimilarToNode value) {
if (similarToBuilder_ == null) {
if (exprTypeCase_ == 33 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.SimilarToNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.SimilarToNode.newBuilder((ai.chalk.protos.chalk.expression.v1.SimilarToNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 33) {
similarToBuilder_.mergeFrom(value);
} else {
similarToBuilder_.setMessage(value);
}
}
exprTypeCase_ = 33;
return this;
}
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearSimilarTo() {
if (similarToBuilder_ == null) {
if (exprTypeCase_ == 33) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 33) {
exprTypeCase_ = 0;
exprType_ = null;
}
similarToBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.SimilarToNode.Builder getSimilarToBuilder() {
return getSimilarToFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.SimilarToNodeOrBuilder getSimilarToOrBuilder() {
if ((exprTypeCase_ == 33) && (similarToBuilder_ != null)) {
return similarToBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 33) {
return (ai.chalk.protos.chalk.expression.v1.SimilarToNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.SimilarToNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.SimilarToNode, ai.chalk.protos.chalk.expression.v1.SimilarToNode.Builder, ai.chalk.protos.chalk.expression.v1.SimilarToNodeOrBuilder>
getSimilarToFieldBuilder() {
if (similarToBuilder_ == null) {
if (!(exprTypeCase_ == 33)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.SimilarToNode.getDefaultInstance();
}
similarToBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.SimilarToNode, ai.chalk.protos.chalk.expression.v1.SimilarToNode.Builder, ai.chalk.protos.chalk.expression.v1.SimilarToNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.SimilarToNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 33;
onChanged();
return similarToBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.PlaceholderNode, ai.chalk.protos.chalk.expression.v1.PlaceholderNode.Builder, ai.chalk.protos.chalk.expression.v1.PlaceholderNodeOrBuilder> placeholderBuilder_;
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.placeholder is deprecated.
* See chalk/expression/v1/expression.proto;l=119
* @return Whether the placeholder field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasPlaceholder() {
return exprTypeCase_ == 34;
}
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.placeholder is deprecated.
* See chalk/expression/v1/expression.proto;l=119
* @return The placeholder.
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.PlaceholderNode getPlaceholder() {
if (placeholderBuilder_ == null) {
if (exprTypeCase_ == 34) {
return (ai.chalk.protos.chalk.expression.v1.PlaceholderNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.PlaceholderNode.getDefaultInstance();
} else {
if (exprTypeCase_ == 34) {
return placeholderBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.PlaceholderNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setPlaceholder(ai.chalk.protos.chalk.expression.v1.PlaceholderNode value) {
if (placeholderBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exprType_ = value;
onChanged();
} else {
placeholderBuilder_.setMessage(value);
}
exprTypeCase_ = 34;
return this;
}
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setPlaceholder(
ai.chalk.protos.chalk.expression.v1.PlaceholderNode.Builder builderForValue) {
if (placeholderBuilder_ == null) {
exprType_ = builderForValue.build();
onChanged();
} else {
placeholderBuilder_.setMessage(builderForValue.build());
}
exprTypeCase_ = 34;
return this;
}
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder mergePlaceholder(ai.chalk.protos.chalk.expression.v1.PlaceholderNode value) {
if (placeholderBuilder_ == null) {
if (exprTypeCase_ == 34 &&
exprType_ != ai.chalk.protos.chalk.expression.v1.PlaceholderNode.getDefaultInstance()) {
exprType_ = ai.chalk.protos.chalk.expression.v1.PlaceholderNode.newBuilder((ai.chalk.protos.chalk.expression.v1.PlaceholderNode) exprType_)
.mergeFrom(value).buildPartial();
} else {
exprType_ = value;
}
onChanged();
} else {
if (exprTypeCase_ == 34) {
placeholderBuilder_.mergeFrom(value);
} else {
placeholderBuilder_.setMessage(value);
}
}
exprTypeCase_ = 34;
return this;
}
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
*/
@java.lang.Deprecated public Builder clearPlaceholder() {
if (placeholderBuilder_ == null) {
if (exprTypeCase_ == 34) {
exprTypeCase_ = 0;
exprType_ = null;
onChanged();
}
} else {
if (exprTypeCase_ == 34) {
exprTypeCase_ = 0;
exprType_ = null;
}
placeholderBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
*/
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.PlaceholderNode.Builder getPlaceholderBuilder() {
return getPlaceholderFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
*/
@java.lang.Override
@java.lang.Deprecated public ai.chalk.protos.chalk.expression.v1.PlaceholderNodeOrBuilder getPlaceholderOrBuilder() {
if ((exprTypeCase_ == 34) && (placeholderBuilder_ != null)) {
return placeholderBuilder_.getMessageOrBuilder();
} else {
if (exprTypeCase_ == 34) {
return (ai.chalk.protos.chalk.expression.v1.PlaceholderNode) exprType_;
}
return ai.chalk.protos.chalk.expression.v1.PlaceholderNode.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.PlaceholderNode, ai.chalk.protos.chalk.expression.v1.PlaceholderNode.Builder, ai.chalk.protos.chalk.expression.v1.PlaceholderNodeOrBuilder>
getPlaceholderFieldBuilder() {
if (placeholderBuilder_ == null) {
if (!(exprTypeCase_ == 34)) {
exprType_ = ai.chalk.protos.chalk.expression.v1.PlaceholderNode.getDefaultInstance();
}
placeholderBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.PlaceholderNode, ai.chalk.protos.chalk.expression.v1.PlaceholderNode.Builder, ai.chalk.protos.chalk.expression.v1.PlaceholderNodeOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.PlaceholderNode) exprType_,
getParentForChildren(),
isClean());
exprType_ = null;
}
exprTypeCase_ = 34;
onChanged();
return placeholderBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.LogicalExprNode)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.LogicalExprNode)
private static final ai.chalk.protos.chalk.expression.v1.LogicalExprNode DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.LogicalExprNode();
}
public static ai.chalk.protos.chalk.expression.v1.LogicalExprNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<LogicalExprNode>
PARSER = new com.google.protobuf.AbstractParser<LogicalExprNode>() {
@java.lang.Override
public LogicalExprNode 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<LogicalExprNode> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LogicalExprNode> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/LogicalExprNodeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface LogicalExprNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.LogicalExprNode)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
* @return Whether the identifier field is set.
*/
boolean hasIdentifier();
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
* @return The identifier.
*/
ai.chalk.protos.chalk.expression.v1.Identifier getIdentifier();
/**
* <code>.chalk.expression.v1.Identifier identifier = 35 [json_name = "identifier"];</code>
*/
ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder getIdentifierOrBuilder();
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
* @return Whether the getAttribute field is set.
*/
boolean hasGetAttribute();
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
* @return The getAttribute.
*/
ai.chalk.protos.chalk.expression.v1.ExprGetAttribute getGetAttribute();
/**
* <code>.chalk.expression.v1.ExprGetAttribute get_attribute = 36 [json_name = "getAttribute"];</code>
*/
ai.chalk.protos.chalk.expression.v1.ExprGetAttributeOrBuilder getGetAttributeOrBuilder();
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
* @return Whether the getSubscript field is set.
*/
boolean hasGetSubscript();
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
* @return The getSubscript.
*/
ai.chalk.protos.chalk.expression.v1.ExprGetSubscript getGetSubscript();
/**
* <code>.chalk.expression.v1.ExprGetSubscript get_subscript = 37 [json_name = "getSubscript"];</code>
*/
ai.chalk.protos.chalk.expression.v1.ExprGetSubscriptOrBuilder getGetSubscriptOrBuilder();
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
* @return Whether the call field is set.
*/
boolean hasCall();
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
* @return The call.
*/
ai.chalk.protos.chalk.expression.v1.ExprCall getCall();
/**
* <code>.chalk.expression.v1.ExprCall call = 38 [json_name = "call"];</code>
*/
ai.chalk.protos.chalk.expression.v1.ExprCallOrBuilder getCallOrBuilder();
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
* @return Whether the literalValue field is set.
*/
boolean hasLiteralValue();
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
* @return The literalValue.
*/
ai.chalk.protos.chalk.expression.v1.ExprLiteral getLiteralValue();
/**
* <code>.chalk.expression.v1.ExprLiteral literal_value = 39 [json_name = "literalValue"];</code>
*/
ai.chalk.protos.chalk.expression.v1.ExprLiteralOrBuilder getLiteralValueOrBuilder();
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.column is deprecated.
* See chalk/expression/v1/expression.proto;l=64
* @return Whether the column field is set.
*/
@java.lang.Deprecated boolean hasColumn();
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.column is deprecated.
* See chalk/expression/v1/expression.proto;l=64
* @return The column.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.Column getColumn();
/**
* <pre>
* column references
* </pre>
*
* <code>.chalk.expression.v1.Column column = 1 [json_name = "column", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.ColumnOrBuilder getColumnOrBuilder();
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.alias is deprecated.
* See chalk/expression/v1/expression.proto;l=67
* @return Whether the alias field is set.
*/
@java.lang.Deprecated boolean hasAlias();
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.alias is deprecated.
* See chalk/expression/v1/expression.proto;l=67
* @return The alias.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.AliasNode getAlias();
/**
* <pre>
* alias
* </pre>
*
* <code>.chalk.expression.v1.AliasNode alias = 2 [json_name = "alias", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.AliasNodeOrBuilder getAliasOrBuilder();
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.literal is deprecated.
* See chalk/expression/v1/expression.proto;l=69
* @return Whether the literal field is set.
*/
@java.lang.Deprecated boolean hasLiteral();
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.literal is deprecated.
* See chalk/expression/v1/expression.proto;l=69
* @return The literal.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.arrow.v1.ScalarValue getLiteral();
/**
* <code>.chalk.arrow.v1.ScalarValue literal = 3 [json_name = "literal", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getLiteralOrBuilder();
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.binary_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=72
* @return Whether the binaryExpr field is set.
*/
@java.lang.Deprecated boolean hasBinaryExpr();
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.binary_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=72
* @return The binaryExpr.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.BinaryExprNode getBinaryExpr();
/**
* <pre>
* binary expressions
* </pre>
*
* <code>.chalk.expression.v1.BinaryExprNode binary_expr = 4 [json_name = "binaryExpr", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.BinaryExprNodeOrBuilder getBinaryExprOrBuilder();
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.aggregate_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=75
* @return Whether the aggregateExpr field is set.
*/
@java.lang.Deprecated boolean hasAggregateExpr();
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.aggregate_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=75
* @return The aggregateExpr.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.AggregateExprNode getAggregateExpr();
/**
* <pre>
* aggregate expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateExprNode aggregate_expr = 5 [json_name = "aggregateExpr", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.AggregateExprNodeOrBuilder getAggregateExprOrBuilder();
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_null_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=78
* @return Whether the isNullExpr field is set.
*/
@java.lang.Deprecated boolean hasIsNullExpr();
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_null_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=78
* @return The isNullExpr.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsNull getIsNullExpr();
/**
* <pre>
* null checks
* </pre>
*
* <code>.chalk.expression.v1.IsNull is_null_expr = 6 [json_name = "isNullExpr", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsNullOrBuilder getIsNullExprOrBuilder();
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_null_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=79
* @return Whether the isNotNullExpr field is set.
*/
@java.lang.Deprecated boolean hasIsNotNullExpr();
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_null_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=79
* @return The isNotNullExpr.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsNotNull getIsNotNullExpr();
/**
* <code>.chalk.expression.v1.IsNotNull is_not_null_expr = 7 [json_name = "isNotNullExpr", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsNotNullOrBuilder getIsNotNullExprOrBuilder();
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.not_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=80
* @return Whether the notExpr field is set.
*/
@java.lang.Deprecated boolean hasNotExpr();
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.not_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=80
* @return The notExpr.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.Not getNotExpr();
/**
* <code>.chalk.expression.v1.Not not_expr = 8 [json_name = "notExpr", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.NotOrBuilder getNotExprOrBuilder();
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.between is deprecated.
* See chalk/expression/v1/expression.proto;l=82
* @return Whether the between field is set.
*/
@java.lang.Deprecated boolean hasBetween();
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.between is deprecated.
* See chalk/expression/v1/expression.proto;l=82
* @return The between.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.BetweenNode getBetween();
/**
* <code>.chalk.expression.v1.BetweenNode between = 9 [json_name = "between", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.BetweenNodeOrBuilder getBetweenOrBuilder();
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.case is deprecated.
* See chalk/expression/v1/expression.proto;l=83
* @return Whether the case field is set.
*/
@java.lang.Deprecated boolean hasCase();
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.case is deprecated.
* See chalk/expression/v1/expression.proto;l=83
* @return The case.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.CaseNode getCase();
/**
* <code>.chalk.expression.v1.CaseNode case = 10 [json_name = "case", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.CaseNodeOrBuilder getCaseOrBuilder();
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.cast is deprecated.
* See chalk/expression/v1/expression.proto;l=84
* @return Whether the cast field is set.
*/
@java.lang.Deprecated boolean hasCast();
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.cast is deprecated.
* See chalk/expression/v1/expression.proto;l=84
* @return The cast.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.CastNode getCast();
/**
* <code>.chalk.expression.v1.CastNode cast = 11 [json_name = "cast", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.CastNodeOrBuilder getCastOrBuilder();
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.sort is deprecated.
* See chalk/expression/v1/expression.proto;l=85
* @return Whether the sort field is set.
*/
@java.lang.Deprecated boolean hasSort();
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.sort is deprecated.
* See chalk/expression/v1/expression.proto;l=85
* @return The sort.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.SortExprNode getSort();
/**
* <code>.chalk.expression.v1.SortExprNode sort = 12 [json_name = "sort", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.SortExprNodeOrBuilder getSortOrBuilder();
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.negative is deprecated.
* See chalk/expression/v1/expression.proto;l=86
* @return Whether the negative field is set.
*/
@java.lang.Deprecated boolean hasNegative();
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.negative is deprecated.
* See chalk/expression/v1/expression.proto;l=86
* @return The negative.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.NegativeNode getNegative();
/**
* <code>.chalk.expression.v1.NegativeNode negative = 13 [json_name = "negative", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.NegativeNodeOrBuilder getNegativeOrBuilder();
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.in_list is deprecated.
* See chalk/expression/v1/expression.proto;l=87
* @return Whether the inList field is set.
*/
@java.lang.Deprecated boolean hasInList();
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.in_list is deprecated.
* See chalk/expression/v1/expression.proto;l=87
* @return The inList.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.InListNode getInList();
/**
* <code>.chalk.expression.v1.InListNode in_list = 14 [json_name = "inList", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.InListNodeOrBuilder getInListOrBuilder();
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.wildcard is deprecated.
* See chalk/expression/v1/expression.proto;l=88
* @return Whether the wildcard field is set.
*/
@java.lang.Deprecated boolean hasWildcard();
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.wildcard is deprecated.
* See chalk/expression/v1/expression.proto;l=88
* @return The wildcard.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.Wildcard getWildcard();
/**
* <code>.chalk.expression.v1.Wildcard wildcard = 15 [json_name = "wildcard", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.WildcardOrBuilder getWildcardOrBuilder();
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.scalar_function is deprecated.
* See chalk/expression/v1/expression.proto;l=89
* @return Whether the scalarFunction field is set.
*/
@java.lang.Deprecated boolean hasScalarFunction();
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.scalar_function is deprecated.
* See chalk/expression/v1/expression.proto;l=89
* @return The scalarFunction.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode getScalarFunction();
/**
* <code>.chalk.expression.v1.ScalarFunctionNode scalar_function = 16 [json_name = "scalarFunction", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.ScalarFunctionNodeOrBuilder getScalarFunctionOrBuilder();
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.try_cast is deprecated.
* See chalk/expression/v1/expression.proto;l=90
* @return Whether the tryCast field is set.
*/
@java.lang.Deprecated boolean hasTryCast();
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.try_cast is deprecated.
* See chalk/expression/v1/expression.proto;l=90
* @return The tryCast.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.TryCastNode getTryCast();
/**
* <code>.chalk.expression.v1.TryCastNode try_cast = 17 [json_name = "tryCast", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.TryCastNodeOrBuilder getTryCastOrBuilder();
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.window_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=93
* @return Whether the windowExpr field is set.
*/
@java.lang.Deprecated boolean hasWindowExpr();
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.window_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=93
* @return The windowExpr.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.WindowExprNode getWindowExpr();
/**
* <pre>
* window expressions
* </pre>
*
* <code>.chalk.expression.v1.WindowExprNode window_expr = 18 [json_name = "windowExpr", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.WindowExprNodeOrBuilder getWindowExprOrBuilder();
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.aggregate_udf_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=96
* @return Whether the aggregateUdfExpr field is set.
*/
@java.lang.Deprecated boolean hasAggregateUdfExpr();
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.aggregate_udf_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=96
* @return The aggregateUdfExpr.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode getAggregateUdfExpr();
/**
* <pre>
* AggregateUDF expressions
* </pre>
*
* <code>.chalk.expression.v1.AggregateUDFExprNode aggregate_udf_expr = 19 [json_name = "aggregateUdfExpr", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNodeOrBuilder getAggregateUdfExprOrBuilder();
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.scalar_udf_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=99
* @return Whether the scalarUdfExpr field is set.
*/
@java.lang.Deprecated boolean hasScalarUdfExpr();
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.scalar_udf_expr is deprecated.
* See chalk/expression/v1/expression.proto;l=99
* @return The scalarUdfExpr.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode getScalarUdfExpr();
/**
* <pre>
* Scalar UDF expressions
* </pre>
*
* <code>.chalk.expression.v1.ScalarUDFExprNode scalar_udf_expr = 20 [json_name = "scalarUdfExpr", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNodeOrBuilder getScalarUdfExprOrBuilder();
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.get_indexed_field is deprecated.
* See chalk/expression/v1/expression.proto;l=101
* @return Whether the getIndexedField field is set.
*/
@java.lang.Deprecated boolean hasGetIndexedField();
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.get_indexed_field is deprecated.
* See chalk/expression/v1/expression.proto;l=101
* @return The getIndexedField.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.GetIndexedField getGetIndexedField();
/**
* <code>.chalk.expression.v1.GetIndexedField get_indexed_field = 21 [json_name = "getIndexedField", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.GetIndexedFieldOrBuilder getGetIndexedFieldOrBuilder();
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.grouping_set is deprecated.
* See chalk/expression/v1/expression.proto;l=103
* @return Whether the groupingSet field is set.
*/
@java.lang.Deprecated boolean hasGroupingSet();
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.grouping_set is deprecated.
* See chalk/expression/v1/expression.proto;l=103
* @return The groupingSet.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.GroupingSetNode getGroupingSet();
/**
* <code>.chalk.expression.v1.GroupingSetNode grouping_set = 22 [json_name = "groupingSet", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.GroupingSetNodeOrBuilder getGroupingSetOrBuilder();
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.cube is deprecated.
* See chalk/expression/v1/expression.proto;l=105
* @return Whether the cube field is set.
*/
@java.lang.Deprecated boolean hasCube();
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.cube is deprecated.
* See chalk/expression/v1/expression.proto;l=105
* @return The cube.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.CubeNode getCube();
/**
* <code>.chalk.expression.v1.CubeNode cube = 23 [json_name = "cube", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.CubeNodeOrBuilder getCubeOrBuilder();
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.rollup is deprecated.
* See chalk/expression/v1/expression.proto;l=107
* @return Whether the rollup field is set.
*/
@java.lang.Deprecated boolean hasRollup();
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.rollup is deprecated.
* See chalk/expression/v1/expression.proto;l=107
* @return The rollup.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.RollupNode getRollup();
/**
* <code>.chalk.expression.v1.RollupNode rollup = 24 [json_name = "rollup", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.RollupNodeOrBuilder getRollupOrBuilder();
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_true is deprecated.
* See chalk/expression/v1/expression.proto;l=109
* @return Whether the isTrue field is set.
*/
@java.lang.Deprecated boolean hasIsTrue();
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_true is deprecated.
* See chalk/expression/v1/expression.proto;l=109
* @return The isTrue.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsTrue getIsTrue();
/**
* <code>.chalk.expression.v1.IsTrue is_true = 25 [json_name = "isTrue", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsTrueOrBuilder getIsTrueOrBuilder();
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_false is deprecated.
* See chalk/expression/v1/expression.proto;l=110
* @return Whether the isFalse field is set.
*/
@java.lang.Deprecated boolean hasIsFalse();
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_false is deprecated.
* See chalk/expression/v1/expression.proto;l=110
* @return The isFalse.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsFalse getIsFalse();
/**
* <code>.chalk.expression.v1.IsFalse is_false = 26 [json_name = "isFalse", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsFalseOrBuilder getIsFalseOrBuilder();
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_unknown is deprecated.
* See chalk/expression/v1/expression.proto;l=111
* @return Whether the isUnknown field is set.
*/
@java.lang.Deprecated boolean hasIsUnknown();
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_unknown is deprecated.
* See chalk/expression/v1/expression.proto;l=111
* @return The isUnknown.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsUnknown getIsUnknown();
/**
* <code>.chalk.expression.v1.IsUnknown is_unknown = 27 [json_name = "isUnknown", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsUnknownOrBuilder getIsUnknownOrBuilder();
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_true is deprecated.
* See chalk/expression/v1/expression.proto;l=112
* @return Whether the isNotTrue field is set.
*/
@java.lang.Deprecated boolean hasIsNotTrue();
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_true is deprecated.
* See chalk/expression/v1/expression.proto;l=112
* @return The isNotTrue.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsNotTrue getIsNotTrue();
/**
* <code>.chalk.expression.v1.IsNotTrue is_not_true = 28 [json_name = "isNotTrue", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsNotTrueOrBuilder getIsNotTrueOrBuilder();
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_false is deprecated.
* See chalk/expression/v1/expression.proto;l=113
* @return Whether the isNotFalse field is set.
*/
@java.lang.Deprecated boolean hasIsNotFalse();
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_false is deprecated.
* See chalk/expression/v1/expression.proto;l=113
* @return The isNotFalse.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsNotFalse getIsNotFalse();
/**
* <code>.chalk.expression.v1.IsNotFalse is_not_false = 29 [json_name = "isNotFalse", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsNotFalseOrBuilder getIsNotFalseOrBuilder();
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_unknown is deprecated.
* See chalk/expression/v1/expression.proto;l=114
* @return Whether the isNotUnknown field is set.
*/
@java.lang.Deprecated boolean hasIsNotUnknown();
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.is_not_unknown is deprecated.
* See chalk/expression/v1/expression.proto;l=114
* @return The isNotUnknown.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsNotUnknown getIsNotUnknown();
/**
* <code>.chalk.expression.v1.IsNotUnknown is_not_unknown = 30 [json_name = "isNotUnknown", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.IsNotUnknownOrBuilder getIsNotUnknownOrBuilder();
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.like is deprecated.
* See chalk/expression/v1/expression.proto;l=115
* @return Whether the like field is set.
*/
@java.lang.Deprecated boolean hasLike();
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.like is deprecated.
* See chalk/expression/v1/expression.proto;l=115
* @return The like.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.LikeNode getLike();
/**
* <code>.chalk.expression.v1.LikeNode like = 31 [json_name = "like", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.LikeNodeOrBuilder getLikeOrBuilder();
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.ilike is deprecated.
* See chalk/expression/v1/expression.proto;l=116
* @return Whether the ilike field is set.
*/
@java.lang.Deprecated boolean hasIlike();
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.ilike is deprecated.
* See chalk/expression/v1/expression.proto;l=116
* @return The ilike.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.ILikeNode getIlike();
/**
* <code>.chalk.expression.v1.ILikeNode ilike = 32 [json_name = "ilike", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.ILikeNodeOrBuilder getIlikeOrBuilder();
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.similar_to is deprecated.
* See chalk/expression/v1/expression.proto;l=117
* @return Whether the similarTo field is set.
*/
@java.lang.Deprecated boolean hasSimilarTo();
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.similar_to is deprecated.
* See chalk/expression/v1/expression.proto;l=117
* @return The similarTo.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.SimilarToNode getSimilarTo();
/**
* <code>.chalk.expression.v1.SimilarToNode similar_to = 33 [json_name = "similarTo", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.SimilarToNodeOrBuilder getSimilarToOrBuilder();
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.placeholder is deprecated.
* See chalk/expression/v1/expression.proto;l=119
* @return Whether the placeholder field is set.
*/
@java.lang.Deprecated boolean hasPlaceholder();
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
* @deprecated chalk.expression.v1.LogicalExprNode.placeholder is deprecated.
* See chalk/expression/v1/expression.proto;l=119
* @return The placeholder.
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.PlaceholderNode getPlaceholder();
/**
* <code>.chalk.expression.v1.PlaceholderNode placeholder = 34 [json_name = "placeholder", deprecated = true];</code>
*/
@java.lang.Deprecated ai.chalk.protos.chalk.expression.v1.PlaceholderNodeOrBuilder getPlaceholderOrBuilder();
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.ExprFormCase getExprFormCase();
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.ExprTypeCase getExprTypeCase();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/NamedStructField.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.NamedStructField}
*/
public final class NamedStructField extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.NamedStructField)
NamedStructFieldOrBuilder {
private static final long serialVersionUID = 0L;
// Use NamedStructField.newBuilder() to construct.
private NamedStructField(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private NamedStructField() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NamedStructField();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_NamedStructField_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_NamedStructField_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.NamedStructField.class, ai.chalk.protos.chalk.expression.v1.NamedStructField.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private ai.chalk.protos.chalk.arrow.v1.ScalarValue name_;
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getName() {
return name_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : name_;
}
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getNameOrBuilder() {
return name_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : name_;
}
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, getName());
}
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, getName());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.NamedStructField)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.NamedStructField other = (ai.chalk.protos.chalk.expression.v1.NamedStructField) obj;
if (hasName() != other.hasName()) return false;
if (hasName()) {
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();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.NamedStructField prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.NamedStructField}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.NamedStructField)
ai.chalk.protos.chalk.expression.v1.NamedStructFieldOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_NamedStructField_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_NamedStructField_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.NamedStructField.class, ai.chalk.protos.chalk.expression.v1.NamedStructField.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.NamedStructField.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getNameFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = null;
if (nameBuilder_ != null) {
nameBuilder_.dispose();
nameBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_NamedStructField_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.NamedStructField getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.NamedStructField.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.NamedStructField build() {
ai.chalk.protos.chalk.expression.v1.NamedStructField result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.NamedStructField buildPartial() {
ai.chalk.protos.chalk.expression.v1.NamedStructField result = new ai.chalk.protos.chalk.expression.v1.NamedStructField(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.NamedStructField result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = nameBuilder_ == null
? name_
: nameBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.NamedStructField) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.NamedStructField)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.NamedStructField other) {
if (other == ai.chalk.protos.chalk.expression.v1.NamedStructField.getDefaultInstance()) return this;
if (other.hasName()) {
mergeName(other.getName());
}
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(
getNameFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private ai.chalk.protos.chalk.arrow.v1.ScalarValue name_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> nameBuilder_;
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
* @return The name.
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getName() {
if (nameBuilder_ == null) {
return name_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : name_;
} else {
return nameBuilder_.getMessage();
}
}
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
*/
public Builder setName(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (nameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
} else {
nameBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
*/
public Builder setName(
ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder builderForValue) {
if (nameBuilder_ == null) {
name_ = builderForValue.build();
} else {
nameBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
*/
public Builder mergeName(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (nameBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
name_ != null &&
name_ != ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance()) {
getNameBuilder().mergeFrom(value);
} else {
name_ = value;
}
} else {
nameBuilder_.mergeFrom(value);
}
if (name_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = null;
if (nameBuilder_ != null) {
nameBuilder_.dispose();
nameBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder getNameBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getNameFieldBuilder().getBuilder();
}
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getNameOrBuilder() {
if (nameBuilder_ != null) {
return nameBuilder_.getMessageOrBuilder();
} else {
return name_ == null ?
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : name_;
}
}
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder>
getNameFieldBuilder() {
if (nameBuilder_ == null) {
nameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder>(
getName(),
getParentForChildren(),
isClean());
name_ = null;
}
return nameBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.NamedStructField)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.NamedStructField)
private static final ai.chalk.protos.chalk.expression.v1.NamedStructField DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.NamedStructField();
}
public static ai.chalk.protos.chalk.expression.v1.NamedStructField getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<NamedStructField>
PARSER = new com.google.protobuf.AbstractParser<NamedStructField>() {
@java.lang.Override
public NamedStructField 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<NamedStructField> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<NamedStructField> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.NamedStructField getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/NamedStructFieldOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface NamedStructFieldOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.NamedStructField)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
* @return The name.
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getName();
/**
* <code>.chalk.arrow.v1.ScalarValue name = 1 [json_name = "name"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getNameOrBuilder();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/NegativeNode.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.NegativeNode}
*/
public final class NegativeNode extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.NegativeNode)
NegativeNodeOrBuilder {
private static final long serialVersionUID = 0L;
// Use NegativeNode.newBuilder() to construct.
private NegativeNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private NegativeNode() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NegativeNode();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_NegativeNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_NegativeNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.NegativeNode.class, ai.chalk.protos.chalk.expression.v1.NegativeNode.Builder.class);
}
private int bitField0_;
public static final int EXPR_FIELD_NUMBER = 1;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
@java.lang.Override
public boolean hasExpr() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return The expr.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getExpr());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getExpr());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.NegativeNode)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.NegativeNode other = (ai.chalk.protos.chalk.expression.v1.NegativeNode) obj;
if (hasExpr() != other.hasExpr()) return false;
if (hasExpr()) {
if (!getExpr()
.equals(other.getExpr())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasExpr()) {
hash = (37 * hash) + EXPR_FIELD_NUMBER;
hash = (53 * hash) + getExpr().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.NegativeNode prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.NegativeNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.NegativeNode)
ai.chalk.protos.chalk.expression.v1.NegativeNodeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_NegativeNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_NegativeNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.NegativeNode.class, ai.chalk.protos.chalk.expression.v1.NegativeNode.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.NegativeNode.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getExprFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
expr_ = null;
if (exprBuilder_ != null) {
exprBuilder_.dispose();
exprBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_NegativeNode_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.NegativeNode getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.NegativeNode.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.NegativeNode build() {
ai.chalk.protos.chalk.expression.v1.NegativeNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.NegativeNode buildPartial() {
ai.chalk.protos.chalk.expression.v1.NegativeNode result = new ai.chalk.protos.chalk.expression.v1.NegativeNode(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.NegativeNode result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.expr_ = exprBuilder_ == null
? expr_
: exprBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.NegativeNode) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.NegativeNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.NegativeNode other) {
if (other == ai.chalk.protos.chalk.expression.v1.NegativeNode.getDefaultInstance()) return this;
if (other.hasExpr()) {
mergeExpr(other.getExpr());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getExprFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
public boolean hasExpr() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return The expr.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() {
if (exprBuilder_ == null) {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
} else {
return exprBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expr_ = value;
} else {
exprBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder setExpr(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (exprBuilder_ == null) {
expr_ = builderForValue.build();
} else {
exprBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
expr_ != null &&
expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getExprBuilder().mergeFrom(value);
} else {
expr_ = value;
}
} else {
exprBuilder_.mergeFrom(value);
}
if (expr_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder clearExpr() {
bitField0_ = (bitField0_ & ~0x00000001);
expr_ = null;
if (exprBuilder_ != null) {
exprBuilder_.dispose();
exprBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getExprFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() {
if (exprBuilder_ != null) {
return exprBuilder_.getMessageOrBuilder();
} else {
return expr_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprFieldBuilder() {
if (exprBuilder_ == null) {
exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getExpr(),
getParentForChildren(),
isClean());
expr_ = null;
}
return exprBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.NegativeNode)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.NegativeNode)
private static final ai.chalk.protos.chalk.expression.v1.NegativeNode DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.NegativeNode();
}
public static ai.chalk.protos.chalk.expression.v1.NegativeNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<NegativeNode>
PARSER = new com.google.protobuf.AbstractParser<NegativeNode>() {
@java.lang.Override
public NegativeNode 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<NegativeNode> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<NegativeNode> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.NegativeNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/NegativeNodeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface NegativeNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.NegativeNode)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
boolean hasExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return The expr.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/Not.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.Not}
*/
public final class Not extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.Not)
NotOrBuilder {
private static final long serialVersionUID = 0L;
// Use Not.newBuilder() to construct.
private Not(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Not() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Not();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Not_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Not_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.Not.class, ai.chalk.protos.chalk.expression.v1.Not.Builder.class);
}
private int bitField0_;
public static final int EXPR_FIELD_NUMBER = 1;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
@java.lang.Override
public boolean hasExpr() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return The expr.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getExpr());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getExpr());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.Not)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.Not other = (ai.chalk.protos.chalk.expression.v1.Not) obj;
if (hasExpr() != other.hasExpr()) return false;
if (hasExpr()) {
if (!getExpr()
.equals(other.getExpr())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasExpr()) {
hash = (37 * hash) + EXPR_FIELD_NUMBER;
hash = (53 * hash) + getExpr().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.Not parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.Not parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.Not parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.Not parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.Not parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.Not parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.Not parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.Not parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.Not parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.Not parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.Not parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.Not parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.Not prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.Not}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.Not)
ai.chalk.protos.chalk.expression.v1.NotOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Not_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Not_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.Not.class, ai.chalk.protos.chalk.expression.v1.Not.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.Not.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getExprFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
expr_ = null;
if (exprBuilder_ != null) {
exprBuilder_.dispose();
exprBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Not_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.Not getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.Not.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.Not build() {
ai.chalk.protos.chalk.expression.v1.Not result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.Not buildPartial() {
ai.chalk.protos.chalk.expression.v1.Not result = new ai.chalk.protos.chalk.expression.v1.Not(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.Not result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.expr_ = exprBuilder_ == null
? expr_
: exprBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.Not) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.Not)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.Not other) {
if (other == ai.chalk.protos.chalk.expression.v1.Not.getDefaultInstance()) return this;
if (other.hasExpr()) {
mergeExpr(other.getExpr());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getExprFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
public boolean hasExpr() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return The expr.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() {
if (exprBuilder_ == null) {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
} else {
return exprBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expr_ = value;
} else {
exprBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder setExpr(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (exprBuilder_ == null) {
expr_ = builderForValue.build();
} else {
exprBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
expr_ != null &&
expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getExprBuilder().mergeFrom(value);
} else {
expr_ = value;
}
} else {
exprBuilder_.mergeFrom(value);
}
if (expr_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder clearExpr() {
bitField0_ = (bitField0_ & ~0x00000001);
expr_ = null;
if (exprBuilder_ != null) {
exprBuilder_.dispose();
exprBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getExprFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() {
if (exprBuilder_ != null) {
return exprBuilder_.getMessageOrBuilder();
} else {
return expr_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprFieldBuilder() {
if (exprBuilder_ == null) {
exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getExpr(),
getParentForChildren(),
isClean());
expr_ = null;
}
return exprBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.Not)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.Not)
private static final ai.chalk.protos.chalk.expression.v1.Not DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.Not();
}
public static ai.chalk.protos.chalk.expression.v1.Not getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Not>
PARSER = new com.google.protobuf.AbstractParser<Not>() {
@java.lang.Override
public Not 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<Not> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Not> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.Not getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/NotOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface NotOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.Not)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
boolean hasExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return The expr.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/OwnedTableReference.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.OwnedTableReference}
*/
public final class OwnedTableReference extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.OwnedTableReference)
OwnedTableReferenceOrBuilder {
private static final long serialVersionUID = 0L;
// Use OwnedTableReference.newBuilder() to construct.
private OwnedTableReference(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private OwnedTableReference() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new OwnedTableReference();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_OwnedTableReference_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_OwnedTableReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.OwnedTableReference.class, ai.chalk.protos.chalk.expression.v1.OwnedTableReference.Builder.class);
}
private int tableReferenceEnumCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object tableReferenceEnum_;
public enum TableReferenceEnumCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
BARE(1),
PARTIAL(2),
FULL(3),
TABLEREFERENCEENUM_NOT_SET(0);
private final int value;
private TableReferenceEnumCase(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 TableReferenceEnumCase valueOf(int value) {
return forNumber(value);
}
public static TableReferenceEnumCase forNumber(int value) {
switch (value) {
case 1: return BARE;
case 2: return PARTIAL;
case 3: return FULL;
case 0: return TABLEREFERENCEENUM_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public TableReferenceEnumCase
getTableReferenceEnumCase() {
return TableReferenceEnumCase.forNumber(
tableReferenceEnumCase_);
}
public static final int BARE_FIELD_NUMBER = 1;
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
* @return Whether the bare field is set.
*/
@java.lang.Override
public boolean hasBare() {
return tableReferenceEnumCase_ == 1;
}
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
* @return The bare.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.BareTableReference getBare() {
if (tableReferenceEnumCase_ == 1) {
return (ai.chalk.protos.chalk.expression.v1.BareTableReference) tableReferenceEnum_;
}
return ai.chalk.protos.chalk.expression.v1.BareTableReference.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.BareTableReferenceOrBuilder getBareOrBuilder() {
if (tableReferenceEnumCase_ == 1) {
return (ai.chalk.protos.chalk.expression.v1.BareTableReference) tableReferenceEnum_;
}
return ai.chalk.protos.chalk.expression.v1.BareTableReference.getDefaultInstance();
}
public static final int PARTIAL_FIELD_NUMBER = 2;
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
* @return Whether the partial field is set.
*/
@java.lang.Override
public boolean hasPartial() {
return tableReferenceEnumCase_ == 2;
}
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
* @return The partial.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.PartialTableReference getPartial() {
if (tableReferenceEnumCase_ == 2) {
return (ai.chalk.protos.chalk.expression.v1.PartialTableReference) tableReferenceEnum_;
}
return ai.chalk.protos.chalk.expression.v1.PartialTableReference.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.PartialTableReferenceOrBuilder getPartialOrBuilder() {
if (tableReferenceEnumCase_ == 2) {
return (ai.chalk.protos.chalk.expression.v1.PartialTableReference) tableReferenceEnum_;
}
return ai.chalk.protos.chalk.expression.v1.PartialTableReference.getDefaultInstance();
}
public static final int FULL_FIELD_NUMBER = 3;
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
* @return Whether the full field is set.
*/
@java.lang.Override
public boolean hasFull() {
return tableReferenceEnumCase_ == 3;
}
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
* @return The full.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.FullTableReference getFull() {
if (tableReferenceEnumCase_ == 3) {
return (ai.chalk.protos.chalk.expression.v1.FullTableReference) tableReferenceEnum_;
}
return ai.chalk.protos.chalk.expression.v1.FullTableReference.getDefaultInstance();
}
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.FullTableReferenceOrBuilder getFullOrBuilder() {
if (tableReferenceEnumCase_ == 3) {
return (ai.chalk.protos.chalk.expression.v1.FullTableReference) tableReferenceEnum_;
}
return ai.chalk.protos.chalk.expression.v1.FullTableReference.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 (tableReferenceEnumCase_ == 1) {
output.writeMessage(1, (ai.chalk.protos.chalk.expression.v1.BareTableReference) tableReferenceEnum_);
}
if (tableReferenceEnumCase_ == 2) {
output.writeMessage(2, (ai.chalk.protos.chalk.expression.v1.PartialTableReference) tableReferenceEnum_);
}
if (tableReferenceEnumCase_ == 3) {
output.writeMessage(3, (ai.chalk.protos.chalk.expression.v1.FullTableReference) tableReferenceEnum_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (tableReferenceEnumCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (ai.chalk.protos.chalk.expression.v1.BareTableReference) tableReferenceEnum_);
}
if (tableReferenceEnumCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (ai.chalk.protos.chalk.expression.v1.PartialTableReference) tableReferenceEnum_);
}
if (tableReferenceEnumCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (ai.chalk.protos.chalk.expression.v1.FullTableReference) tableReferenceEnum_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.OwnedTableReference)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.OwnedTableReference other = (ai.chalk.protos.chalk.expression.v1.OwnedTableReference) obj;
if (!getTableReferenceEnumCase().equals(other.getTableReferenceEnumCase())) return false;
switch (tableReferenceEnumCase_) {
case 1:
if (!getBare()
.equals(other.getBare())) return false;
break;
case 2:
if (!getPartial()
.equals(other.getPartial())) return false;
break;
case 3:
if (!getFull()
.equals(other.getFull())) 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 (tableReferenceEnumCase_) {
case 1:
hash = (37 * hash) + BARE_FIELD_NUMBER;
hash = (53 * hash) + getBare().hashCode();
break;
case 2:
hash = (37 * hash) + PARTIAL_FIELD_NUMBER;
hash = (53 * hash) + getPartial().hashCode();
break;
case 3:
hash = (37 * hash) + FULL_FIELD_NUMBER;
hash = (53 * hash) + getFull().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.OwnedTableReference prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.OwnedTableReference}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.OwnedTableReference)
ai.chalk.protos.chalk.expression.v1.OwnedTableReferenceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_OwnedTableReference_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_OwnedTableReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.OwnedTableReference.class, ai.chalk.protos.chalk.expression.v1.OwnedTableReference.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.OwnedTableReference.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (bareBuilder_ != null) {
bareBuilder_.clear();
}
if (partialBuilder_ != null) {
partialBuilder_.clear();
}
if (fullBuilder_ != null) {
fullBuilder_.clear();
}
tableReferenceEnumCase_ = 0;
tableReferenceEnum_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_OwnedTableReference_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.OwnedTableReference getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.OwnedTableReference.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.OwnedTableReference build() {
ai.chalk.protos.chalk.expression.v1.OwnedTableReference result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.OwnedTableReference buildPartial() {
ai.chalk.protos.chalk.expression.v1.OwnedTableReference result = new ai.chalk.protos.chalk.expression.v1.OwnedTableReference(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.OwnedTableReference result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(ai.chalk.protos.chalk.expression.v1.OwnedTableReference result) {
result.tableReferenceEnumCase_ = tableReferenceEnumCase_;
result.tableReferenceEnum_ = this.tableReferenceEnum_;
if (tableReferenceEnumCase_ == 1 &&
bareBuilder_ != null) {
result.tableReferenceEnum_ = bareBuilder_.build();
}
if (tableReferenceEnumCase_ == 2 &&
partialBuilder_ != null) {
result.tableReferenceEnum_ = partialBuilder_.build();
}
if (tableReferenceEnumCase_ == 3 &&
fullBuilder_ != null) {
result.tableReferenceEnum_ = fullBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.OwnedTableReference) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.OwnedTableReference)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.OwnedTableReference other) {
if (other == ai.chalk.protos.chalk.expression.v1.OwnedTableReference.getDefaultInstance()) return this;
switch (other.getTableReferenceEnumCase()) {
case BARE: {
mergeBare(other.getBare());
break;
}
case PARTIAL: {
mergePartial(other.getPartial());
break;
}
case FULL: {
mergeFull(other.getFull());
break;
}
case TABLEREFERENCEENUM_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(
getBareFieldBuilder().getBuilder(),
extensionRegistry);
tableReferenceEnumCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getPartialFieldBuilder().getBuilder(),
extensionRegistry);
tableReferenceEnumCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getFullFieldBuilder().getBuilder(),
extensionRegistry);
tableReferenceEnumCase_ = 3;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int tableReferenceEnumCase_ = 0;
private java.lang.Object tableReferenceEnum_;
public TableReferenceEnumCase
getTableReferenceEnumCase() {
return TableReferenceEnumCase.forNumber(
tableReferenceEnumCase_);
}
public Builder clearTableReferenceEnum() {
tableReferenceEnumCase_ = 0;
tableReferenceEnum_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.BareTableReference, ai.chalk.protos.chalk.expression.v1.BareTableReference.Builder, ai.chalk.protos.chalk.expression.v1.BareTableReferenceOrBuilder> bareBuilder_;
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
* @return Whether the bare field is set.
*/
@java.lang.Override
public boolean hasBare() {
return tableReferenceEnumCase_ == 1;
}
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
* @return The bare.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.BareTableReference getBare() {
if (bareBuilder_ == null) {
if (tableReferenceEnumCase_ == 1) {
return (ai.chalk.protos.chalk.expression.v1.BareTableReference) tableReferenceEnum_;
}
return ai.chalk.protos.chalk.expression.v1.BareTableReference.getDefaultInstance();
} else {
if (tableReferenceEnumCase_ == 1) {
return bareBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.BareTableReference.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
*/
public Builder setBare(ai.chalk.protos.chalk.expression.v1.BareTableReference value) {
if (bareBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tableReferenceEnum_ = value;
onChanged();
} else {
bareBuilder_.setMessage(value);
}
tableReferenceEnumCase_ = 1;
return this;
}
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
*/
public Builder setBare(
ai.chalk.protos.chalk.expression.v1.BareTableReference.Builder builderForValue) {
if (bareBuilder_ == null) {
tableReferenceEnum_ = builderForValue.build();
onChanged();
} else {
bareBuilder_.setMessage(builderForValue.build());
}
tableReferenceEnumCase_ = 1;
return this;
}
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
*/
public Builder mergeBare(ai.chalk.protos.chalk.expression.v1.BareTableReference value) {
if (bareBuilder_ == null) {
if (tableReferenceEnumCase_ == 1 &&
tableReferenceEnum_ != ai.chalk.protos.chalk.expression.v1.BareTableReference.getDefaultInstance()) {
tableReferenceEnum_ = ai.chalk.protos.chalk.expression.v1.BareTableReference.newBuilder((ai.chalk.protos.chalk.expression.v1.BareTableReference) tableReferenceEnum_)
.mergeFrom(value).buildPartial();
} else {
tableReferenceEnum_ = value;
}
onChanged();
} else {
if (tableReferenceEnumCase_ == 1) {
bareBuilder_.mergeFrom(value);
} else {
bareBuilder_.setMessage(value);
}
}
tableReferenceEnumCase_ = 1;
return this;
}
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
*/
public Builder clearBare() {
if (bareBuilder_ == null) {
if (tableReferenceEnumCase_ == 1) {
tableReferenceEnumCase_ = 0;
tableReferenceEnum_ = null;
onChanged();
}
} else {
if (tableReferenceEnumCase_ == 1) {
tableReferenceEnumCase_ = 0;
tableReferenceEnum_ = null;
}
bareBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.BareTableReference.Builder getBareBuilder() {
return getBareFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.BareTableReferenceOrBuilder getBareOrBuilder() {
if ((tableReferenceEnumCase_ == 1) && (bareBuilder_ != null)) {
return bareBuilder_.getMessageOrBuilder();
} else {
if (tableReferenceEnumCase_ == 1) {
return (ai.chalk.protos.chalk.expression.v1.BareTableReference) tableReferenceEnum_;
}
return ai.chalk.protos.chalk.expression.v1.BareTableReference.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.BareTableReference, ai.chalk.protos.chalk.expression.v1.BareTableReference.Builder, ai.chalk.protos.chalk.expression.v1.BareTableReferenceOrBuilder>
getBareFieldBuilder() {
if (bareBuilder_ == null) {
if (!(tableReferenceEnumCase_ == 1)) {
tableReferenceEnum_ = ai.chalk.protos.chalk.expression.v1.BareTableReference.getDefaultInstance();
}
bareBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.BareTableReference, ai.chalk.protos.chalk.expression.v1.BareTableReference.Builder, ai.chalk.protos.chalk.expression.v1.BareTableReferenceOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.BareTableReference) tableReferenceEnum_,
getParentForChildren(),
isClean());
tableReferenceEnum_ = null;
}
tableReferenceEnumCase_ = 1;
onChanged();
return bareBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.PartialTableReference, ai.chalk.protos.chalk.expression.v1.PartialTableReference.Builder, ai.chalk.protos.chalk.expression.v1.PartialTableReferenceOrBuilder> partialBuilder_;
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
* @return Whether the partial field is set.
*/
@java.lang.Override
public boolean hasPartial() {
return tableReferenceEnumCase_ == 2;
}
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
* @return The partial.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.PartialTableReference getPartial() {
if (partialBuilder_ == null) {
if (tableReferenceEnumCase_ == 2) {
return (ai.chalk.protos.chalk.expression.v1.PartialTableReference) tableReferenceEnum_;
}
return ai.chalk.protos.chalk.expression.v1.PartialTableReference.getDefaultInstance();
} else {
if (tableReferenceEnumCase_ == 2) {
return partialBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.PartialTableReference.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
*/
public Builder setPartial(ai.chalk.protos.chalk.expression.v1.PartialTableReference value) {
if (partialBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tableReferenceEnum_ = value;
onChanged();
} else {
partialBuilder_.setMessage(value);
}
tableReferenceEnumCase_ = 2;
return this;
}
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
*/
public Builder setPartial(
ai.chalk.protos.chalk.expression.v1.PartialTableReference.Builder builderForValue) {
if (partialBuilder_ == null) {
tableReferenceEnum_ = builderForValue.build();
onChanged();
} else {
partialBuilder_.setMessage(builderForValue.build());
}
tableReferenceEnumCase_ = 2;
return this;
}
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
*/
public Builder mergePartial(ai.chalk.protos.chalk.expression.v1.PartialTableReference value) {
if (partialBuilder_ == null) {
if (tableReferenceEnumCase_ == 2 &&
tableReferenceEnum_ != ai.chalk.protos.chalk.expression.v1.PartialTableReference.getDefaultInstance()) {
tableReferenceEnum_ = ai.chalk.protos.chalk.expression.v1.PartialTableReference.newBuilder((ai.chalk.protos.chalk.expression.v1.PartialTableReference) tableReferenceEnum_)
.mergeFrom(value).buildPartial();
} else {
tableReferenceEnum_ = value;
}
onChanged();
} else {
if (tableReferenceEnumCase_ == 2) {
partialBuilder_.mergeFrom(value);
} else {
partialBuilder_.setMessage(value);
}
}
tableReferenceEnumCase_ = 2;
return this;
}
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
*/
public Builder clearPartial() {
if (partialBuilder_ == null) {
if (tableReferenceEnumCase_ == 2) {
tableReferenceEnumCase_ = 0;
tableReferenceEnum_ = null;
onChanged();
}
} else {
if (tableReferenceEnumCase_ == 2) {
tableReferenceEnumCase_ = 0;
tableReferenceEnum_ = null;
}
partialBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.PartialTableReference.Builder getPartialBuilder() {
return getPartialFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.PartialTableReferenceOrBuilder getPartialOrBuilder() {
if ((tableReferenceEnumCase_ == 2) && (partialBuilder_ != null)) {
return partialBuilder_.getMessageOrBuilder();
} else {
if (tableReferenceEnumCase_ == 2) {
return (ai.chalk.protos.chalk.expression.v1.PartialTableReference) tableReferenceEnum_;
}
return ai.chalk.protos.chalk.expression.v1.PartialTableReference.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.PartialTableReference, ai.chalk.protos.chalk.expression.v1.PartialTableReference.Builder, ai.chalk.protos.chalk.expression.v1.PartialTableReferenceOrBuilder>
getPartialFieldBuilder() {
if (partialBuilder_ == null) {
if (!(tableReferenceEnumCase_ == 2)) {
tableReferenceEnum_ = ai.chalk.protos.chalk.expression.v1.PartialTableReference.getDefaultInstance();
}
partialBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.PartialTableReference, ai.chalk.protos.chalk.expression.v1.PartialTableReference.Builder, ai.chalk.protos.chalk.expression.v1.PartialTableReferenceOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.PartialTableReference) tableReferenceEnum_,
getParentForChildren(),
isClean());
tableReferenceEnum_ = null;
}
tableReferenceEnumCase_ = 2;
onChanged();
return partialBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.FullTableReference, ai.chalk.protos.chalk.expression.v1.FullTableReference.Builder, ai.chalk.protos.chalk.expression.v1.FullTableReferenceOrBuilder> fullBuilder_;
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
* @return Whether the full field is set.
*/
@java.lang.Override
public boolean hasFull() {
return tableReferenceEnumCase_ == 3;
}
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
* @return The full.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.FullTableReference getFull() {
if (fullBuilder_ == null) {
if (tableReferenceEnumCase_ == 3) {
return (ai.chalk.protos.chalk.expression.v1.FullTableReference) tableReferenceEnum_;
}
return ai.chalk.protos.chalk.expression.v1.FullTableReference.getDefaultInstance();
} else {
if (tableReferenceEnumCase_ == 3) {
return fullBuilder_.getMessage();
}
return ai.chalk.protos.chalk.expression.v1.FullTableReference.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
*/
public Builder setFull(ai.chalk.protos.chalk.expression.v1.FullTableReference value) {
if (fullBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tableReferenceEnum_ = value;
onChanged();
} else {
fullBuilder_.setMessage(value);
}
tableReferenceEnumCase_ = 3;
return this;
}
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
*/
public Builder setFull(
ai.chalk.protos.chalk.expression.v1.FullTableReference.Builder builderForValue) {
if (fullBuilder_ == null) {
tableReferenceEnum_ = builderForValue.build();
onChanged();
} else {
fullBuilder_.setMessage(builderForValue.build());
}
tableReferenceEnumCase_ = 3;
return this;
}
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
*/
public Builder mergeFull(ai.chalk.protos.chalk.expression.v1.FullTableReference value) {
if (fullBuilder_ == null) {
if (tableReferenceEnumCase_ == 3 &&
tableReferenceEnum_ != ai.chalk.protos.chalk.expression.v1.FullTableReference.getDefaultInstance()) {
tableReferenceEnum_ = ai.chalk.protos.chalk.expression.v1.FullTableReference.newBuilder((ai.chalk.protos.chalk.expression.v1.FullTableReference) tableReferenceEnum_)
.mergeFrom(value).buildPartial();
} else {
tableReferenceEnum_ = value;
}
onChanged();
} else {
if (tableReferenceEnumCase_ == 3) {
fullBuilder_.mergeFrom(value);
} else {
fullBuilder_.setMessage(value);
}
}
tableReferenceEnumCase_ = 3;
return this;
}
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
*/
public Builder clearFull() {
if (fullBuilder_ == null) {
if (tableReferenceEnumCase_ == 3) {
tableReferenceEnumCase_ = 0;
tableReferenceEnum_ = null;
onChanged();
}
} else {
if (tableReferenceEnumCase_ == 3) {
tableReferenceEnumCase_ = 0;
tableReferenceEnum_ = null;
}
fullBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.FullTableReference.Builder getFullBuilder() {
return getFullFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.FullTableReferenceOrBuilder getFullOrBuilder() {
if ((tableReferenceEnumCase_ == 3) && (fullBuilder_ != null)) {
return fullBuilder_.getMessageOrBuilder();
} else {
if (tableReferenceEnumCase_ == 3) {
return (ai.chalk.protos.chalk.expression.v1.FullTableReference) tableReferenceEnum_;
}
return ai.chalk.protos.chalk.expression.v1.FullTableReference.getDefaultInstance();
}
}
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.FullTableReference, ai.chalk.protos.chalk.expression.v1.FullTableReference.Builder, ai.chalk.protos.chalk.expression.v1.FullTableReferenceOrBuilder>
getFullFieldBuilder() {
if (fullBuilder_ == null) {
if (!(tableReferenceEnumCase_ == 3)) {
tableReferenceEnum_ = ai.chalk.protos.chalk.expression.v1.FullTableReference.getDefaultInstance();
}
fullBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.FullTableReference, ai.chalk.protos.chalk.expression.v1.FullTableReference.Builder, ai.chalk.protos.chalk.expression.v1.FullTableReferenceOrBuilder>(
(ai.chalk.protos.chalk.expression.v1.FullTableReference) tableReferenceEnum_,
getParentForChildren(),
isClean());
tableReferenceEnum_ = null;
}
tableReferenceEnumCase_ = 3;
onChanged();
return fullBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.OwnedTableReference)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.OwnedTableReference)
private static final ai.chalk.protos.chalk.expression.v1.OwnedTableReference DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.OwnedTableReference();
}
public static ai.chalk.protos.chalk.expression.v1.OwnedTableReference getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<OwnedTableReference>
PARSER = new com.google.protobuf.AbstractParser<OwnedTableReference>() {
@java.lang.Override
public OwnedTableReference 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<OwnedTableReference> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<OwnedTableReference> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.OwnedTableReference getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/OwnedTableReferenceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface OwnedTableReferenceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.OwnedTableReference)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
* @return Whether the bare field is set.
*/
boolean hasBare();
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
* @return The bare.
*/
ai.chalk.protos.chalk.expression.v1.BareTableReference getBare();
/**
* <code>.chalk.expression.v1.BareTableReference bare = 1 [json_name = "bare"];</code>
*/
ai.chalk.protos.chalk.expression.v1.BareTableReferenceOrBuilder getBareOrBuilder();
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
* @return Whether the partial field is set.
*/
boolean hasPartial();
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
* @return The partial.
*/
ai.chalk.protos.chalk.expression.v1.PartialTableReference getPartial();
/**
* <code>.chalk.expression.v1.PartialTableReference partial = 2 [json_name = "partial"];</code>
*/
ai.chalk.protos.chalk.expression.v1.PartialTableReferenceOrBuilder getPartialOrBuilder();
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
* @return Whether the full field is set.
*/
boolean hasFull();
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
* @return The full.
*/
ai.chalk.protos.chalk.expression.v1.FullTableReference getFull();
/**
* <code>.chalk.expression.v1.FullTableReference full = 3 [json_name = "full"];</code>
*/
ai.chalk.protos.chalk.expression.v1.FullTableReferenceOrBuilder getFullOrBuilder();
ai.chalk.protos.chalk.expression.v1.OwnedTableReference.TableReferenceEnumCase getTableReferenceEnumCase();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/PartialTableReference.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.PartialTableReference}
*/
public final class PartialTableReference extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.PartialTableReference)
PartialTableReferenceOrBuilder {
private static final long serialVersionUID = 0L;
// Use PartialTableReference.newBuilder() to construct.
private PartialTableReference(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private PartialTableReference() {
schema_ = "";
table_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PartialTableReference();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_PartialTableReference_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_PartialTableReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.PartialTableReference.class, ai.chalk.protos.chalk.expression.v1.PartialTableReference.Builder.class);
}
public static final int SCHEMA_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object schema_ = "";
/**
* <code>string schema = 1 [json_name = "schema"];</code>
* @return The schema.
*/
@java.lang.Override
public java.lang.String getSchema() {
java.lang.Object ref = schema_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
schema_ = s;
return s;
}
}
/**
* <code>string schema = 1 [json_name = "schema"];</code>
* @return The bytes for schema.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSchemaBytes() {
java.lang.Object ref = schema_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
schema_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object table_ = "";
/**
* <code>string table = 2 [json_name = "table"];</code>
* @return The table.
*/
@java.lang.Override
public java.lang.String getTable() {
java.lang.Object ref = table_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
table_ = s;
return s;
}
}
/**
* <code>string table = 2 [json_name = "table"];</code>
* @return The bytes for table.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTableBytes() {
java.lang.Object ref = table_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
table_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, table_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schema_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.PartialTableReference)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.PartialTableReference other = (ai.chalk.protos.chalk.expression.v1.PartialTableReference) obj;
if (!getSchema()
.equals(other.getSchema())) return false;
if (!getTable()
.equals(other.getTable())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SCHEMA_FIELD_NUMBER;
hash = (53 * hash) + getSchema().hashCode();
hash = (37 * hash) + TABLE_FIELD_NUMBER;
hash = (53 * hash) + getTable().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.PartialTableReference prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.PartialTableReference}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.PartialTableReference)
ai.chalk.protos.chalk.expression.v1.PartialTableReferenceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_PartialTableReference_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_PartialTableReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.PartialTableReference.class, ai.chalk.protos.chalk.expression.v1.PartialTableReference.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.PartialTableReference.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
schema_ = "";
table_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_PartialTableReference_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.PartialTableReference getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.PartialTableReference.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.PartialTableReference build() {
ai.chalk.protos.chalk.expression.v1.PartialTableReference result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.PartialTableReference buildPartial() {
ai.chalk.protos.chalk.expression.v1.PartialTableReference result = new ai.chalk.protos.chalk.expression.v1.PartialTableReference(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.PartialTableReference result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.schema_ = schema_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.table_ = table_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.PartialTableReference) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.PartialTableReference)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.PartialTableReference other) {
if (other == ai.chalk.protos.chalk.expression.v1.PartialTableReference.getDefaultInstance()) return this;
if (!other.getSchema().isEmpty()) {
schema_ = other.schema_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getTable().isEmpty()) {
table_ = other.table_;
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: {
schema_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
table_ = 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 schema_ = "";
/**
* <code>string schema = 1 [json_name = "schema"];</code>
* @return The schema.
*/
public java.lang.String getSchema() {
java.lang.Object ref = schema_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
schema_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string schema = 1 [json_name = "schema"];</code>
* @return The bytes for schema.
*/
public com.google.protobuf.ByteString
getSchemaBytes() {
java.lang.Object ref = schema_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
schema_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string schema = 1 [json_name = "schema"];</code>
* @param value The schema to set.
* @return This builder for chaining.
*/
public Builder setSchema(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
schema_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string schema = 1 [json_name = "schema"];</code>
* @return This builder for chaining.
*/
public Builder clearSchema() {
schema_ = getDefaultInstance().getSchema();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string schema = 1 [json_name = "schema"];</code>
* @param value The bytes for schema to set.
* @return This builder for chaining.
*/
public Builder setSchemaBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
schema_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object table_ = "";
/**
* <code>string table = 2 [json_name = "table"];</code>
* @return The table.
*/
public java.lang.String getTable() {
java.lang.Object ref = table_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
table_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string table = 2 [json_name = "table"];</code>
* @return The bytes for table.
*/
public com.google.protobuf.ByteString
getTableBytes() {
java.lang.Object ref = table_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
table_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string table = 2 [json_name = "table"];</code>
* @param value The table to set.
* @return This builder for chaining.
*/
public Builder setTable(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
table_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>string table = 2 [json_name = "table"];</code>
* @return This builder for chaining.
*/
public Builder clearTable() {
table_ = getDefaultInstance().getTable();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>string table = 2 [json_name = "table"];</code>
* @param value The bytes for table to set.
* @return This builder for chaining.
*/
public Builder setTableBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
table_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.PartialTableReference)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.PartialTableReference)
private static final ai.chalk.protos.chalk.expression.v1.PartialTableReference DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.PartialTableReference();
}
public static ai.chalk.protos.chalk.expression.v1.PartialTableReference getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<PartialTableReference>
PARSER = new com.google.protobuf.AbstractParser<PartialTableReference>() {
@java.lang.Override
public PartialTableReference 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<PartialTableReference> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<PartialTableReference> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.PartialTableReference getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/PartialTableReferenceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface PartialTableReferenceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.PartialTableReference)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string schema = 1 [json_name = "schema"];</code>
* @return The schema.
*/
java.lang.String getSchema();
/**
* <code>string schema = 1 [json_name = "schema"];</code>
* @return The bytes for schema.
*/
com.google.protobuf.ByteString
getSchemaBytes();
/**
* <code>string table = 2 [json_name = "table"];</code>
* @return The table.
*/
java.lang.String getTable();
/**
* <code>string table = 2 [json_name = "table"];</code>
* @return The bytes for table.
*/
com.google.protobuf.ByteString
getTableBytes();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/PlaceholderNode.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.PlaceholderNode}
*/
public final class PlaceholderNode extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.PlaceholderNode)
PlaceholderNodeOrBuilder {
private static final long serialVersionUID = 0L;
// Use PlaceholderNode.newBuilder() to construct.
private PlaceholderNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private PlaceholderNode() {
id_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PlaceholderNode();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_PlaceholderNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_PlaceholderNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.PlaceholderNode.class, ai.chalk.protos.chalk.expression.v1.PlaceholderNode.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object id_ = "";
/**
* <code>string id = 1 [json_name = "id"];</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
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();
id_ = s;
return s;
}
}
/**
* <code>string id = 1 [json_name = "id"];</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATA_TYPE_FIELD_NUMBER = 2;
private ai.chalk.protos.chalk.arrow.v1.ArrowType dataType_;
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
* @return Whether the dataType field is set.
*/
@java.lang.Override
public boolean hasDataType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
* @return The dataType.
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ArrowType getDataType() {
return dataType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : dataType_;
}
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getDataTypeOrBuilder() {
return dataType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : dataType_;
}
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(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getDataType());
}
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(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getDataType());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.PlaceholderNode)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.PlaceholderNode other = (ai.chalk.protos.chalk.expression.v1.PlaceholderNode) obj;
if (!getId()
.equals(other.getId())) return false;
if (hasDataType() != other.hasDataType()) return false;
if (hasDataType()) {
if (!getDataType()
.equals(other.getDataType())) 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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
if (hasDataType()) {
hash = (37 * hash) + DATA_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getDataType().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.PlaceholderNode prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.PlaceholderNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.PlaceholderNode)
ai.chalk.protos.chalk.expression.v1.PlaceholderNodeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_PlaceholderNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_PlaceholderNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.PlaceholderNode.class, ai.chalk.protos.chalk.expression.v1.PlaceholderNode.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.PlaceholderNode.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDataTypeFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
id_ = "";
dataType_ = null;
if (dataTypeBuilder_ != null) {
dataTypeBuilder_.dispose();
dataTypeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_PlaceholderNode_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.PlaceholderNode getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.PlaceholderNode.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.PlaceholderNode build() {
ai.chalk.protos.chalk.expression.v1.PlaceholderNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.PlaceholderNode buildPartial() {
ai.chalk.protos.chalk.expression.v1.PlaceholderNode result = new ai.chalk.protos.chalk.expression.v1.PlaceholderNode(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.PlaceholderNode result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dataType_ = dataTypeBuilder_ == null
? dataType_
: dataTypeBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.PlaceholderNode) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.PlaceholderNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.PlaceholderNode other) {
if (other == ai.chalk.protos.chalk.expression.v1.PlaceholderNode.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDataType()) {
mergeDataType(other.getDataType());
}
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: {
id_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getDataTypeFieldBuilder().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 id_ = "";
/**
* <code>string id = 1 [json_name = "id"];</code>
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string id = 1 [json_name = "id"];</code>
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string id = 1 [json_name = "id"];</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string id = 1 [json_name = "id"];</code>
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string id = 1 [json_name = "id"];</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
id_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private ai.chalk.protos.chalk.arrow.v1.ArrowType dataType_;
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> dataTypeBuilder_;
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
* @return Whether the dataType field is set.
*/
public boolean hasDataType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
* @return The dataType.
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowType getDataType() {
if (dataTypeBuilder_ == null) {
return dataType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : dataType_;
} else {
return dataTypeBuilder_.getMessage();
}
}
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
*/
public Builder setDataType(ai.chalk.protos.chalk.arrow.v1.ArrowType value) {
if (dataTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dataType_ = value;
} else {
dataTypeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
*/
public Builder setDataType(
ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder builderForValue) {
if (dataTypeBuilder_ == null) {
dataType_ = builderForValue.build();
} else {
dataTypeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
*/
public Builder mergeDataType(ai.chalk.protos.chalk.arrow.v1.ArrowType value) {
if (dataTypeBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
dataType_ != null &&
dataType_ != ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance()) {
getDataTypeBuilder().mergeFrom(value);
} else {
dataType_ = value;
}
} else {
dataTypeBuilder_.mergeFrom(value);
}
if (dataType_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
*/
public Builder clearDataType() {
bitField0_ = (bitField0_ & ~0x00000002);
dataType_ = null;
if (dataTypeBuilder_ != null) {
dataTypeBuilder_.dispose();
dataTypeBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder getDataTypeBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getDataTypeFieldBuilder().getBuilder();
}
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getDataTypeOrBuilder() {
if (dataTypeBuilder_ != null) {
return dataTypeBuilder_.getMessageOrBuilder();
} else {
return dataType_ == null ?
ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : dataType_;
}
}
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</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>
getDataTypeFieldBuilder() {
if (dataTypeBuilder_ == null) {
dataTypeBuilder_ = 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>(
getDataType(),
getParentForChildren(),
isClean());
dataType_ = null;
}
return dataTypeBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.PlaceholderNode)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.PlaceholderNode)
private static final ai.chalk.protos.chalk.expression.v1.PlaceholderNode DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.PlaceholderNode();
}
public static ai.chalk.protos.chalk.expression.v1.PlaceholderNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<PlaceholderNode>
PARSER = new com.google.protobuf.AbstractParser<PlaceholderNode>() {
@java.lang.Override
public PlaceholderNode 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<PlaceholderNode> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<PlaceholderNode> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.PlaceholderNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/PlaceholderNodeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface PlaceholderNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.PlaceholderNode)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string id = 1 [json_name = "id"];</code>
* @return The id.
*/
java.lang.String getId();
/**
* <code>string id = 1 [json_name = "id"];</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
* @return Whether the dataType field is set.
*/
boolean hasDataType();
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
* @return The dataType.
*/
ai.chalk.protos.chalk.arrow.v1.ArrowType getDataType();
/**
* <code>.chalk.arrow.v1.ArrowType data_type = 2 [json_name = "dataType"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getDataTypeOrBuilder();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/RollupNode.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.RollupNode}
*/
public final class RollupNode extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.RollupNode)
RollupNodeOrBuilder {
private static final long serialVersionUID = 0L;
// Use RollupNode.newBuilder() to construct.
private RollupNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RollupNode() {
expr_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RollupNode();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_RollupNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_RollupNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.RollupNode.class, ai.chalk.protos.chalk.expression.v1.RollupNode.Builder.class);
}
public static final int EXPR_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> expr_;
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getExprList() {
return expr_;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprOrBuilderList() {
return expr_;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public int getExprCount() {
return expr_.size();
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(int index) {
return expr_.get(index);
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(
int index) {
return expr_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < expr_.size(); i++) {
output.writeMessage(1, expr_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < expr_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, expr_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.RollupNode)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.RollupNode other = (ai.chalk.protos.chalk.expression.v1.RollupNode) obj;
if (!getExprList()
.equals(other.getExprList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getExprCount() > 0) {
hash = (37 * hash) + EXPR_FIELD_NUMBER;
hash = (53 * hash) + getExprList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.RollupNode prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.RollupNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.RollupNode)
ai.chalk.protos.chalk.expression.v1.RollupNodeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_RollupNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_RollupNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.RollupNode.class, ai.chalk.protos.chalk.expression.v1.RollupNode.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.RollupNode.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (exprBuilder_ == null) {
expr_ = java.util.Collections.emptyList();
} else {
expr_ = null;
exprBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_RollupNode_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.RollupNode getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.RollupNode.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.RollupNode build() {
ai.chalk.protos.chalk.expression.v1.RollupNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.RollupNode buildPartial() {
ai.chalk.protos.chalk.expression.v1.RollupNode result = new ai.chalk.protos.chalk.expression.v1.RollupNode(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.RollupNode result) {
if (exprBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
expr_ = java.util.Collections.unmodifiableList(expr_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.expr_ = expr_;
} else {
result.expr_ = exprBuilder_.build();
}
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.RollupNode result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.RollupNode) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.RollupNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.RollupNode other) {
if (other == ai.chalk.protos.chalk.expression.v1.RollupNode.getDefaultInstance()) return this;
if (exprBuilder_ == null) {
if (!other.expr_.isEmpty()) {
if (expr_.isEmpty()) {
expr_ = other.expr_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureExprIsMutable();
expr_.addAll(other.expr_);
}
onChanged();
}
} else {
if (!other.expr_.isEmpty()) {
if (exprBuilder_.isEmpty()) {
exprBuilder_.dispose();
exprBuilder_ = null;
expr_ = other.expr_;
bitField0_ = (bitField0_ & ~0x00000001);
exprBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getExprFieldBuilder() : null;
} else {
exprBuilder_.addAllMessages(other.expr_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
ai.chalk.protos.chalk.expression.v1.LogicalExprNode m =
input.readMessage(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(),
extensionRegistry);
if (exprBuilder_ == null) {
ensureExprIsMutable();
expr_.add(m);
} else {
exprBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> expr_ =
java.util.Collections.emptyList();
private void ensureExprIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
expr_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(expr_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_;
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getExprList() {
if (exprBuilder_ == null) {
return java.util.Collections.unmodifiableList(expr_);
} else {
return exprBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public int getExprCount() {
if (exprBuilder_ == null) {
return expr_.size();
} else {
return exprBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(int index) {
if (exprBuilder_ == null) {
return expr_.get(index);
} else {
return exprBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder setExpr(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExprIsMutable();
expr_.set(index, value);
onChanged();
} else {
exprBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder setExpr(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (exprBuilder_ == null) {
ensureExprIsMutable();
expr_.set(index, builderForValue.build());
onChanged();
} else {
exprBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder addExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExprIsMutable();
expr_.add(value);
onChanged();
} else {
exprBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder addExpr(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExprIsMutable();
expr_.add(index, value);
onChanged();
} else {
exprBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder addExpr(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (exprBuilder_ == null) {
ensureExprIsMutable();
expr_.add(builderForValue.build());
onChanged();
} else {
exprBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder addExpr(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (exprBuilder_ == null) {
ensureExprIsMutable();
expr_.add(index, builderForValue.build());
onChanged();
} else {
exprBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder addAllExpr(
java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) {
if (exprBuilder_ == null) {
ensureExprIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, expr_);
onChanged();
} else {
exprBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder clearExpr() {
if (exprBuilder_ == null) {
expr_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
exprBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder removeExpr(int index) {
if (exprBuilder_ == null) {
ensureExprIsMutable();
expr_.remove(index);
onChanged();
} else {
exprBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder(
int index) {
return getExprFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(
int index) {
if (exprBuilder_ == null) {
return expr_.get(index); } else {
return exprBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprOrBuilderList() {
if (exprBuilder_ != null) {
return exprBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(expr_);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addExprBuilder() {
return getExprFieldBuilder().addBuilder(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance());
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addExprBuilder(
int index) {
return getExprFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance());
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder>
getExprBuilderList() {
return getExprFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprFieldBuilder() {
if (exprBuilder_ == null) {
exprBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
expr_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
expr_ = null;
}
return exprBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.RollupNode)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.RollupNode)
private static final ai.chalk.protos.chalk.expression.v1.RollupNode DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.RollupNode();
}
public static ai.chalk.protos.chalk.expression.v1.RollupNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<RollupNode>
PARSER = new com.google.protobuf.AbstractParser<RollupNode>() {
@java.lang.Override
public RollupNode 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<RollupNode> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RollupNode> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.RollupNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/RollupNodeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface RollupNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.RollupNode)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>
getExprList();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(int index);
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
int getExprCount();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprOrBuilderList();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(
int index);
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ScalarFunction.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf enum {@code chalk.expression.v1.ScalarFunction}
*/
public enum ScalarFunction
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>SCALAR_FUNCTION_UNSPECIFIED = 0;</code>
*/
SCALAR_FUNCTION_UNSPECIFIED(0),
/**
* <code>SCALAR_FUNCTION_ABS = 1;</code>
*/
SCALAR_FUNCTION_ABS(1),
/**
* <code>SCALAR_FUNCTION_ACOS = 2;</code>
*/
SCALAR_FUNCTION_ACOS(2),
/**
* <code>SCALAR_FUNCTION_ASIN = 3;</code>
*/
SCALAR_FUNCTION_ASIN(3),
/**
* <code>SCALAR_FUNCTION_ATAN = 4;</code>
*/
SCALAR_FUNCTION_ATAN(4),
/**
* <code>SCALAR_FUNCTION_ASCII = 5;</code>
*/
SCALAR_FUNCTION_ASCII(5),
/**
* <code>SCALAR_FUNCTION_CEIL = 6;</code>
*/
SCALAR_FUNCTION_CEIL(6),
/**
* <code>SCALAR_FUNCTION_COS = 7;</code>
*/
SCALAR_FUNCTION_COS(7),
/**
* <code>SCALAR_FUNCTION_DIGEST = 8;</code>
*/
SCALAR_FUNCTION_DIGEST(8),
/**
* <code>SCALAR_FUNCTION_EXP = 9;</code>
*/
SCALAR_FUNCTION_EXP(9),
/**
* <code>SCALAR_FUNCTION_FLOOR = 10;</code>
*/
SCALAR_FUNCTION_FLOOR(10),
/**
* <code>SCALAR_FUNCTION_LN = 11;</code>
*/
SCALAR_FUNCTION_LN(11),
/**
* <code>SCALAR_FUNCTION_LOG = 12;</code>
*/
SCALAR_FUNCTION_LOG(12),
/**
* <code>SCALAR_FUNCTION_LOG10 = 13;</code>
*/
SCALAR_FUNCTION_LOG10(13),
/**
* <code>SCALAR_FUNCTION_LOG2 = 14;</code>
*/
SCALAR_FUNCTION_LOG2(14),
/**
* <code>SCALAR_FUNCTION_ROUND = 15;</code>
*/
SCALAR_FUNCTION_ROUND(15),
/**
* <code>SCALAR_FUNCTION_SIGNUM = 16;</code>
*/
SCALAR_FUNCTION_SIGNUM(16),
/**
* <code>SCALAR_FUNCTION_SIN = 17;</code>
*/
SCALAR_FUNCTION_SIN(17),
/**
* <code>SCALAR_FUNCTION_SQRT = 18;</code>
*/
SCALAR_FUNCTION_SQRT(18),
/**
* <code>SCALAR_FUNCTION_TAN = 19;</code>
*/
SCALAR_FUNCTION_TAN(19),
/**
* <code>SCALAR_FUNCTION_TRUNC = 20;</code>
*/
SCALAR_FUNCTION_TRUNC(20),
/**
* <code>SCALAR_FUNCTION_ARRAY = 21;</code>
*/
SCALAR_FUNCTION_ARRAY(21),
/**
* <code>SCALAR_FUNCTION_REGEXP_MATCH = 22;</code>
*/
SCALAR_FUNCTION_REGEXP_MATCH(22),
/**
* <code>SCALAR_FUNCTION_BIT_LENGTH = 23;</code>
*/
SCALAR_FUNCTION_BIT_LENGTH(23),
/**
* <code>SCALAR_FUNCTION_BTRIM = 24;</code>
*/
SCALAR_FUNCTION_BTRIM(24),
/**
* <code>SCALAR_FUNCTION_CHARACTER_LENGTH = 25;</code>
*/
SCALAR_FUNCTION_CHARACTER_LENGTH(25),
/**
* <code>SCALAR_FUNCTION_CHR = 26;</code>
*/
SCALAR_FUNCTION_CHR(26),
/**
* <code>SCALAR_FUNCTION_CONCAT = 27;</code>
*/
SCALAR_FUNCTION_CONCAT(27),
/**
* <code>SCALAR_FUNCTION_CONCAT_WITH_SEPARATOR = 28;</code>
*/
SCALAR_FUNCTION_CONCAT_WITH_SEPARATOR(28),
/**
* <code>SCALAR_FUNCTION_DATE_PART = 29;</code>
*/
SCALAR_FUNCTION_DATE_PART(29),
/**
* <code>SCALAR_FUNCTION_DATE_TRUNC = 30;</code>
*/
SCALAR_FUNCTION_DATE_TRUNC(30),
/**
* <code>SCALAR_FUNCTION_INIT_CAP = 31;</code>
*/
SCALAR_FUNCTION_INIT_CAP(31),
/**
* <code>SCALAR_FUNCTION_LEFT = 32;</code>
*/
SCALAR_FUNCTION_LEFT(32),
/**
* <code>SCALAR_FUNCTION_LPAD = 33;</code>
*/
SCALAR_FUNCTION_LPAD(33),
/**
* <code>SCALAR_FUNCTION_LOWER = 34;</code>
*/
SCALAR_FUNCTION_LOWER(34),
/**
* <code>SCALAR_FUNCTION_LTRIM = 35;</code>
*/
SCALAR_FUNCTION_LTRIM(35),
/**
* <code>SCALAR_FUNCTION_MD5 = 36;</code>
*/
SCALAR_FUNCTION_MD5(36),
/**
* <code>SCALAR_FUNCTION_NULL_IF = 37;</code>
*/
SCALAR_FUNCTION_NULL_IF(37),
/**
* <code>SCALAR_FUNCTION_OCTET_LENGTH = 38;</code>
*/
SCALAR_FUNCTION_OCTET_LENGTH(38),
/**
* <code>SCALAR_FUNCTION_RANDOM = 39;</code>
*/
SCALAR_FUNCTION_RANDOM(39),
/**
* <code>SCALAR_FUNCTION_REGEXP_REPLACE = 40;</code>
*/
SCALAR_FUNCTION_REGEXP_REPLACE(40),
/**
* <code>SCALAR_FUNCTION_REPEAT = 41;</code>
*/
SCALAR_FUNCTION_REPEAT(41),
/**
* <code>SCALAR_FUNCTION_REPLACE = 42;</code>
*/
SCALAR_FUNCTION_REPLACE(42),
/**
* <code>SCALAR_FUNCTION_REVERSE = 43;</code>
*/
SCALAR_FUNCTION_REVERSE(43),
/**
* <code>SCALAR_FUNCTION_RIGHT = 44;</code>
*/
SCALAR_FUNCTION_RIGHT(44),
/**
* <code>SCALAR_FUNCTION_RPAD = 45;</code>
*/
SCALAR_FUNCTION_RPAD(45),
/**
* <code>SCALAR_FUNCTION_RTRIM = 46;</code>
*/
SCALAR_FUNCTION_RTRIM(46),
/**
* <code>SCALAR_FUNCTION_SHA224 = 47;</code>
*/
SCALAR_FUNCTION_SHA224(47),
/**
* <code>SCALAR_FUNCTION_SHA256 = 48;</code>
*/
SCALAR_FUNCTION_SHA256(48),
/**
* <code>SCALAR_FUNCTION_SHA384 = 49;</code>
*/
SCALAR_FUNCTION_SHA384(49),
/**
* <code>SCALAR_FUNCTION_SHA512 = 50;</code>
*/
SCALAR_FUNCTION_SHA512(50),
/**
* <code>SCALAR_FUNCTION_SPLIT_PART = 51;</code>
*/
SCALAR_FUNCTION_SPLIT_PART(51),
/**
* <code>SCALAR_FUNCTION_STARTS_WITH = 52;</code>
*/
SCALAR_FUNCTION_STARTS_WITH(52),
/**
* <code>SCALAR_FUNCTION_STRPOS = 53;</code>
*/
SCALAR_FUNCTION_STRPOS(53),
/**
* <code>SCALAR_FUNCTION_SUBSTR = 54;</code>
*/
SCALAR_FUNCTION_SUBSTR(54),
/**
* <code>SCALAR_FUNCTION_TO_HEX = 55;</code>
*/
SCALAR_FUNCTION_TO_HEX(55),
/**
* <code>SCALAR_FUNCTION_TO_TIMESTAMP = 56;</code>
*/
SCALAR_FUNCTION_TO_TIMESTAMP(56),
/**
* <code>SCALAR_FUNCTION_TO_TIMESTAMP_MILLIS = 57;</code>
*/
SCALAR_FUNCTION_TO_TIMESTAMP_MILLIS(57),
/**
* <code>SCALAR_FUNCTION_TO_TIMESTAMP_MICROS = 58;</code>
*/
SCALAR_FUNCTION_TO_TIMESTAMP_MICROS(58),
/**
* <code>SCALAR_FUNCTION_TO_TIMESTAMP_SECONDS = 59;</code>
*/
SCALAR_FUNCTION_TO_TIMESTAMP_SECONDS(59),
/**
* <code>SCALAR_FUNCTION_NOW = 60;</code>
*/
SCALAR_FUNCTION_NOW(60),
/**
* <code>SCALAR_FUNCTION_TRANSLATE = 61;</code>
*/
SCALAR_FUNCTION_TRANSLATE(61),
/**
* <code>SCALAR_FUNCTION_TRIM = 62;</code>
*/
SCALAR_FUNCTION_TRIM(62),
/**
* <code>SCALAR_FUNCTION_UPPER = 63;</code>
*/
SCALAR_FUNCTION_UPPER(63),
/**
* <code>SCALAR_FUNCTION_COALESCE = 64;</code>
*/
SCALAR_FUNCTION_COALESCE(64),
/**
* <code>SCALAR_FUNCTION_POWER = 65;</code>
*/
SCALAR_FUNCTION_POWER(65),
/**
* <code>SCALAR_FUNCTION_STRUCT_FUN = 66;</code>
*/
SCALAR_FUNCTION_STRUCT_FUN(66),
/**
* <code>SCALAR_FUNCTION_FROM_UNIXTIME = 67;</code>
*/
SCALAR_FUNCTION_FROM_UNIXTIME(67),
/**
* <code>SCALAR_FUNCTION_ATAN2 = 68;</code>
*/
SCALAR_FUNCTION_ATAN2(68),
/**
* <code>SCALAR_FUNCTION_DATE_BIN = 69;</code>
*/
SCALAR_FUNCTION_DATE_BIN(69),
/**
* <code>SCALAR_FUNCTION_ARROW_TYPEOF = 70;</code>
*/
SCALAR_FUNCTION_ARROW_TYPEOF(70),
/**
* <code>SCALAR_FUNCTION_CURRENT_DATE = 71;</code>
*/
SCALAR_FUNCTION_CURRENT_DATE(71),
/**
* <code>SCALAR_FUNCTION_CURRENT_TIME = 72;</code>
*/
SCALAR_FUNCTION_CURRENT_TIME(72),
/**
* <code>SCALAR_FUNCTION_UUID = 73;</code>
*/
SCALAR_FUNCTION_UUID(73),
/**
* <code>SCALAR_FUNCTION_CBRT = 74;</code>
*/
SCALAR_FUNCTION_CBRT(74),
/**
* <code>SCALAR_FUNCTION_ACOSH = 75;</code>
*/
SCALAR_FUNCTION_ACOSH(75),
/**
* <code>SCALAR_FUNCTION_ASINH = 76;</code>
*/
SCALAR_FUNCTION_ASINH(76),
/**
* <code>SCALAR_FUNCTION_ATANH = 77;</code>
*/
SCALAR_FUNCTION_ATANH(77),
/**
* <code>SCALAR_FUNCTION_SINH = 78;</code>
*/
SCALAR_FUNCTION_SINH(78),
/**
* <code>SCALAR_FUNCTION_COSH = 79;</code>
*/
SCALAR_FUNCTION_COSH(79),
/**
* <code>SCALAR_FUNCTION_TANH = 80;</code>
*/
SCALAR_FUNCTION_TANH(80),
/**
* <code>SCALAR_FUNCTION_PI = 81;</code>
*/
SCALAR_FUNCTION_PI(81),
/**
* <code>SCALAR_FUNCTION_DEGREES = 82;</code>
*/
SCALAR_FUNCTION_DEGREES(82),
/**
* <code>SCALAR_FUNCTION_RADIANS = 83;</code>
*/
SCALAR_FUNCTION_RADIANS(83),
/**
* <code>SCALAR_FUNCTION_FACTORIAL = 84;</code>
*/
SCALAR_FUNCTION_FACTORIAL(84),
/**
* <code>SCALAR_FUNCTION_LCM = 85;</code>
*/
SCALAR_FUNCTION_LCM(85),
/**
* <code>SCALAR_FUNCTION_GCD = 86;</code>
*/
SCALAR_FUNCTION_GCD(86),
/**
* <code>SCALAR_FUNCTION_ARRAY_APPEND = 87;</code>
*/
SCALAR_FUNCTION_ARRAY_APPEND(87),
/**
* <code>SCALAR_FUNCTION_ARRAY_CONCAT = 88;</code>
*/
SCALAR_FUNCTION_ARRAY_CONCAT(88),
/**
* <code>SCALAR_FUNCTION_ARRAY_DIMS = 89;</code>
*/
SCALAR_FUNCTION_ARRAY_DIMS(89),
/**
* <code>SCALAR_FUNCTION_ARRAY_REPEAT = 90;</code>
*/
SCALAR_FUNCTION_ARRAY_REPEAT(90),
/**
* <code>SCALAR_FUNCTION_ARRAY_LENGTH = 91;</code>
*/
SCALAR_FUNCTION_ARRAY_LENGTH(91),
/**
* <code>SCALAR_FUNCTION_ARRAY_NDIMS = 92;</code>
*/
SCALAR_FUNCTION_ARRAY_NDIMS(92),
/**
* <code>SCALAR_FUNCTION_ARRAY_POSITION = 93;</code>
*/
SCALAR_FUNCTION_ARRAY_POSITION(93),
/**
* <code>SCALAR_FUNCTION_ARRAY_POSITIONS = 94;</code>
*/
SCALAR_FUNCTION_ARRAY_POSITIONS(94),
/**
* <code>SCALAR_FUNCTION_ARRAY_PREPEND = 95;</code>
*/
SCALAR_FUNCTION_ARRAY_PREPEND(95),
/**
* <code>SCALAR_FUNCTION_ARRAY_REMOVE = 96;</code>
*/
SCALAR_FUNCTION_ARRAY_REMOVE(96),
/**
* <code>SCALAR_FUNCTION_ARRAY_REPLACE = 97;</code>
*/
SCALAR_FUNCTION_ARRAY_REPLACE(97),
/**
* <code>SCALAR_FUNCTION_ARRAY_TO_STRING = 98;</code>
*/
SCALAR_FUNCTION_ARRAY_TO_STRING(98),
/**
* <code>SCALAR_FUNCTION_CARDINALITY = 99;</code>
*/
SCALAR_FUNCTION_CARDINALITY(99),
/**
* <code>SCALAR_FUNCTION_ARRAY_ELEMENT = 100;</code>
*/
SCALAR_FUNCTION_ARRAY_ELEMENT(100),
/**
* <code>SCALAR_FUNCTION_ARRAY_SLICE = 101;</code>
*/
SCALAR_FUNCTION_ARRAY_SLICE(101),
/**
* <code>SCALAR_FUNCTION_ENCODE = 102;</code>
*/
SCALAR_FUNCTION_ENCODE(102),
/**
* <code>SCALAR_FUNCTION_DECODE = 103;</code>
*/
SCALAR_FUNCTION_DECODE(103),
/**
* <code>SCALAR_FUNCTION_COT = 104;</code>
*/
SCALAR_FUNCTION_COT(104),
/**
* <code>SCALAR_FUNCTION_ARRAY_HAS = 105;</code>
*/
SCALAR_FUNCTION_ARRAY_HAS(105),
/**
* <code>SCALAR_FUNCTION_ARRAY_HAS_ANY = 106;</code>
*/
SCALAR_FUNCTION_ARRAY_HAS_ANY(106),
/**
* <code>SCALAR_FUNCTION_ARRAY_HAS_ALL = 107;</code>
*/
SCALAR_FUNCTION_ARRAY_HAS_ALL(107),
/**
* <code>SCALAR_FUNCTION_ARRAY_REMOVE_N = 108;</code>
*/
SCALAR_FUNCTION_ARRAY_REMOVE_N(108),
/**
* <code>SCALAR_FUNCTION_ARRAY_REPLACE_N = 109;</code>
*/
SCALAR_FUNCTION_ARRAY_REPLACE_N(109),
/**
* <code>SCALAR_FUNCTION_ARRAY_REMOVE_ALL = 110;</code>
*/
SCALAR_FUNCTION_ARRAY_REMOVE_ALL(110),
/**
* <code>SCALAR_FUNCTION_ARRAY_REPLACE_ALL = 111;</code>
*/
SCALAR_FUNCTION_ARRAY_REPLACE_ALL(111),
/**
* <code>SCALAR_FUNCTION_NANVL = 112;</code>
*/
SCALAR_FUNCTION_NANVL(112),
/**
* <code>SCALAR_FUNCTION_FLATTEN = 113;</code>
*/
SCALAR_FUNCTION_FLATTEN(113),
/**
* <code>SCALAR_FUNCTION_ISNAN = 114;</code>
*/
SCALAR_FUNCTION_ISNAN(114),
/**
* <code>SCALAR_FUNCTION_ISZERO = 115;</code>
*/
SCALAR_FUNCTION_ISZERO(115),
/**
* <code>SCALAR_FUNCTION_ARRAY_EMPTY = 116;</code>
*/
SCALAR_FUNCTION_ARRAY_EMPTY(116),
/**
* <code>SCALAR_FUNCTION_ARRAY_POP_BACK = 117;</code>
*/
SCALAR_FUNCTION_ARRAY_POP_BACK(117),
/**
* <code>SCALAR_FUNCTION_STRING_TO_ARRAY = 118;</code>
*/
SCALAR_FUNCTION_STRING_TO_ARRAY(118),
/**
* <code>SCALAR_FUNCTION_TO_TIMESTAMP_NANOS = 119;</code>
*/
SCALAR_FUNCTION_TO_TIMESTAMP_NANOS(119),
/**
* <code>SCALAR_FUNCTION_ARRAY_INTERSECT = 120;</code>
*/
SCALAR_FUNCTION_ARRAY_INTERSECT(120),
/**
* <code>SCALAR_FUNCTION_ARRAY_UNION = 121;</code>
*/
SCALAR_FUNCTION_ARRAY_UNION(121),
/**
* <code>SCALAR_FUNCTION_OVER_LAY = 122;</code>
*/
SCALAR_FUNCTION_OVER_LAY(122),
/**
* <code>SCALAR_FUNCTION_RANGE = 123;</code>
*/
SCALAR_FUNCTION_RANGE(123),
/**
* <code>SCALAR_FUNCTION_ARRAY_EXCEPT = 124;</code>
*/
SCALAR_FUNCTION_ARRAY_EXCEPT(124),
/**
* <code>SCALAR_FUNCTION_ARRAY_POP_FRONT = 125;</code>
*/
SCALAR_FUNCTION_ARRAY_POP_FRONT(125),
/**
* <code>SCALAR_FUNCTION_LEVENSHTEIN = 126;</code>
*/
SCALAR_FUNCTION_LEVENSHTEIN(126),
/**
* <code>SCALAR_FUNCTION_SUBSTR_INDEX = 127;</code>
*/
SCALAR_FUNCTION_SUBSTR_INDEX(127),
/**
* <code>SCALAR_FUNCTION_FIND_IN_SET = 128;</code>
*/
SCALAR_FUNCTION_FIND_IN_SET(128),
/**
* <code>SCALAR_FUNCTION_ARRAY_SORT = 129;</code>
*/
SCALAR_FUNCTION_ARRAY_SORT(129),
/**
* <code>SCALAR_FUNCTION_ARRAY_DISTINCT = 130;</code>
*/
SCALAR_FUNCTION_ARRAY_DISTINCT(130),
UNRECOGNIZED(-1),
;
/**
* <code>SCALAR_FUNCTION_UNSPECIFIED = 0;</code>
*/
public static final int SCALAR_FUNCTION_UNSPECIFIED_VALUE = 0;
/**
* <code>SCALAR_FUNCTION_ABS = 1;</code>
*/
public static final int SCALAR_FUNCTION_ABS_VALUE = 1;
/**
* <code>SCALAR_FUNCTION_ACOS = 2;</code>
*/
public static final int SCALAR_FUNCTION_ACOS_VALUE = 2;
/**
* <code>SCALAR_FUNCTION_ASIN = 3;</code>
*/
public static final int SCALAR_FUNCTION_ASIN_VALUE = 3;
/**
* <code>SCALAR_FUNCTION_ATAN = 4;</code>
*/
public static final int SCALAR_FUNCTION_ATAN_VALUE = 4;
/**
* <code>SCALAR_FUNCTION_ASCII = 5;</code>
*/
public static final int SCALAR_FUNCTION_ASCII_VALUE = 5;
/**
* <code>SCALAR_FUNCTION_CEIL = 6;</code>
*/
public static final int SCALAR_FUNCTION_CEIL_VALUE = 6;
/**
* <code>SCALAR_FUNCTION_COS = 7;</code>
*/
public static final int SCALAR_FUNCTION_COS_VALUE = 7;
/**
* <code>SCALAR_FUNCTION_DIGEST = 8;</code>
*/
public static final int SCALAR_FUNCTION_DIGEST_VALUE = 8;
/**
* <code>SCALAR_FUNCTION_EXP = 9;</code>
*/
public static final int SCALAR_FUNCTION_EXP_VALUE = 9;
/**
* <code>SCALAR_FUNCTION_FLOOR = 10;</code>
*/
public static final int SCALAR_FUNCTION_FLOOR_VALUE = 10;
/**
* <code>SCALAR_FUNCTION_LN = 11;</code>
*/
public static final int SCALAR_FUNCTION_LN_VALUE = 11;
/**
* <code>SCALAR_FUNCTION_LOG = 12;</code>
*/
public static final int SCALAR_FUNCTION_LOG_VALUE = 12;
/**
* <code>SCALAR_FUNCTION_LOG10 = 13;</code>
*/
public static final int SCALAR_FUNCTION_LOG10_VALUE = 13;
/**
* <code>SCALAR_FUNCTION_LOG2 = 14;</code>
*/
public static final int SCALAR_FUNCTION_LOG2_VALUE = 14;
/**
* <code>SCALAR_FUNCTION_ROUND = 15;</code>
*/
public static final int SCALAR_FUNCTION_ROUND_VALUE = 15;
/**
* <code>SCALAR_FUNCTION_SIGNUM = 16;</code>
*/
public static final int SCALAR_FUNCTION_SIGNUM_VALUE = 16;
/**
* <code>SCALAR_FUNCTION_SIN = 17;</code>
*/
public static final int SCALAR_FUNCTION_SIN_VALUE = 17;
/**
* <code>SCALAR_FUNCTION_SQRT = 18;</code>
*/
public static final int SCALAR_FUNCTION_SQRT_VALUE = 18;
/**
* <code>SCALAR_FUNCTION_TAN = 19;</code>
*/
public static final int SCALAR_FUNCTION_TAN_VALUE = 19;
/**
* <code>SCALAR_FUNCTION_TRUNC = 20;</code>
*/
public static final int SCALAR_FUNCTION_TRUNC_VALUE = 20;
/**
* <code>SCALAR_FUNCTION_ARRAY = 21;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_VALUE = 21;
/**
* <code>SCALAR_FUNCTION_REGEXP_MATCH = 22;</code>
*/
public static final int SCALAR_FUNCTION_REGEXP_MATCH_VALUE = 22;
/**
* <code>SCALAR_FUNCTION_BIT_LENGTH = 23;</code>
*/
public static final int SCALAR_FUNCTION_BIT_LENGTH_VALUE = 23;
/**
* <code>SCALAR_FUNCTION_BTRIM = 24;</code>
*/
public static final int SCALAR_FUNCTION_BTRIM_VALUE = 24;
/**
* <code>SCALAR_FUNCTION_CHARACTER_LENGTH = 25;</code>
*/
public static final int SCALAR_FUNCTION_CHARACTER_LENGTH_VALUE = 25;
/**
* <code>SCALAR_FUNCTION_CHR = 26;</code>
*/
public static final int SCALAR_FUNCTION_CHR_VALUE = 26;
/**
* <code>SCALAR_FUNCTION_CONCAT = 27;</code>
*/
public static final int SCALAR_FUNCTION_CONCAT_VALUE = 27;
/**
* <code>SCALAR_FUNCTION_CONCAT_WITH_SEPARATOR = 28;</code>
*/
public static final int SCALAR_FUNCTION_CONCAT_WITH_SEPARATOR_VALUE = 28;
/**
* <code>SCALAR_FUNCTION_DATE_PART = 29;</code>
*/
public static final int SCALAR_FUNCTION_DATE_PART_VALUE = 29;
/**
* <code>SCALAR_FUNCTION_DATE_TRUNC = 30;</code>
*/
public static final int SCALAR_FUNCTION_DATE_TRUNC_VALUE = 30;
/**
* <code>SCALAR_FUNCTION_INIT_CAP = 31;</code>
*/
public static final int SCALAR_FUNCTION_INIT_CAP_VALUE = 31;
/**
* <code>SCALAR_FUNCTION_LEFT = 32;</code>
*/
public static final int SCALAR_FUNCTION_LEFT_VALUE = 32;
/**
* <code>SCALAR_FUNCTION_LPAD = 33;</code>
*/
public static final int SCALAR_FUNCTION_LPAD_VALUE = 33;
/**
* <code>SCALAR_FUNCTION_LOWER = 34;</code>
*/
public static final int SCALAR_FUNCTION_LOWER_VALUE = 34;
/**
* <code>SCALAR_FUNCTION_LTRIM = 35;</code>
*/
public static final int SCALAR_FUNCTION_LTRIM_VALUE = 35;
/**
* <code>SCALAR_FUNCTION_MD5 = 36;</code>
*/
public static final int SCALAR_FUNCTION_MD5_VALUE = 36;
/**
* <code>SCALAR_FUNCTION_NULL_IF = 37;</code>
*/
public static final int SCALAR_FUNCTION_NULL_IF_VALUE = 37;
/**
* <code>SCALAR_FUNCTION_OCTET_LENGTH = 38;</code>
*/
public static final int SCALAR_FUNCTION_OCTET_LENGTH_VALUE = 38;
/**
* <code>SCALAR_FUNCTION_RANDOM = 39;</code>
*/
public static final int SCALAR_FUNCTION_RANDOM_VALUE = 39;
/**
* <code>SCALAR_FUNCTION_REGEXP_REPLACE = 40;</code>
*/
public static final int SCALAR_FUNCTION_REGEXP_REPLACE_VALUE = 40;
/**
* <code>SCALAR_FUNCTION_REPEAT = 41;</code>
*/
public static final int SCALAR_FUNCTION_REPEAT_VALUE = 41;
/**
* <code>SCALAR_FUNCTION_REPLACE = 42;</code>
*/
public static final int SCALAR_FUNCTION_REPLACE_VALUE = 42;
/**
* <code>SCALAR_FUNCTION_REVERSE = 43;</code>
*/
public static final int SCALAR_FUNCTION_REVERSE_VALUE = 43;
/**
* <code>SCALAR_FUNCTION_RIGHT = 44;</code>
*/
public static final int SCALAR_FUNCTION_RIGHT_VALUE = 44;
/**
* <code>SCALAR_FUNCTION_RPAD = 45;</code>
*/
public static final int SCALAR_FUNCTION_RPAD_VALUE = 45;
/**
* <code>SCALAR_FUNCTION_RTRIM = 46;</code>
*/
public static final int SCALAR_FUNCTION_RTRIM_VALUE = 46;
/**
* <code>SCALAR_FUNCTION_SHA224 = 47;</code>
*/
public static final int SCALAR_FUNCTION_SHA224_VALUE = 47;
/**
* <code>SCALAR_FUNCTION_SHA256 = 48;</code>
*/
public static final int SCALAR_FUNCTION_SHA256_VALUE = 48;
/**
* <code>SCALAR_FUNCTION_SHA384 = 49;</code>
*/
public static final int SCALAR_FUNCTION_SHA384_VALUE = 49;
/**
* <code>SCALAR_FUNCTION_SHA512 = 50;</code>
*/
public static final int SCALAR_FUNCTION_SHA512_VALUE = 50;
/**
* <code>SCALAR_FUNCTION_SPLIT_PART = 51;</code>
*/
public static final int SCALAR_FUNCTION_SPLIT_PART_VALUE = 51;
/**
* <code>SCALAR_FUNCTION_STARTS_WITH = 52;</code>
*/
public static final int SCALAR_FUNCTION_STARTS_WITH_VALUE = 52;
/**
* <code>SCALAR_FUNCTION_STRPOS = 53;</code>
*/
public static final int SCALAR_FUNCTION_STRPOS_VALUE = 53;
/**
* <code>SCALAR_FUNCTION_SUBSTR = 54;</code>
*/
public static final int SCALAR_FUNCTION_SUBSTR_VALUE = 54;
/**
* <code>SCALAR_FUNCTION_TO_HEX = 55;</code>
*/
public static final int SCALAR_FUNCTION_TO_HEX_VALUE = 55;
/**
* <code>SCALAR_FUNCTION_TO_TIMESTAMP = 56;</code>
*/
public static final int SCALAR_FUNCTION_TO_TIMESTAMP_VALUE = 56;
/**
* <code>SCALAR_FUNCTION_TO_TIMESTAMP_MILLIS = 57;</code>
*/
public static final int SCALAR_FUNCTION_TO_TIMESTAMP_MILLIS_VALUE = 57;
/**
* <code>SCALAR_FUNCTION_TO_TIMESTAMP_MICROS = 58;</code>
*/
public static final int SCALAR_FUNCTION_TO_TIMESTAMP_MICROS_VALUE = 58;
/**
* <code>SCALAR_FUNCTION_TO_TIMESTAMP_SECONDS = 59;</code>
*/
public static final int SCALAR_FUNCTION_TO_TIMESTAMP_SECONDS_VALUE = 59;
/**
* <code>SCALAR_FUNCTION_NOW = 60;</code>
*/
public static final int SCALAR_FUNCTION_NOW_VALUE = 60;
/**
* <code>SCALAR_FUNCTION_TRANSLATE = 61;</code>
*/
public static final int SCALAR_FUNCTION_TRANSLATE_VALUE = 61;
/**
* <code>SCALAR_FUNCTION_TRIM = 62;</code>
*/
public static final int SCALAR_FUNCTION_TRIM_VALUE = 62;
/**
* <code>SCALAR_FUNCTION_UPPER = 63;</code>
*/
public static final int SCALAR_FUNCTION_UPPER_VALUE = 63;
/**
* <code>SCALAR_FUNCTION_COALESCE = 64;</code>
*/
public static final int SCALAR_FUNCTION_COALESCE_VALUE = 64;
/**
* <code>SCALAR_FUNCTION_POWER = 65;</code>
*/
public static final int SCALAR_FUNCTION_POWER_VALUE = 65;
/**
* <code>SCALAR_FUNCTION_STRUCT_FUN = 66;</code>
*/
public static final int SCALAR_FUNCTION_STRUCT_FUN_VALUE = 66;
/**
* <code>SCALAR_FUNCTION_FROM_UNIXTIME = 67;</code>
*/
public static final int SCALAR_FUNCTION_FROM_UNIXTIME_VALUE = 67;
/**
* <code>SCALAR_FUNCTION_ATAN2 = 68;</code>
*/
public static final int SCALAR_FUNCTION_ATAN2_VALUE = 68;
/**
* <code>SCALAR_FUNCTION_DATE_BIN = 69;</code>
*/
public static final int SCALAR_FUNCTION_DATE_BIN_VALUE = 69;
/**
* <code>SCALAR_FUNCTION_ARROW_TYPEOF = 70;</code>
*/
public static final int SCALAR_FUNCTION_ARROW_TYPEOF_VALUE = 70;
/**
* <code>SCALAR_FUNCTION_CURRENT_DATE = 71;</code>
*/
public static final int SCALAR_FUNCTION_CURRENT_DATE_VALUE = 71;
/**
* <code>SCALAR_FUNCTION_CURRENT_TIME = 72;</code>
*/
public static final int SCALAR_FUNCTION_CURRENT_TIME_VALUE = 72;
/**
* <code>SCALAR_FUNCTION_UUID = 73;</code>
*/
public static final int SCALAR_FUNCTION_UUID_VALUE = 73;
/**
* <code>SCALAR_FUNCTION_CBRT = 74;</code>
*/
public static final int SCALAR_FUNCTION_CBRT_VALUE = 74;
/**
* <code>SCALAR_FUNCTION_ACOSH = 75;</code>
*/
public static final int SCALAR_FUNCTION_ACOSH_VALUE = 75;
/**
* <code>SCALAR_FUNCTION_ASINH = 76;</code>
*/
public static final int SCALAR_FUNCTION_ASINH_VALUE = 76;
/**
* <code>SCALAR_FUNCTION_ATANH = 77;</code>
*/
public static final int SCALAR_FUNCTION_ATANH_VALUE = 77;
/**
* <code>SCALAR_FUNCTION_SINH = 78;</code>
*/
public static final int SCALAR_FUNCTION_SINH_VALUE = 78;
/**
* <code>SCALAR_FUNCTION_COSH = 79;</code>
*/
public static final int SCALAR_FUNCTION_COSH_VALUE = 79;
/**
* <code>SCALAR_FUNCTION_TANH = 80;</code>
*/
public static final int SCALAR_FUNCTION_TANH_VALUE = 80;
/**
* <code>SCALAR_FUNCTION_PI = 81;</code>
*/
public static final int SCALAR_FUNCTION_PI_VALUE = 81;
/**
* <code>SCALAR_FUNCTION_DEGREES = 82;</code>
*/
public static final int SCALAR_FUNCTION_DEGREES_VALUE = 82;
/**
* <code>SCALAR_FUNCTION_RADIANS = 83;</code>
*/
public static final int SCALAR_FUNCTION_RADIANS_VALUE = 83;
/**
* <code>SCALAR_FUNCTION_FACTORIAL = 84;</code>
*/
public static final int SCALAR_FUNCTION_FACTORIAL_VALUE = 84;
/**
* <code>SCALAR_FUNCTION_LCM = 85;</code>
*/
public static final int SCALAR_FUNCTION_LCM_VALUE = 85;
/**
* <code>SCALAR_FUNCTION_GCD = 86;</code>
*/
public static final int SCALAR_FUNCTION_GCD_VALUE = 86;
/**
* <code>SCALAR_FUNCTION_ARRAY_APPEND = 87;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_APPEND_VALUE = 87;
/**
* <code>SCALAR_FUNCTION_ARRAY_CONCAT = 88;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_CONCAT_VALUE = 88;
/**
* <code>SCALAR_FUNCTION_ARRAY_DIMS = 89;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_DIMS_VALUE = 89;
/**
* <code>SCALAR_FUNCTION_ARRAY_REPEAT = 90;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_REPEAT_VALUE = 90;
/**
* <code>SCALAR_FUNCTION_ARRAY_LENGTH = 91;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_LENGTH_VALUE = 91;
/**
* <code>SCALAR_FUNCTION_ARRAY_NDIMS = 92;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_NDIMS_VALUE = 92;
/**
* <code>SCALAR_FUNCTION_ARRAY_POSITION = 93;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_POSITION_VALUE = 93;
/**
* <code>SCALAR_FUNCTION_ARRAY_POSITIONS = 94;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_POSITIONS_VALUE = 94;
/**
* <code>SCALAR_FUNCTION_ARRAY_PREPEND = 95;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_PREPEND_VALUE = 95;
/**
* <code>SCALAR_FUNCTION_ARRAY_REMOVE = 96;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_REMOVE_VALUE = 96;
/**
* <code>SCALAR_FUNCTION_ARRAY_REPLACE = 97;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_REPLACE_VALUE = 97;
/**
* <code>SCALAR_FUNCTION_ARRAY_TO_STRING = 98;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_TO_STRING_VALUE = 98;
/**
* <code>SCALAR_FUNCTION_CARDINALITY = 99;</code>
*/
public static final int SCALAR_FUNCTION_CARDINALITY_VALUE = 99;
/**
* <code>SCALAR_FUNCTION_ARRAY_ELEMENT = 100;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_ELEMENT_VALUE = 100;
/**
* <code>SCALAR_FUNCTION_ARRAY_SLICE = 101;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_SLICE_VALUE = 101;
/**
* <code>SCALAR_FUNCTION_ENCODE = 102;</code>
*/
public static final int SCALAR_FUNCTION_ENCODE_VALUE = 102;
/**
* <code>SCALAR_FUNCTION_DECODE = 103;</code>
*/
public static final int SCALAR_FUNCTION_DECODE_VALUE = 103;
/**
* <code>SCALAR_FUNCTION_COT = 104;</code>
*/
public static final int SCALAR_FUNCTION_COT_VALUE = 104;
/**
* <code>SCALAR_FUNCTION_ARRAY_HAS = 105;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_HAS_VALUE = 105;
/**
* <code>SCALAR_FUNCTION_ARRAY_HAS_ANY = 106;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_HAS_ANY_VALUE = 106;
/**
* <code>SCALAR_FUNCTION_ARRAY_HAS_ALL = 107;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_HAS_ALL_VALUE = 107;
/**
* <code>SCALAR_FUNCTION_ARRAY_REMOVE_N = 108;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_REMOVE_N_VALUE = 108;
/**
* <code>SCALAR_FUNCTION_ARRAY_REPLACE_N = 109;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_REPLACE_N_VALUE = 109;
/**
* <code>SCALAR_FUNCTION_ARRAY_REMOVE_ALL = 110;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_REMOVE_ALL_VALUE = 110;
/**
* <code>SCALAR_FUNCTION_ARRAY_REPLACE_ALL = 111;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_REPLACE_ALL_VALUE = 111;
/**
* <code>SCALAR_FUNCTION_NANVL = 112;</code>
*/
public static final int SCALAR_FUNCTION_NANVL_VALUE = 112;
/**
* <code>SCALAR_FUNCTION_FLATTEN = 113;</code>
*/
public static final int SCALAR_FUNCTION_FLATTEN_VALUE = 113;
/**
* <code>SCALAR_FUNCTION_ISNAN = 114;</code>
*/
public static final int SCALAR_FUNCTION_ISNAN_VALUE = 114;
/**
* <code>SCALAR_FUNCTION_ISZERO = 115;</code>
*/
public static final int SCALAR_FUNCTION_ISZERO_VALUE = 115;
/**
* <code>SCALAR_FUNCTION_ARRAY_EMPTY = 116;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_EMPTY_VALUE = 116;
/**
* <code>SCALAR_FUNCTION_ARRAY_POP_BACK = 117;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_POP_BACK_VALUE = 117;
/**
* <code>SCALAR_FUNCTION_STRING_TO_ARRAY = 118;</code>
*/
public static final int SCALAR_FUNCTION_STRING_TO_ARRAY_VALUE = 118;
/**
* <code>SCALAR_FUNCTION_TO_TIMESTAMP_NANOS = 119;</code>
*/
public static final int SCALAR_FUNCTION_TO_TIMESTAMP_NANOS_VALUE = 119;
/**
* <code>SCALAR_FUNCTION_ARRAY_INTERSECT = 120;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_INTERSECT_VALUE = 120;
/**
* <code>SCALAR_FUNCTION_ARRAY_UNION = 121;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_UNION_VALUE = 121;
/**
* <code>SCALAR_FUNCTION_OVER_LAY = 122;</code>
*/
public static final int SCALAR_FUNCTION_OVER_LAY_VALUE = 122;
/**
* <code>SCALAR_FUNCTION_RANGE = 123;</code>
*/
public static final int SCALAR_FUNCTION_RANGE_VALUE = 123;
/**
* <code>SCALAR_FUNCTION_ARRAY_EXCEPT = 124;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_EXCEPT_VALUE = 124;
/**
* <code>SCALAR_FUNCTION_ARRAY_POP_FRONT = 125;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_POP_FRONT_VALUE = 125;
/**
* <code>SCALAR_FUNCTION_LEVENSHTEIN = 126;</code>
*/
public static final int SCALAR_FUNCTION_LEVENSHTEIN_VALUE = 126;
/**
* <code>SCALAR_FUNCTION_SUBSTR_INDEX = 127;</code>
*/
public static final int SCALAR_FUNCTION_SUBSTR_INDEX_VALUE = 127;
/**
* <code>SCALAR_FUNCTION_FIND_IN_SET = 128;</code>
*/
public static final int SCALAR_FUNCTION_FIND_IN_SET_VALUE = 128;
/**
* <code>SCALAR_FUNCTION_ARRAY_SORT = 129;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_SORT_VALUE = 129;
/**
* <code>SCALAR_FUNCTION_ARRAY_DISTINCT = 130;</code>
*/
public static final int SCALAR_FUNCTION_ARRAY_DISTINCT_VALUE = 130;
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 ScalarFunction 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 ScalarFunction forNumber(int value) {
switch (value) {
case 0: return SCALAR_FUNCTION_UNSPECIFIED;
case 1: return SCALAR_FUNCTION_ABS;
case 2: return SCALAR_FUNCTION_ACOS;
case 3: return SCALAR_FUNCTION_ASIN;
case 4: return SCALAR_FUNCTION_ATAN;
case 5: return SCALAR_FUNCTION_ASCII;
case 6: return SCALAR_FUNCTION_CEIL;
case 7: return SCALAR_FUNCTION_COS;
case 8: return SCALAR_FUNCTION_DIGEST;
case 9: return SCALAR_FUNCTION_EXP;
case 10: return SCALAR_FUNCTION_FLOOR;
case 11: return SCALAR_FUNCTION_LN;
case 12: return SCALAR_FUNCTION_LOG;
case 13: return SCALAR_FUNCTION_LOG10;
case 14: return SCALAR_FUNCTION_LOG2;
case 15: return SCALAR_FUNCTION_ROUND;
case 16: return SCALAR_FUNCTION_SIGNUM;
case 17: return SCALAR_FUNCTION_SIN;
case 18: return SCALAR_FUNCTION_SQRT;
case 19: return SCALAR_FUNCTION_TAN;
case 20: return SCALAR_FUNCTION_TRUNC;
case 21: return SCALAR_FUNCTION_ARRAY;
case 22: return SCALAR_FUNCTION_REGEXP_MATCH;
case 23: return SCALAR_FUNCTION_BIT_LENGTH;
case 24: return SCALAR_FUNCTION_BTRIM;
case 25: return SCALAR_FUNCTION_CHARACTER_LENGTH;
case 26: return SCALAR_FUNCTION_CHR;
case 27: return SCALAR_FUNCTION_CONCAT;
case 28: return SCALAR_FUNCTION_CONCAT_WITH_SEPARATOR;
case 29: return SCALAR_FUNCTION_DATE_PART;
case 30: return SCALAR_FUNCTION_DATE_TRUNC;
case 31: return SCALAR_FUNCTION_INIT_CAP;
case 32: return SCALAR_FUNCTION_LEFT;
case 33: return SCALAR_FUNCTION_LPAD;
case 34: return SCALAR_FUNCTION_LOWER;
case 35: return SCALAR_FUNCTION_LTRIM;
case 36: return SCALAR_FUNCTION_MD5;
case 37: return SCALAR_FUNCTION_NULL_IF;
case 38: return SCALAR_FUNCTION_OCTET_LENGTH;
case 39: return SCALAR_FUNCTION_RANDOM;
case 40: return SCALAR_FUNCTION_REGEXP_REPLACE;
case 41: return SCALAR_FUNCTION_REPEAT;
case 42: return SCALAR_FUNCTION_REPLACE;
case 43: return SCALAR_FUNCTION_REVERSE;
case 44: return SCALAR_FUNCTION_RIGHT;
case 45: return SCALAR_FUNCTION_RPAD;
case 46: return SCALAR_FUNCTION_RTRIM;
case 47: return SCALAR_FUNCTION_SHA224;
case 48: return SCALAR_FUNCTION_SHA256;
case 49: return SCALAR_FUNCTION_SHA384;
case 50: return SCALAR_FUNCTION_SHA512;
case 51: return SCALAR_FUNCTION_SPLIT_PART;
case 52: return SCALAR_FUNCTION_STARTS_WITH;
case 53: return SCALAR_FUNCTION_STRPOS;
case 54: return SCALAR_FUNCTION_SUBSTR;
case 55: return SCALAR_FUNCTION_TO_HEX;
case 56: return SCALAR_FUNCTION_TO_TIMESTAMP;
case 57: return SCALAR_FUNCTION_TO_TIMESTAMP_MILLIS;
case 58: return SCALAR_FUNCTION_TO_TIMESTAMP_MICROS;
case 59: return SCALAR_FUNCTION_TO_TIMESTAMP_SECONDS;
case 60: return SCALAR_FUNCTION_NOW;
case 61: return SCALAR_FUNCTION_TRANSLATE;
case 62: return SCALAR_FUNCTION_TRIM;
case 63: return SCALAR_FUNCTION_UPPER;
case 64: return SCALAR_FUNCTION_COALESCE;
case 65: return SCALAR_FUNCTION_POWER;
case 66: return SCALAR_FUNCTION_STRUCT_FUN;
case 67: return SCALAR_FUNCTION_FROM_UNIXTIME;
case 68: return SCALAR_FUNCTION_ATAN2;
case 69: return SCALAR_FUNCTION_DATE_BIN;
case 70: return SCALAR_FUNCTION_ARROW_TYPEOF;
case 71: return SCALAR_FUNCTION_CURRENT_DATE;
case 72: return SCALAR_FUNCTION_CURRENT_TIME;
case 73: return SCALAR_FUNCTION_UUID;
case 74: return SCALAR_FUNCTION_CBRT;
case 75: return SCALAR_FUNCTION_ACOSH;
case 76: return SCALAR_FUNCTION_ASINH;
case 77: return SCALAR_FUNCTION_ATANH;
case 78: return SCALAR_FUNCTION_SINH;
case 79: return SCALAR_FUNCTION_COSH;
case 80: return SCALAR_FUNCTION_TANH;
case 81: return SCALAR_FUNCTION_PI;
case 82: return SCALAR_FUNCTION_DEGREES;
case 83: return SCALAR_FUNCTION_RADIANS;
case 84: return SCALAR_FUNCTION_FACTORIAL;
case 85: return SCALAR_FUNCTION_LCM;
case 86: return SCALAR_FUNCTION_GCD;
case 87: return SCALAR_FUNCTION_ARRAY_APPEND;
case 88: return SCALAR_FUNCTION_ARRAY_CONCAT;
case 89: return SCALAR_FUNCTION_ARRAY_DIMS;
case 90: return SCALAR_FUNCTION_ARRAY_REPEAT;
case 91: return SCALAR_FUNCTION_ARRAY_LENGTH;
case 92: return SCALAR_FUNCTION_ARRAY_NDIMS;
case 93: return SCALAR_FUNCTION_ARRAY_POSITION;
case 94: return SCALAR_FUNCTION_ARRAY_POSITIONS;
case 95: return SCALAR_FUNCTION_ARRAY_PREPEND;
case 96: return SCALAR_FUNCTION_ARRAY_REMOVE;
case 97: return SCALAR_FUNCTION_ARRAY_REPLACE;
case 98: return SCALAR_FUNCTION_ARRAY_TO_STRING;
case 99: return SCALAR_FUNCTION_CARDINALITY;
case 100: return SCALAR_FUNCTION_ARRAY_ELEMENT;
case 101: return SCALAR_FUNCTION_ARRAY_SLICE;
case 102: return SCALAR_FUNCTION_ENCODE;
case 103: return SCALAR_FUNCTION_DECODE;
case 104: return SCALAR_FUNCTION_COT;
case 105: return SCALAR_FUNCTION_ARRAY_HAS;
case 106: return SCALAR_FUNCTION_ARRAY_HAS_ANY;
case 107: return SCALAR_FUNCTION_ARRAY_HAS_ALL;
case 108: return SCALAR_FUNCTION_ARRAY_REMOVE_N;
case 109: return SCALAR_FUNCTION_ARRAY_REPLACE_N;
case 110: return SCALAR_FUNCTION_ARRAY_REMOVE_ALL;
case 111: return SCALAR_FUNCTION_ARRAY_REPLACE_ALL;
case 112: return SCALAR_FUNCTION_NANVL;
case 113: return SCALAR_FUNCTION_FLATTEN;
case 114: return SCALAR_FUNCTION_ISNAN;
case 115: return SCALAR_FUNCTION_ISZERO;
case 116: return SCALAR_FUNCTION_ARRAY_EMPTY;
case 117: return SCALAR_FUNCTION_ARRAY_POP_BACK;
case 118: return SCALAR_FUNCTION_STRING_TO_ARRAY;
case 119: return SCALAR_FUNCTION_TO_TIMESTAMP_NANOS;
case 120: return SCALAR_FUNCTION_ARRAY_INTERSECT;
case 121: return SCALAR_FUNCTION_ARRAY_UNION;
case 122: return SCALAR_FUNCTION_OVER_LAY;
case 123: return SCALAR_FUNCTION_RANGE;
case 124: return SCALAR_FUNCTION_ARRAY_EXCEPT;
case 125: return SCALAR_FUNCTION_ARRAY_POP_FRONT;
case 126: return SCALAR_FUNCTION_LEVENSHTEIN;
case 127: return SCALAR_FUNCTION_SUBSTR_INDEX;
case 128: return SCALAR_FUNCTION_FIND_IN_SET;
case 129: return SCALAR_FUNCTION_ARRAY_SORT;
case 130: return SCALAR_FUNCTION_ARRAY_DISTINCT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ScalarFunction>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ScalarFunction> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ScalarFunction>() {
public ScalarFunction findValueByNumber(int number) {
return ScalarFunction.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.getDescriptor().getEnumTypes().get(0);
}
private static final ScalarFunction[] VALUES = values();
public static ScalarFunction 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 ScalarFunction(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:chalk.expression.v1.ScalarFunction)
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ScalarFunctionNode.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.ScalarFunctionNode}
*/
public final class ScalarFunctionNode extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.ScalarFunctionNode)
ScalarFunctionNodeOrBuilder {
private static final long serialVersionUID = 0L;
// Use ScalarFunctionNode.newBuilder() to construct.
private ScalarFunctionNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ScalarFunctionNode() {
fun_ = 0;
args_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ScalarFunctionNode();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ScalarFunctionNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ScalarFunctionNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.class, ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.Builder.class);
}
public static final int FUN_FIELD_NUMBER = 1;
private int fun_ = 0;
/**
* <code>.chalk.expression.v1.ScalarFunction fun = 1 [json_name = "fun"];</code>
* @return The enum numeric value on the wire for fun.
*/
@java.lang.Override public int getFunValue() {
return fun_;
}
/**
* <code>.chalk.expression.v1.ScalarFunction fun = 1 [json_name = "fun"];</code>
* @return The fun.
*/
@java.lang.Override public ai.chalk.protos.chalk.expression.v1.ScalarFunction getFun() {
ai.chalk.protos.chalk.expression.v1.ScalarFunction result = ai.chalk.protos.chalk.expression.v1.ScalarFunction.forNumber(fun_);
return result == null ? ai.chalk.protos.chalk.expression.v1.ScalarFunction.UNRECOGNIZED : result;
}
public static final int ARGS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> args_;
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getArgsList() {
return args_;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getArgsOrBuilderList() {
return args_;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public int getArgsCount() {
return args_.size();
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getArgs(int index) {
return args_.get(index);
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getArgsOrBuilder(
int index) {
return args_.get(index);
}
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 (fun_ != ai.chalk.protos.chalk.expression.v1.ScalarFunction.SCALAR_FUNCTION_UNSPECIFIED.getNumber()) {
output.writeEnum(1, fun_);
}
for (int i = 0; i < args_.size(); i++) {
output.writeMessage(2, args_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (fun_ != ai.chalk.protos.chalk.expression.v1.ScalarFunction.SCALAR_FUNCTION_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, fun_);
}
for (int i = 0; i < args_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, args_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode other = (ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode) obj;
if (fun_ != other.fun_) return false;
if (!getArgsList()
.equals(other.getArgsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FUN_FIELD_NUMBER;
hash = (53 * hash) + fun_;
if (getArgsCount() > 0) {
hash = (37 * hash) + ARGS_FIELD_NUMBER;
hash = (53 * hash) + getArgsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.ScalarFunctionNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.ScalarFunctionNode)
ai.chalk.protos.chalk.expression.v1.ScalarFunctionNodeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ScalarFunctionNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ScalarFunctionNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.class, ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
fun_ = 0;
if (argsBuilder_ == null) {
args_ = java.util.Collections.emptyList();
} else {
args_ = null;
argsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ScalarFunctionNode_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode build() {
ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode buildPartial() {
ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode result = new ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode result) {
if (argsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
args_ = java.util.Collections.unmodifiableList(args_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.args_ = args_;
} else {
result.args_ = argsBuilder_.build();
}
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.fun_ = fun_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode other) {
if (other == ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode.getDefaultInstance()) return this;
if (other.fun_ != 0) {
setFunValue(other.getFunValue());
}
if (argsBuilder_ == null) {
if (!other.args_.isEmpty()) {
if (args_.isEmpty()) {
args_ = other.args_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureArgsIsMutable();
args_.addAll(other.args_);
}
onChanged();
}
} else {
if (!other.args_.isEmpty()) {
if (argsBuilder_.isEmpty()) {
argsBuilder_.dispose();
argsBuilder_ = null;
args_ = other.args_;
bitField0_ = (bitField0_ & ~0x00000002);
argsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getArgsFieldBuilder() : null;
} else {
argsBuilder_.addAllMessages(other.args_);
}
}
}
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: {
fun_ = input.readEnum();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
ai.chalk.protos.chalk.expression.v1.LogicalExprNode m =
input.readMessage(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(),
extensionRegistry);
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(m);
} else {
argsBuilder_.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 int fun_ = 0;
/**
* <code>.chalk.expression.v1.ScalarFunction fun = 1 [json_name = "fun"];</code>
* @return The enum numeric value on the wire for fun.
*/
@java.lang.Override public int getFunValue() {
return fun_;
}
/**
* <code>.chalk.expression.v1.ScalarFunction fun = 1 [json_name = "fun"];</code>
* @param value The enum numeric value on the wire for fun to set.
* @return This builder for chaining.
*/
public Builder setFunValue(int value) {
fun_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.ScalarFunction fun = 1 [json_name = "fun"];</code>
* @return The fun.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ScalarFunction getFun() {
ai.chalk.protos.chalk.expression.v1.ScalarFunction result = ai.chalk.protos.chalk.expression.v1.ScalarFunction.forNumber(fun_);
return result == null ? ai.chalk.protos.chalk.expression.v1.ScalarFunction.UNRECOGNIZED : result;
}
/**
* <code>.chalk.expression.v1.ScalarFunction fun = 1 [json_name = "fun"];</code>
* @param value The fun to set.
* @return This builder for chaining.
*/
public Builder setFun(ai.chalk.protos.chalk.expression.v1.ScalarFunction value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
fun_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.ScalarFunction fun = 1 [json_name = "fun"];</code>
* @return This builder for chaining.
*/
public Builder clearFun() {
bitField0_ = (bitField0_ & ~0x00000001);
fun_ = 0;
onChanged();
return this;
}
private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> args_ =
java.util.Collections.emptyList();
private void ensureArgsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
args_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(args_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> argsBuilder_;
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getArgsList() {
if (argsBuilder_ == null) {
return java.util.Collections.unmodifiableList(args_);
} else {
return argsBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public int getArgsCount() {
if (argsBuilder_ == null) {
return args_.size();
} else {
return argsBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getArgs(int index) {
if (argsBuilder_ == null) {
return args_.get(index);
} else {
return argsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder setArgs(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.set(index, value);
onChanged();
} else {
argsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder setArgs(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.set(index, builderForValue.build());
onChanged();
} else {
argsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder addArgs(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.add(value);
onChanged();
} else {
argsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder addArgs(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.add(index, value);
onChanged();
} else {
argsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder addArgs(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(builderForValue.build());
onChanged();
} else {
argsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder addArgs(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(index, builderForValue.build());
onChanged();
} else {
argsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder addAllArgs(
java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, args_);
onChanged();
} else {
argsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder clearArgs() {
if (argsBuilder_ == null) {
args_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
argsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder removeArgs(int index) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.remove(index);
onChanged();
} else {
argsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getArgsBuilder(
int index) {
return getArgsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getArgsOrBuilder(
int index) {
if (argsBuilder_ == null) {
return args_.get(index); } else {
return argsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getArgsOrBuilderList() {
if (argsBuilder_ != null) {
return argsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(args_);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addArgsBuilder() {
return getArgsFieldBuilder().addBuilder(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance());
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addArgsBuilder(
int index) {
return getArgsFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance());
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder>
getArgsBuilderList() {
return getArgsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getArgsFieldBuilder() {
if (argsBuilder_ == null) {
argsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
args_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
args_ = null;
}
return argsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.ScalarFunctionNode)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.ScalarFunctionNode)
private static final ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode();
}
public static ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ScalarFunctionNode>
PARSER = new com.google.protobuf.AbstractParser<ScalarFunctionNode>() {
@java.lang.Override
public ScalarFunctionNode 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<ScalarFunctionNode> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ScalarFunctionNode> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ScalarFunctionNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ScalarFunctionNodeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface ScalarFunctionNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.ScalarFunctionNode)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.expression.v1.ScalarFunction fun = 1 [json_name = "fun"];</code>
* @return The enum numeric value on the wire for fun.
*/
int getFunValue();
/**
* <code>.chalk.expression.v1.ScalarFunction fun = 1 [json_name = "fun"];</code>
* @return The fun.
*/
ai.chalk.protos.chalk.expression.v1.ScalarFunction getFun();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>
getArgsList();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getArgs(int index);
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
int getArgsCount();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getArgsOrBuilderList();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getArgsOrBuilder(
int index);
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ScalarUDFExprNode.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.ScalarUDFExprNode}
*/
public final class ScalarUDFExprNode extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.ScalarUDFExprNode)
ScalarUDFExprNodeOrBuilder {
private static final long serialVersionUID = 0L;
// Use ScalarUDFExprNode.newBuilder() to construct.
private ScalarUDFExprNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ScalarUDFExprNode() {
funName_ = "";
args_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ScalarUDFExprNode();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ScalarUDFExprNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ScalarUDFExprNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.class, ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.Builder.class);
}
public static final int FUN_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object funName_ = "";
/**
* <code>string fun_name = 1 [json_name = "funName"];</code>
* @return The funName.
*/
@java.lang.Override
public java.lang.String getFunName() {
java.lang.Object ref = funName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
funName_ = s;
return s;
}
}
/**
* <code>string fun_name = 1 [json_name = "funName"];</code>
* @return The bytes for funName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFunNameBytes() {
java.lang.Object ref = funName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
funName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ARGS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> args_;
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getArgsList() {
return args_;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getArgsOrBuilderList() {
return args_;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public int getArgsCount() {
return args_.size();
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getArgs(int index) {
return args_.get(index);
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getArgsOrBuilder(
int index) {
return args_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(funName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, funName_);
}
for (int i = 0; i < args_.size(); i++) {
output.writeMessage(2, args_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(funName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, funName_);
}
for (int i = 0; i < args_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, args_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode other = (ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode) obj;
if (!getFunName()
.equals(other.getFunName())) return false;
if (!getArgsList()
.equals(other.getArgsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FUN_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFunName().hashCode();
if (getArgsCount() > 0) {
hash = (37 * hash) + ARGS_FIELD_NUMBER;
hash = (53 * hash) + getArgsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.ScalarUDFExprNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.ScalarUDFExprNode)
ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNodeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ScalarUDFExprNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ScalarUDFExprNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.class, ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
funName_ = "";
if (argsBuilder_ == null) {
args_ = java.util.Collections.emptyList();
} else {
args_ = null;
argsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ScalarUDFExprNode_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode build() {
ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode buildPartial() {
ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode result = new ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode result) {
if (argsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
args_ = java.util.Collections.unmodifiableList(args_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.args_ = args_;
} else {
result.args_ = argsBuilder_.build();
}
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.funName_ = funName_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode other) {
if (other == ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode.getDefaultInstance()) return this;
if (!other.getFunName().isEmpty()) {
funName_ = other.funName_;
bitField0_ |= 0x00000001;
onChanged();
}
if (argsBuilder_ == null) {
if (!other.args_.isEmpty()) {
if (args_.isEmpty()) {
args_ = other.args_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureArgsIsMutable();
args_.addAll(other.args_);
}
onChanged();
}
} else {
if (!other.args_.isEmpty()) {
if (argsBuilder_.isEmpty()) {
argsBuilder_.dispose();
argsBuilder_ = null;
args_ = other.args_;
bitField0_ = (bitField0_ & ~0x00000002);
argsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getArgsFieldBuilder() : null;
} else {
argsBuilder_.addAllMessages(other.args_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
funName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
ai.chalk.protos.chalk.expression.v1.LogicalExprNode m =
input.readMessage(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(),
extensionRegistry);
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(m);
} else {
argsBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object funName_ = "";
/**
* <code>string fun_name = 1 [json_name = "funName"];</code>
* @return The funName.
*/
public java.lang.String getFunName() {
java.lang.Object ref = funName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
funName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string fun_name = 1 [json_name = "funName"];</code>
* @return The bytes for funName.
*/
public com.google.protobuf.ByteString
getFunNameBytes() {
java.lang.Object ref = funName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
funName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string fun_name = 1 [json_name = "funName"];</code>
* @param value The funName to set.
* @return This builder for chaining.
*/
public Builder setFunName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
funName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string fun_name = 1 [json_name = "funName"];</code>
* @return This builder for chaining.
*/
public Builder clearFunName() {
funName_ = getDefaultInstance().getFunName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string fun_name = 1 [json_name = "funName"];</code>
* @param value The bytes for funName to set.
* @return This builder for chaining.
*/
public Builder setFunNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
funName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> args_ =
java.util.Collections.emptyList();
private void ensureArgsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
args_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(args_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> argsBuilder_;
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getArgsList() {
if (argsBuilder_ == null) {
return java.util.Collections.unmodifiableList(args_);
} else {
return argsBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public int getArgsCount() {
if (argsBuilder_ == null) {
return args_.size();
} else {
return argsBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getArgs(int index) {
if (argsBuilder_ == null) {
return args_.get(index);
} else {
return argsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder setArgs(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.set(index, value);
onChanged();
} else {
argsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder setArgs(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.set(index, builderForValue.build());
onChanged();
} else {
argsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder addArgs(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.add(value);
onChanged();
} else {
argsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder addArgs(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.add(index, value);
onChanged();
} else {
argsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder addArgs(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(builderForValue.build());
onChanged();
} else {
argsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder addArgs(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(index, builderForValue.build());
onChanged();
} else {
argsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder addAllArgs(
java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, args_);
onChanged();
} else {
argsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder clearArgs() {
if (argsBuilder_ == null) {
args_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
argsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public Builder removeArgs(int index) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.remove(index);
onChanged();
} else {
argsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getArgsBuilder(
int index) {
return getArgsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getArgsOrBuilder(
int index) {
if (argsBuilder_ == null) {
return args_.get(index); } else {
return argsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getArgsOrBuilderList() {
if (argsBuilder_ != null) {
return argsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(args_);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addArgsBuilder() {
return getArgsFieldBuilder().addBuilder(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance());
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addArgsBuilder(
int index) {
return getArgsFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance());
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder>
getArgsBuilderList() {
return getArgsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getArgsFieldBuilder() {
if (argsBuilder_ == null) {
argsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
args_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
args_ = null;
}
return argsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.ScalarUDFExprNode)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.ScalarUDFExprNode)
private static final ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode();
}
public static ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ScalarUDFExprNode>
PARSER = new com.google.protobuf.AbstractParser<ScalarUDFExprNode>() {
@java.lang.Override
public ScalarUDFExprNode 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<ScalarUDFExprNode> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ScalarUDFExprNode> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.ScalarUDFExprNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ScalarUDFExprNodeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface ScalarUDFExprNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.ScalarUDFExprNode)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string fun_name = 1 [json_name = "funName"];</code>
* @return The funName.
*/
java.lang.String getFunName();
/**
* <code>string fun_name = 1 [json_name = "funName"];</code>
* @return The bytes for funName.
*/
com.google.protobuf.ByteString
getFunNameBytes();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>
getArgsList();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getArgs(int index);
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
int getArgsCount();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getArgsOrBuilderList();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getArgsOrBuilder(
int index);
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/SimilarToNode.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.SimilarToNode}
*/
public final class SimilarToNode extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.SimilarToNode)
SimilarToNodeOrBuilder {
private static final long serialVersionUID = 0L;
// Use SimilarToNode.newBuilder() to construct.
private SimilarToNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private SimilarToNode() {
escapeChar_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SimilarToNode();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_SimilarToNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_SimilarToNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.SimilarToNode.class, ai.chalk.protos.chalk.expression.v1.SimilarToNode.Builder.class);
}
private int bitField0_;
public static final int NEGATED_FIELD_NUMBER = 1;
private boolean negated_ = false;
/**
* <code>bool negated = 1 [json_name = "negated"];</code>
* @return The negated.
*/
@java.lang.Override
public boolean getNegated() {
return negated_;
}
public static final int EXPR_FIELD_NUMBER = 2;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
@java.lang.Override
public boolean hasExpr() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
* @return The expr.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
public static final int PATTERN_FIELD_NUMBER = 3;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode pattern_;
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
* @return Whether the pattern field is set.
*/
@java.lang.Override
public boolean hasPattern() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
* @return The pattern.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getPattern() {
return pattern_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : pattern_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getPatternOrBuilder() {
return pattern_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : pattern_;
}
public static final int ESCAPE_CHAR_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object escapeChar_ = "";
/**
* <code>string escape_char = 4 [json_name = "escapeChar"];</code>
* @return The escapeChar.
*/
@java.lang.Override
public java.lang.String getEscapeChar() {
java.lang.Object ref = escapeChar_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
escapeChar_ = s;
return s;
}
}
/**
* <code>string escape_char = 4 [json_name = "escapeChar"];</code>
* @return The bytes for escapeChar.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEscapeCharBytes() {
java.lang.Object ref = escapeChar_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
escapeChar_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (negated_ != false) {
output.writeBool(1, negated_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getExpr());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(3, getPattern());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(escapeChar_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, escapeChar_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (negated_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, negated_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getExpr());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getPattern());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(escapeChar_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, escapeChar_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.SimilarToNode)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.SimilarToNode other = (ai.chalk.protos.chalk.expression.v1.SimilarToNode) obj;
if (getNegated()
!= other.getNegated()) return false;
if (hasExpr() != other.hasExpr()) return false;
if (hasExpr()) {
if (!getExpr()
.equals(other.getExpr())) return false;
}
if (hasPattern() != other.hasPattern()) return false;
if (hasPattern()) {
if (!getPattern()
.equals(other.getPattern())) return false;
}
if (!getEscapeChar()
.equals(other.getEscapeChar())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NEGATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNegated());
if (hasExpr()) {
hash = (37 * hash) + EXPR_FIELD_NUMBER;
hash = (53 * hash) + getExpr().hashCode();
}
if (hasPattern()) {
hash = (37 * hash) + PATTERN_FIELD_NUMBER;
hash = (53 * hash) + getPattern().hashCode();
}
hash = (37 * hash) + ESCAPE_CHAR_FIELD_NUMBER;
hash = (53 * hash) + getEscapeChar().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.SimilarToNode prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.SimilarToNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.SimilarToNode)
ai.chalk.protos.chalk.expression.v1.SimilarToNodeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_SimilarToNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_SimilarToNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.SimilarToNode.class, ai.chalk.protos.chalk.expression.v1.SimilarToNode.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.SimilarToNode.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getExprFieldBuilder();
getPatternFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
negated_ = false;
expr_ = null;
if (exprBuilder_ != null) {
exprBuilder_.dispose();
exprBuilder_ = null;
}
pattern_ = null;
if (patternBuilder_ != null) {
patternBuilder_.dispose();
patternBuilder_ = null;
}
escapeChar_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_SimilarToNode_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.SimilarToNode getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.SimilarToNode.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.SimilarToNode build() {
ai.chalk.protos.chalk.expression.v1.SimilarToNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.SimilarToNode buildPartial() {
ai.chalk.protos.chalk.expression.v1.SimilarToNode result = new ai.chalk.protos.chalk.expression.v1.SimilarToNode(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.SimilarToNode result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.negated_ = negated_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.expr_ = exprBuilder_ == null
? expr_
: exprBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.pattern_ = patternBuilder_ == null
? pattern_
: patternBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.escapeChar_ = escapeChar_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.SimilarToNode) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.SimilarToNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.SimilarToNode other) {
if (other == ai.chalk.protos.chalk.expression.v1.SimilarToNode.getDefaultInstance()) return this;
if (other.getNegated() != false) {
setNegated(other.getNegated());
}
if (other.hasExpr()) {
mergeExpr(other.getExpr());
}
if (other.hasPattern()) {
mergePattern(other.getPattern());
}
if (!other.getEscapeChar().isEmpty()) {
escapeChar_ = other.escapeChar_;
bitField0_ |= 0x00000008;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
negated_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
input.readMessage(
getExprFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getPatternFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
escapeChar_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean negated_ ;
/**
* <code>bool negated = 1 [json_name = "negated"];</code>
* @return The negated.
*/
@java.lang.Override
public boolean getNegated() {
return negated_;
}
/**
* <code>bool negated = 1 [json_name = "negated"];</code>
* @param value The negated to set.
* @return This builder for chaining.
*/
public Builder setNegated(boolean value) {
negated_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>bool negated = 1 [json_name = "negated"];</code>
* @return This builder for chaining.
*/
public Builder clearNegated() {
bitField0_ = (bitField0_ & ~0x00000001);
negated_ = false;
onChanged();
return this;
}
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
public boolean hasExpr() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
* @return The expr.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() {
if (exprBuilder_ == null) {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
} else {
return exprBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
*/
public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expr_ = value;
} else {
exprBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
*/
public Builder setExpr(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (exprBuilder_ == null) {
expr_ = builderForValue.build();
} else {
exprBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
*/
public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
expr_ != null &&
expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getExprBuilder().mergeFrom(value);
} else {
expr_ = value;
}
} else {
exprBuilder_.mergeFrom(value);
}
if (expr_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
*/
public Builder clearExpr() {
bitField0_ = (bitField0_ & ~0x00000002);
expr_ = null;
if (exprBuilder_ != null) {
exprBuilder_.dispose();
exprBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getExprFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() {
if (exprBuilder_ != null) {
return exprBuilder_.getMessageOrBuilder();
} else {
return expr_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprFieldBuilder() {
if (exprBuilder_ == null) {
exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getExpr(),
getParentForChildren(),
isClean());
expr_ = null;
}
return exprBuilder_;
}
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode pattern_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> patternBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
* @return Whether the pattern field is set.
*/
public boolean hasPattern() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
* @return The pattern.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getPattern() {
if (patternBuilder_ == null) {
return pattern_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : pattern_;
} else {
return patternBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
*/
public Builder setPattern(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (patternBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pattern_ = value;
} else {
patternBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
*/
public Builder setPattern(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (patternBuilder_ == null) {
pattern_ = builderForValue.build();
} else {
patternBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
*/
public Builder mergePattern(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (patternBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
pattern_ != null &&
pattern_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getPatternBuilder().mergeFrom(value);
} else {
pattern_ = value;
}
} else {
patternBuilder_.mergeFrom(value);
}
if (pattern_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
*/
public Builder clearPattern() {
bitField0_ = (bitField0_ & ~0x00000004);
pattern_ = null;
if (patternBuilder_ != null) {
patternBuilder_.dispose();
patternBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getPatternBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getPatternFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getPatternOrBuilder() {
if (patternBuilder_ != null) {
return patternBuilder_.getMessageOrBuilder();
} else {
return pattern_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : pattern_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getPatternFieldBuilder() {
if (patternBuilder_ == null) {
patternBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getPattern(),
getParentForChildren(),
isClean());
pattern_ = null;
}
return patternBuilder_;
}
private java.lang.Object escapeChar_ = "";
/**
* <code>string escape_char = 4 [json_name = "escapeChar"];</code>
* @return The escapeChar.
*/
public java.lang.String getEscapeChar() {
java.lang.Object ref = escapeChar_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
escapeChar_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string escape_char = 4 [json_name = "escapeChar"];</code>
* @return The bytes for escapeChar.
*/
public com.google.protobuf.ByteString
getEscapeCharBytes() {
java.lang.Object ref = escapeChar_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
escapeChar_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string escape_char = 4 [json_name = "escapeChar"];</code>
* @param value The escapeChar to set.
* @return This builder for chaining.
*/
public Builder setEscapeChar(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
escapeChar_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>string escape_char = 4 [json_name = "escapeChar"];</code>
* @return This builder for chaining.
*/
public Builder clearEscapeChar() {
escapeChar_ = getDefaultInstance().getEscapeChar();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>string escape_char = 4 [json_name = "escapeChar"];</code>
* @param value The bytes for escapeChar to set.
* @return This builder for chaining.
*/
public Builder setEscapeCharBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
escapeChar_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.SimilarToNode)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.SimilarToNode)
private static final ai.chalk.protos.chalk.expression.v1.SimilarToNode DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.SimilarToNode();
}
public static ai.chalk.protos.chalk.expression.v1.SimilarToNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<SimilarToNode>
PARSER = new com.google.protobuf.AbstractParser<SimilarToNode>() {
@java.lang.Override
public SimilarToNode 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<SimilarToNode> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SimilarToNode> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.SimilarToNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/SimilarToNodeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface SimilarToNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.SimilarToNode)
com.google.protobuf.MessageOrBuilder {
/**
* <code>bool negated = 1 [json_name = "negated"];</code>
* @return The negated.
*/
boolean getNegated();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
boolean hasExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
* @return The expr.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder();
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
* @return Whether the pattern field is set.
*/
boolean hasPattern();
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
* @return The pattern.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getPattern();
/**
* <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getPatternOrBuilder();
/**
* <code>string escape_char = 4 [json_name = "escapeChar"];</code>
* @return The escapeChar.
*/
java.lang.String getEscapeChar();
/**
* <code>string escape_char = 4 [json_name = "escapeChar"];</code>
* @return The bytes for escapeChar.
*/
com.google.protobuf.ByteString
getEscapeCharBytes();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/SortExprNode.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.SortExprNode}
*/
public final class SortExprNode extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.SortExprNode)
SortExprNodeOrBuilder {
private static final long serialVersionUID = 0L;
// Use SortExprNode.newBuilder() to construct.
private SortExprNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private SortExprNode() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SortExprNode();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_SortExprNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_SortExprNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.SortExprNode.class, ai.chalk.protos.chalk.expression.v1.SortExprNode.Builder.class);
}
private int bitField0_;
public static final int EXPR_FIELD_NUMBER = 1;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
@java.lang.Override
public boolean hasExpr() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return The expr.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
public static final int ASC_FIELD_NUMBER = 2;
private boolean asc_ = false;
/**
* <code>bool asc = 2 [json_name = "asc"];</code>
* @return The asc.
*/
@java.lang.Override
public boolean getAsc() {
return asc_;
}
public static final int NULLS_FIRST_FIELD_NUMBER = 3;
private boolean nullsFirst_ = false;
/**
* <code>bool nulls_first = 3 [json_name = "nullsFirst"];</code>
* @return The nullsFirst.
*/
@java.lang.Override
public boolean getNullsFirst() {
return nullsFirst_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getExpr());
}
if (asc_ != false) {
output.writeBool(2, asc_);
}
if (nullsFirst_ != false) {
output.writeBool(3, nullsFirst_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getExpr());
}
if (asc_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, asc_);
}
if (nullsFirst_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, nullsFirst_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.SortExprNode)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.SortExprNode other = (ai.chalk.protos.chalk.expression.v1.SortExprNode) obj;
if (hasExpr() != other.hasExpr()) return false;
if (hasExpr()) {
if (!getExpr()
.equals(other.getExpr())) return false;
}
if (getAsc()
!= other.getAsc()) return false;
if (getNullsFirst()
!= other.getNullsFirst()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasExpr()) {
hash = (37 * hash) + EXPR_FIELD_NUMBER;
hash = (53 * hash) + getExpr().hashCode();
}
hash = (37 * hash) + ASC_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAsc());
hash = (37 * hash) + NULLS_FIRST_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNullsFirst());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.SortExprNode prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.SortExprNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.SortExprNode)
ai.chalk.protos.chalk.expression.v1.SortExprNodeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_SortExprNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_SortExprNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.SortExprNode.class, ai.chalk.protos.chalk.expression.v1.SortExprNode.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.SortExprNode.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getExprFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
expr_ = null;
if (exprBuilder_ != null) {
exprBuilder_.dispose();
exprBuilder_ = null;
}
asc_ = false;
nullsFirst_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_SortExprNode_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.SortExprNode getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.SortExprNode.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.SortExprNode build() {
ai.chalk.protos.chalk.expression.v1.SortExprNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.SortExprNode buildPartial() {
ai.chalk.protos.chalk.expression.v1.SortExprNode result = new ai.chalk.protos.chalk.expression.v1.SortExprNode(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.SortExprNode result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.expr_ = exprBuilder_ == null
? expr_
: exprBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.asc_ = asc_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.nullsFirst_ = nullsFirst_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.SortExprNode) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.SortExprNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.SortExprNode other) {
if (other == ai.chalk.protos.chalk.expression.v1.SortExprNode.getDefaultInstance()) return this;
if (other.hasExpr()) {
mergeExpr(other.getExpr());
}
if (other.getAsc() != false) {
setAsc(other.getAsc());
}
if (other.getNullsFirst() != false) {
setNullsFirst(other.getNullsFirst());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getExprFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
asc_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
nullsFirst_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
public boolean hasExpr() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return The expr.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() {
if (exprBuilder_ == null) {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
} else {
return exprBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expr_ = value;
} else {
exprBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder setExpr(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (exprBuilder_ == null) {
expr_ = builderForValue.build();
} else {
exprBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
expr_ != null &&
expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getExprBuilder().mergeFrom(value);
} else {
expr_ = value;
}
} else {
exprBuilder_.mergeFrom(value);
}
if (expr_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder clearExpr() {
bitField0_ = (bitField0_ & ~0x00000001);
expr_ = null;
if (exprBuilder_ != null) {
exprBuilder_.dispose();
exprBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getExprFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() {
if (exprBuilder_ != null) {
return exprBuilder_.getMessageOrBuilder();
} else {
return expr_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprFieldBuilder() {
if (exprBuilder_ == null) {
exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getExpr(),
getParentForChildren(),
isClean());
expr_ = null;
}
return exprBuilder_;
}
private boolean asc_ ;
/**
* <code>bool asc = 2 [json_name = "asc"];</code>
* @return The asc.
*/
@java.lang.Override
public boolean getAsc() {
return asc_;
}
/**
* <code>bool asc = 2 [json_name = "asc"];</code>
* @param value The asc to set.
* @return This builder for chaining.
*/
public Builder setAsc(boolean value) {
asc_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>bool asc = 2 [json_name = "asc"];</code>
* @return This builder for chaining.
*/
public Builder clearAsc() {
bitField0_ = (bitField0_ & ~0x00000002);
asc_ = false;
onChanged();
return this;
}
private boolean nullsFirst_ ;
/**
* <code>bool nulls_first = 3 [json_name = "nullsFirst"];</code>
* @return The nullsFirst.
*/
@java.lang.Override
public boolean getNullsFirst() {
return nullsFirst_;
}
/**
* <code>bool nulls_first = 3 [json_name = "nullsFirst"];</code>
* @param value The nullsFirst to set.
* @return This builder for chaining.
*/
public Builder setNullsFirst(boolean value) {
nullsFirst_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>bool nulls_first = 3 [json_name = "nullsFirst"];</code>
* @return This builder for chaining.
*/
public Builder clearNullsFirst() {
bitField0_ = (bitField0_ & ~0x00000004);
nullsFirst_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.SortExprNode)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.SortExprNode)
private static final ai.chalk.protos.chalk.expression.v1.SortExprNode DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.SortExprNode();
}
public static ai.chalk.protos.chalk.expression.v1.SortExprNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<SortExprNode>
PARSER = new com.google.protobuf.AbstractParser<SortExprNode>() {
@java.lang.Override
public SortExprNode 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<SortExprNode> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SortExprNode> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.SortExprNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/SortExprNodeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface SortExprNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.SortExprNode)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
boolean hasExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return The expr.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder();
/**
* <code>bool asc = 2 [json_name = "asc"];</code>
* @return The asc.
*/
boolean getAsc();
/**
* <code>bool nulls_first = 3 [json_name = "nullsFirst"];</code>
* @return The nullsFirst.
*/
boolean getNullsFirst();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/TryCastNode.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.TryCastNode}
*/
public final class TryCastNode extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.TryCastNode)
TryCastNodeOrBuilder {
private static final long serialVersionUID = 0L;
// Use TryCastNode.newBuilder() to construct.
private TryCastNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TryCastNode() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TryCastNode();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_TryCastNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_TryCastNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.TryCastNode.class, ai.chalk.protos.chalk.expression.v1.TryCastNode.Builder.class);
}
private int bitField0_;
public static final int EXPR_FIELD_NUMBER = 1;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
@java.lang.Override
public boolean hasExpr() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return The expr.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
public static final int ARROW_TYPE_FIELD_NUMBER = 2;
private ai.chalk.protos.chalk.arrow.v1.ArrowType arrowType_;
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
* @return Whether the arrowType field is set.
*/
@java.lang.Override
public boolean hasArrowType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
* @return The arrowType.
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ArrowType getArrowType() {
return arrowType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : arrowType_;
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getArrowTypeOrBuilder() {
return arrowType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : arrowType_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getExpr());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getArrowType());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getExpr());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getArrowType());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.TryCastNode)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.TryCastNode other = (ai.chalk.protos.chalk.expression.v1.TryCastNode) obj;
if (hasExpr() != other.hasExpr()) return false;
if (hasExpr()) {
if (!getExpr()
.equals(other.getExpr())) return false;
}
if (hasArrowType() != other.hasArrowType()) return false;
if (hasArrowType()) {
if (!getArrowType()
.equals(other.getArrowType())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasExpr()) {
hash = (37 * hash) + EXPR_FIELD_NUMBER;
hash = (53 * hash) + getExpr().hashCode();
}
if (hasArrowType()) {
hash = (37 * hash) + ARROW_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getArrowType().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.TryCastNode prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.TryCastNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.TryCastNode)
ai.chalk.protos.chalk.expression.v1.TryCastNodeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_TryCastNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_TryCastNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.TryCastNode.class, ai.chalk.protos.chalk.expression.v1.TryCastNode.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.TryCastNode.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getExprFieldBuilder();
getArrowTypeFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
expr_ = null;
if (exprBuilder_ != null) {
exprBuilder_.dispose();
exprBuilder_ = null;
}
arrowType_ = null;
if (arrowTypeBuilder_ != null) {
arrowTypeBuilder_.dispose();
arrowTypeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_TryCastNode_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.TryCastNode getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.TryCastNode.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.TryCastNode build() {
ai.chalk.protos.chalk.expression.v1.TryCastNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.TryCastNode buildPartial() {
ai.chalk.protos.chalk.expression.v1.TryCastNode result = new ai.chalk.protos.chalk.expression.v1.TryCastNode(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.TryCastNode result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.expr_ = exprBuilder_ == null
? expr_
: exprBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.arrowType_ = arrowTypeBuilder_ == null
? arrowType_
: arrowTypeBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.TryCastNode) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.TryCastNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.TryCastNode other) {
if (other == ai.chalk.protos.chalk.expression.v1.TryCastNode.getDefaultInstance()) return this;
if (other.hasExpr()) {
mergeExpr(other.getExpr());
}
if (other.hasArrowType()) {
mergeArrowType(other.getArrowType());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getExprFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getArrowTypeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
public boolean hasExpr() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return The expr.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() {
if (exprBuilder_ == null) {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
} else {
return exprBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expr_ = value;
} else {
exprBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder setExpr(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (exprBuilder_ == null) {
expr_ = builderForValue.build();
} else {
exprBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
expr_ != null &&
expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getExprBuilder().mergeFrom(value);
} else {
expr_ = value;
}
} else {
exprBuilder_.mergeFrom(value);
}
if (expr_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public Builder clearExpr() {
bitField0_ = (bitField0_ & ~0x00000001);
expr_ = null;
if (exprBuilder_ != null) {
exprBuilder_.dispose();
exprBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getExprFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() {
if (exprBuilder_ != null) {
return exprBuilder_.getMessageOrBuilder();
} else {
return expr_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprFieldBuilder() {
if (exprBuilder_ == null) {
exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getExpr(),
getParentForChildren(),
isClean());
expr_ = null;
}
return exprBuilder_;
}
private ai.chalk.protos.chalk.arrow.v1.ArrowType arrowType_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ArrowType, ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder> arrowTypeBuilder_;
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
* @return Whether the arrowType field is set.
*/
public boolean hasArrowType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
* @return The arrowType.
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowType getArrowType() {
if (arrowTypeBuilder_ == null) {
return arrowType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : arrowType_;
} else {
return arrowTypeBuilder_.getMessage();
}
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
*/
public Builder setArrowType(ai.chalk.protos.chalk.arrow.v1.ArrowType value) {
if (arrowTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
arrowType_ = value;
} else {
arrowTypeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
*/
public Builder setArrowType(
ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder builderForValue) {
if (arrowTypeBuilder_ == null) {
arrowType_ = builderForValue.build();
} else {
arrowTypeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
*/
public Builder mergeArrowType(ai.chalk.protos.chalk.arrow.v1.ArrowType value) {
if (arrowTypeBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
arrowType_ != null &&
arrowType_ != ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance()) {
getArrowTypeBuilder().mergeFrom(value);
} else {
arrowType_ = value;
}
} else {
arrowTypeBuilder_.mergeFrom(value);
}
if (arrowType_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
*/
public Builder clearArrowType() {
bitField0_ = (bitField0_ & ~0x00000002);
arrowType_ = null;
if (arrowTypeBuilder_ != null) {
arrowTypeBuilder_.dispose();
arrowTypeBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder getArrowTypeBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getArrowTypeFieldBuilder().getBuilder();
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getArrowTypeOrBuilder() {
if (arrowTypeBuilder_ != null) {
return arrowTypeBuilder_.getMessageOrBuilder();
} else {
return arrowType_ == null ?
ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : arrowType_;
}
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ArrowType, ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder>
getArrowTypeFieldBuilder() {
if (arrowTypeBuilder_ == null) {
arrowTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ArrowType, ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder>(
getArrowType(),
getParentForChildren(),
isClean());
arrowType_ = null;
}
return arrowTypeBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.TryCastNode)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.TryCastNode)
private static final ai.chalk.protos.chalk.expression.v1.TryCastNode DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.TryCastNode();
}
public static ai.chalk.protos.chalk.expression.v1.TryCastNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TryCastNode>
PARSER = new com.google.protobuf.AbstractParser<TryCastNode>() {
@java.lang.Override
public TryCastNode 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<TryCastNode> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TryCastNode> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.TryCastNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/TryCastNodeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface TryCastNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.TryCastNode)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
boolean hasExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
* @return The expr.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder();
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
* @return Whether the arrowType field is set.
*/
boolean hasArrowType();
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
* @return The arrowType.
*/
ai.chalk.protos.chalk.arrow.v1.ArrowType getArrowType();
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getArrowTypeOrBuilder();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/WhenThen.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.WhenThen}
*/
public final class WhenThen extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.WhenThen)
WhenThenOrBuilder {
private static final long serialVersionUID = 0L;
// Use WhenThen.newBuilder() to construct.
private WhenThen(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private WhenThen() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WhenThen();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WhenThen_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WhenThen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.WhenThen.class, ai.chalk.protos.chalk.expression.v1.WhenThen.Builder.class);
}
private int bitField0_;
public static final int WHEN_EXPR_FIELD_NUMBER = 1;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode whenExpr_;
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
* @return Whether the whenExpr field is set.
*/
@java.lang.Override
public boolean hasWhenExpr() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
* @return The whenExpr.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getWhenExpr() {
return whenExpr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : whenExpr_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getWhenExprOrBuilder() {
return whenExpr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : whenExpr_;
}
public static final int THEN_EXPR_FIELD_NUMBER = 2;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode thenExpr_;
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
* @return Whether the thenExpr field is set.
*/
@java.lang.Override
public boolean hasThenExpr() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
* @return The thenExpr.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getThenExpr() {
return thenExpr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : thenExpr_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getThenExprOrBuilder() {
return thenExpr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : thenExpr_;
}
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, getWhenExpr());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getThenExpr());
}
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, getWhenExpr());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getThenExpr());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.WhenThen)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.WhenThen other = (ai.chalk.protos.chalk.expression.v1.WhenThen) obj;
if (hasWhenExpr() != other.hasWhenExpr()) return false;
if (hasWhenExpr()) {
if (!getWhenExpr()
.equals(other.getWhenExpr())) return false;
}
if (hasThenExpr() != other.hasThenExpr()) return false;
if (hasThenExpr()) {
if (!getThenExpr()
.equals(other.getThenExpr())) 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 (hasWhenExpr()) {
hash = (37 * hash) + WHEN_EXPR_FIELD_NUMBER;
hash = (53 * hash) + getWhenExpr().hashCode();
}
if (hasThenExpr()) {
hash = (37 * hash) + THEN_EXPR_FIELD_NUMBER;
hash = (53 * hash) + getThenExpr().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.WhenThen prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.WhenThen}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.WhenThen)
ai.chalk.protos.chalk.expression.v1.WhenThenOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WhenThen_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WhenThen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.WhenThen.class, ai.chalk.protos.chalk.expression.v1.WhenThen.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.WhenThen.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getWhenExprFieldBuilder();
getThenExprFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
whenExpr_ = null;
if (whenExprBuilder_ != null) {
whenExprBuilder_.dispose();
whenExprBuilder_ = null;
}
thenExpr_ = null;
if (thenExprBuilder_ != null) {
thenExprBuilder_.dispose();
thenExprBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WhenThen_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WhenThen getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.WhenThen.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WhenThen build() {
ai.chalk.protos.chalk.expression.v1.WhenThen result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WhenThen buildPartial() {
ai.chalk.protos.chalk.expression.v1.WhenThen result = new ai.chalk.protos.chalk.expression.v1.WhenThen(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.WhenThen result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.whenExpr_ = whenExprBuilder_ == null
? whenExpr_
: whenExprBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.thenExpr_ = thenExprBuilder_ == null
? thenExpr_
: thenExprBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.WhenThen) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.WhenThen)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.WhenThen other) {
if (other == ai.chalk.protos.chalk.expression.v1.WhenThen.getDefaultInstance()) return this;
if (other.hasWhenExpr()) {
mergeWhenExpr(other.getWhenExpr());
}
if (other.hasThenExpr()) {
mergeThenExpr(other.getThenExpr());
}
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(
getWhenExprFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getThenExprFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode whenExpr_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> whenExprBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
* @return Whether the whenExpr field is set.
*/
public boolean hasWhenExpr() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
* @return The whenExpr.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getWhenExpr() {
if (whenExprBuilder_ == null) {
return whenExpr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : whenExpr_;
} else {
return whenExprBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
*/
public Builder setWhenExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (whenExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
whenExpr_ = value;
} else {
whenExprBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
*/
public Builder setWhenExpr(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (whenExprBuilder_ == null) {
whenExpr_ = builderForValue.build();
} else {
whenExprBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
*/
public Builder mergeWhenExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (whenExprBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
whenExpr_ != null &&
whenExpr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getWhenExprBuilder().mergeFrom(value);
} else {
whenExpr_ = value;
}
} else {
whenExprBuilder_.mergeFrom(value);
}
if (whenExpr_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
*/
public Builder clearWhenExpr() {
bitField0_ = (bitField0_ & ~0x00000001);
whenExpr_ = null;
if (whenExprBuilder_ != null) {
whenExprBuilder_.dispose();
whenExprBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getWhenExprBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getWhenExprFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getWhenExprOrBuilder() {
if (whenExprBuilder_ != null) {
return whenExprBuilder_.getMessageOrBuilder();
} else {
return whenExpr_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : whenExpr_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getWhenExprFieldBuilder() {
if (whenExprBuilder_ == null) {
whenExprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getWhenExpr(),
getParentForChildren(),
isClean());
whenExpr_ = null;
}
return whenExprBuilder_;
}
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode thenExpr_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> thenExprBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
* @return Whether the thenExpr field is set.
*/
public boolean hasThenExpr() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
* @return The thenExpr.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getThenExpr() {
if (thenExprBuilder_ == null) {
return thenExpr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : thenExpr_;
} else {
return thenExprBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
*/
public Builder setThenExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (thenExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
thenExpr_ = value;
} else {
thenExprBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
*/
public Builder setThenExpr(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (thenExprBuilder_ == null) {
thenExpr_ = builderForValue.build();
} else {
thenExprBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
*/
public Builder mergeThenExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (thenExprBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
thenExpr_ != null &&
thenExpr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getThenExprBuilder().mergeFrom(value);
} else {
thenExpr_ = value;
}
} else {
thenExprBuilder_.mergeFrom(value);
}
if (thenExpr_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
*/
public Builder clearThenExpr() {
bitField0_ = (bitField0_ & ~0x00000002);
thenExpr_ = null;
if (thenExprBuilder_ != null) {
thenExprBuilder_.dispose();
thenExprBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getThenExprBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getThenExprFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getThenExprOrBuilder() {
if (thenExprBuilder_ != null) {
return thenExprBuilder_.getMessageOrBuilder();
} else {
return thenExpr_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : thenExpr_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getThenExprFieldBuilder() {
if (thenExprBuilder_ == null) {
thenExprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getThenExpr(),
getParentForChildren(),
isClean());
thenExpr_ = null;
}
return thenExprBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.WhenThen)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.WhenThen)
private static final ai.chalk.protos.chalk.expression.v1.WhenThen DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.WhenThen();
}
public static ai.chalk.protos.chalk.expression.v1.WhenThen getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<WhenThen>
PARSER = new com.google.protobuf.AbstractParser<WhenThen>() {
@java.lang.Override
public WhenThen 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<WhenThen> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<WhenThen> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WhenThen getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/WhenThenOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface WhenThenOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.WhenThen)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
* @return Whether the whenExpr field is set.
*/
boolean hasWhenExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
* @return The whenExpr.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getWhenExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode when_expr = 1 [json_name = "whenExpr"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getWhenExprOrBuilder();
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
* @return Whether the thenExpr field is set.
*/
boolean hasThenExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
* @return The thenExpr.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getThenExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode then_expr = 2 [json_name = "thenExpr"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getThenExprOrBuilder();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/Wildcard.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.Wildcard}
*/
public final class Wildcard extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.Wildcard)
WildcardOrBuilder {
private static final long serialVersionUID = 0L;
// Use Wildcard.newBuilder() to construct.
private Wildcard(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Wildcard() {
qualifier_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Wildcard();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Wildcard_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Wildcard_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.Wildcard.class, ai.chalk.protos.chalk.expression.v1.Wildcard.Builder.class);
}
private int bitField0_;
public static final int QUALIFIER_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object qualifier_ = "";
/**
* <code>optional string qualifier = 1 [json_name = "qualifier"];</code>
* @return Whether the qualifier field is set.
*/
@java.lang.Override
public boolean hasQualifier() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string qualifier = 1 [json_name = "qualifier"];</code>
* @return The qualifier.
*/
@java.lang.Override
public java.lang.String getQualifier() {
java.lang.Object ref = qualifier_;
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();
qualifier_ = s;
return s;
}
}
/**
* <code>optional string qualifier = 1 [json_name = "qualifier"];</code>
* @return The bytes for qualifier.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getQualifierBytes() {
java.lang.Object ref = qualifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
qualifier_ = 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, qualifier_);
}
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, qualifier_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.Wildcard)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.Wildcard other = (ai.chalk.protos.chalk.expression.v1.Wildcard) obj;
if (hasQualifier() != other.hasQualifier()) return false;
if (hasQualifier()) {
if (!getQualifier()
.equals(other.getQualifier())) 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 (hasQualifier()) {
hash = (37 * hash) + QUALIFIER_FIELD_NUMBER;
hash = (53 * hash) + getQualifier().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.Wildcard prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.Wildcard}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.Wildcard)
ai.chalk.protos.chalk.expression.v1.WildcardOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Wildcard_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Wildcard_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.Wildcard.class, ai.chalk.protos.chalk.expression.v1.Wildcard.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.Wildcard.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
qualifier_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Wildcard_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.Wildcard getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.Wildcard.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.Wildcard build() {
ai.chalk.protos.chalk.expression.v1.Wildcard result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.Wildcard buildPartial() {
ai.chalk.protos.chalk.expression.v1.Wildcard result = new ai.chalk.protos.chalk.expression.v1.Wildcard(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.Wildcard result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.qualifier_ = qualifier_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.Wildcard) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.Wildcard)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.Wildcard other) {
if (other == ai.chalk.protos.chalk.expression.v1.Wildcard.getDefaultInstance()) return this;
if (other.hasQualifier()) {
qualifier_ = other.qualifier_;
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: {
qualifier_ = 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 qualifier_ = "";
/**
* <code>optional string qualifier = 1 [json_name = "qualifier"];</code>
* @return Whether the qualifier field is set.
*/
public boolean hasQualifier() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string qualifier = 1 [json_name = "qualifier"];</code>
* @return The qualifier.
*/
public java.lang.String getQualifier() {
java.lang.Object ref = qualifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
qualifier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string qualifier = 1 [json_name = "qualifier"];</code>
* @return The bytes for qualifier.
*/
public com.google.protobuf.ByteString
getQualifierBytes() {
java.lang.Object ref = qualifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
qualifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string qualifier = 1 [json_name = "qualifier"];</code>
* @param value The qualifier to set.
* @return This builder for chaining.
*/
public Builder setQualifier(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
qualifier_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string qualifier = 1 [json_name = "qualifier"];</code>
* @return This builder for chaining.
*/
public Builder clearQualifier() {
qualifier_ = getDefaultInstance().getQualifier();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string qualifier = 1 [json_name = "qualifier"];</code>
* @param value The bytes for qualifier to set.
* @return This builder for chaining.
*/
public Builder setQualifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
qualifier_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.Wildcard)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.Wildcard)
private static final ai.chalk.protos.chalk.expression.v1.Wildcard DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.Wildcard();
}
public static ai.chalk.protos.chalk.expression.v1.Wildcard getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Wildcard>
PARSER = new com.google.protobuf.AbstractParser<Wildcard>() {
@java.lang.Override
public Wildcard 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<Wildcard> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Wildcard> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.Wildcard getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/WildcardOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface WildcardOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.Wildcard)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string qualifier = 1 [json_name = "qualifier"];</code>
* @return Whether the qualifier field is set.
*/
boolean hasQualifier();
/**
* <code>optional string qualifier = 1 [json_name = "qualifier"];</code>
* @return The qualifier.
*/
java.lang.String getQualifier();
/**
* <code>optional string qualifier = 1 [json_name = "qualifier"];</code>
* @return The bytes for qualifier.
*/
com.google.protobuf.ByteString
getQualifierBytes();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/WindowExprNode.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.WindowExprNode}
*/
public final class WindowExprNode extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.WindowExprNode)
WindowExprNodeOrBuilder {
private static final long serialVersionUID = 0L;
// Use WindowExprNode.newBuilder() to construct.
private WindowExprNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private WindowExprNode() {
partitionBy_ = java.util.Collections.emptyList();
orderBy_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WindowExprNode();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowExprNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowExprNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.WindowExprNode.class, ai.chalk.protos.chalk.expression.v1.WindowExprNode.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 {
AGGR_FUNCTION(1),
BUILT_IN_FUNCTION(2),
UDAF(3),
UDWF(9),
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 1: return AGGR_FUNCTION;
case 2: return BUILT_IN_FUNCTION;
case 3: return UDAF;
case 9: return UDWF;
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 AGGR_FUNCTION_FIELD_NUMBER = 1;
/**
* <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code>
* @return Whether the aggrFunction field is set.
*/
public boolean hasAggrFunction() {
return windowFunctionCase_ == 1;
}
/**
* <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code>
* @return The enum numeric value on the wire for aggrFunction.
*/
public int getAggrFunctionValue() {
if (windowFunctionCase_ == 1) {
return (java.lang.Integer) windowFunction_;
}
return 0;
}
/**
* <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code>
* @return The aggrFunction.
*/
public ai.chalk.protos.chalk.expression.v1.AggregateFunction getAggrFunction() {
if (windowFunctionCase_ == 1) {
ai.chalk.protos.chalk.expression.v1.AggregateFunction result = ai.chalk.protos.chalk.expression.v1.AggregateFunction.forNumber(
(java.lang.Integer) windowFunction_);
return result == null ? ai.chalk.protos.chalk.expression.v1.AggregateFunction.UNRECOGNIZED : result;
}
return ai.chalk.protos.chalk.expression.v1.AggregateFunction.AGGREGATE_FUNCTION_UNSPECIFIED;
}
public static final int BUILT_IN_FUNCTION_FIELD_NUMBER = 2;
/**
* <code>.chalk.expression.v1.BuiltInWindowFunction built_in_function = 2 [json_name = "builtInFunction"];</code>
* @return Whether the builtInFunction field is set.
*/
public boolean hasBuiltInFunction() {
return windowFunctionCase_ == 2;
}
/**
* <code>.chalk.expression.v1.BuiltInWindowFunction built_in_function = 2 [json_name = "builtInFunction"];</code>
* @return The enum numeric value on the wire for builtInFunction.
*/
public int getBuiltInFunctionValue() {
if (windowFunctionCase_ == 2) {
return (java.lang.Integer) windowFunction_;
}
return 0;
}
/**
* <code>.chalk.expression.v1.BuiltInWindowFunction built_in_function = 2 [json_name = "builtInFunction"];</code>
* @return The builtInFunction.
*/
public ai.chalk.protos.chalk.expression.v1.BuiltInWindowFunction getBuiltInFunction() {
if (windowFunctionCase_ == 2) {
ai.chalk.protos.chalk.expression.v1.BuiltInWindowFunction result = ai.chalk.protos.chalk.expression.v1.BuiltInWindowFunction.forNumber(
(java.lang.Integer) windowFunction_);
return result == null ? ai.chalk.protos.chalk.expression.v1.BuiltInWindowFunction.UNRECOGNIZED : result;
}
return ai.chalk.protos.chalk.expression.v1.BuiltInWindowFunction.BUILT_IN_WINDOW_FUNCTION_UNSPECIFIED;
}
public static final int UDAF_FIELD_NUMBER = 3;
/**
* <code>string udaf = 3 [json_name = "udaf"];</code>
* @return Whether the udaf field is set.
*/
public boolean hasUdaf() {
return windowFunctionCase_ == 3;
}
/**
* <code>string udaf = 3 [json_name = "udaf"];</code>
* @return The udaf.
*/
public java.lang.String getUdaf() {
java.lang.Object ref = "";
if (windowFunctionCase_ == 3) {
ref = windowFunction_;
}
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();
if (windowFunctionCase_ == 3) {
windowFunction_ = s;
}
return s;
}
}
/**
* <code>string udaf = 3 [json_name = "udaf"];</code>
* @return The bytes for udaf.
*/
public com.google.protobuf.ByteString
getUdafBytes() {
java.lang.Object ref = "";
if (windowFunctionCase_ == 3) {
ref = windowFunction_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (windowFunctionCase_ == 3) {
windowFunction_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UDWF_FIELD_NUMBER = 9;
/**
* <code>string udwf = 9 [json_name = "udwf"];</code>
* @return Whether the udwf field is set.
*/
public boolean hasUdwf() {
return windowFunctionCase_ == 9;
}
/**
* <code>string udwf = 9 [json_name = "udwf"];</code>
* @return The udwf.
*/
public java.lang.String getUdwf() {
java.lang.Object ref = "";
if (windowFunctionCase_ == 9) {
ref = windowFunction_;
}
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();
if (windowFunctionCase_ == 9) {
windowFunction_ = s;
}
return s;
}
}
/**
* <code>string udwf = 9 [json_name = "udwf"];</code>
* @return The bytes for udwf.
*/
public com.google.protobuf.ByteString
getUdwfBytes() {
java.lang.Object ref = "";
if (windowFunctionCase_ == 9) {
ref = windowFunction_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (windowFunctionCase_ == 9) {
windowFunction_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXPR_FIELD_NUMBER = 4;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
@java.lang.Override
public boolean hasExpr() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
* @return The expr.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
public static final int PARTITION_BY_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> partitionBy_;
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getPartitionByList() {
return partitionBy_;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getPartitionByOrBuilderList() {
return partitionBy_;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
@java.lang.Override
public int getPartitionByCount() {
return partitionBy_.size();
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getPartitionBy(int index) {
return partitionBy_.get(index);
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getPartitionByOrBuilder(
int index) {
return partitionBy_.get(index);
}
public static final int ORDER_BY_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> orderBy_;
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getOrderByList() {
return orderBy_;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getOrderByOrBuilderList() {
return orderBy_;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
@java.lang.Override
public int getOrderByCount() {
return orderBy_.size();
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getOrderBy(int index) {
return orderBy_.get(index);
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getOrderByOrBuilder(
int index) {
return orderBy_.get(index);
}
public static final int WINDOW_FRAME_FIELD_NUMBER = 8;
private ai.chalk.protos.chalk.expression.v1.WindowFrame windowFrame_;
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
* @return Whether the windowFrame field is set.
*/
@java.lang.Override
public boolean hasWindowFrame() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
* @return The windowFrame.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrame getWindowFrame() {
return windowFrame_ == null ? ai.chalk.protos.chalk.expression.v1.WindowFrame.getDefaultInstance() : windowFrame_;
}
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrameOrBuilder getWindowFrameOrBuilder() {
return windowFrame_ == null ? ai.chalk.protos.chalk.expression.v1.WindowFrame.getDefaultInstance() : windowFrame_;
}
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 (windowFunctionCase_ == 1) {
output.writeEnum(1, ((java.lang.Integer) windowFunction_));
}
if (windowFunctionCase_ == 2) {
output.writeEnum(2, ((java.lang.Integer) windowFunction_));
}
if (windowFunctionCase_ == 3) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, windowFunction_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(4, getExpr());
}
for (int i = 0; i < partitionBy_.size(); i++) {
output.writeMessage(5, partitionBy_.get(i));
}
for (int i = 0; i < orderBy_.size(); i++) {
output.writeMessage(6, orderBy_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(8, getWindowFrame());
}
if (windowFunctionCase_ == 9) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, windowFunction_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (windowFunctionCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, ((java.lang.Integer) windowFunction_));
}
if (windowFunctionCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, ((java.lang.Integer) windowFunction_));
}
if (windowFunctionCase_ == 3) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, windowFunction_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getExpr());
}
for (int i = 0; i < partitionBy_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, partitionBy_.get(i));
}
for (int i = 0; i < orderBy_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, orderBy_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getWindowFrame());
}
if (windowFunctionCase_ == 9) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, 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.expression.v1.WindowExprNode)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.WindowExprNode other = (ai.chalk.protos.chalk.expression.v1.WindowExprNode) obj;
if (hasExpr() != other.hasExpr()) return false;
if (hasExpr()) {
if (!getExpr()
.equals(other.getExpr())) return false;
}
if (!getPartitionByList()
.equals(other.getPartitionByList())) return false;
if (!getOrderByList()
.equals(other.getOrderByList())) return false;
if (hasWindowFrame() != other.hasWindowFrame()) return false;
if (hasWindowFrame()) {
if (!getWindowFrame()
.equals(other.getWindowFrame())) return false;
}
if (!getWindowFunctionCase().equals(other.getWindowFunctionCase())) return false;
switch (windowFunctionCase_) {
case 1:
if (getAggrFunctionValue()
!= other.getAggrFunctionValue()) return false;
break;
case 2:
if (getBuiltInFunctionValue()
!= other.getBuiltInFunctionValue()) return false;
break;
case 3:
if (!getUdaf()
.equals(other.getUdaf())) return false;
break;
case 9:
if (!getUdwf()
.equals(other.getUdwf())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasExpr()) {
hash = (37 * hash) + EXPR_FIELD_NUMBER;
hash = (53 * hash) + getExpr().hashCode();
}
if (getPartitionByCount() > 0) {
hash = (37 * hash) + PARTITION_BY_FIELD_NUMBER;
hash = (53 * hash) + getPartitionByList().hashCode();
}
if (getOrderByCount() > 0) {
hash = (37 * hash) + ORDER_BY_FIELD_NUMBER;
hash = (53 * hash) + getOrderByList().hashCode();
}
if (hasWindowFrame()) {
hash = (37 * hash) + WINDOW_FRAME_FIELD_NUMBER;
hash = (53 * hash) + getWindowFrame().hashCode();
}
switch (windowFunctionCase_) {
case 1:
hash = (37 * hash) + AGGR_FUNCTION_FIELD_NUMBER;
hash = (53 * hash) + getAggrFunctionValue();
break;
case 2:
hash = (37 * hash) + BUILT_IN_FUNCTION_FIELD_NUMBER;
hash = (53 * hash) + getBuiltInFunctionValue();
break;
case 3:
hash = (37 * hash) + UDAF_FIELD_NUMBER;
hash = (53 * hash) + getUdaf().hashCode();
break;
case 9:
hash = (37 * hash) + UDWF_FIELD_NUMBER;
hash = (53 * hash) + getUdwf().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.WindowExprNode prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.WindowExprNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.WindowExprNode)
ai.chalk.protos.chalk.expression.v1.WindowExprNodeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowExprNode_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowExprNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.WindowExprNode.class, ai.chalk.protos.chalk.expression.v1.WindowExprNode.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.WindowExprNode.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getExprFieldBuilder();
getPartitionByFieldBuilder();
getOrderByFieldBuilder();
getWindowFrameFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
expr_ = null;
if (exprBuilder_ != null) {
exprBuilder_.dispose();
exprBuilder_ = null;
}
if (partitionByBuilder_ == null) {
partitionBy_ = java.util.Collections.emptyList();
} else {
partitionBy_ = null;
partitionByBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
if (orderByBuilder_ == null) {
orderBy_ = java.util.Collections.emptyList();
} else {
orderBy_ = null;
orderByBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
windowFrame_ = null;
if (windowFrameBuilder_ != null) {
windowFrameBuilder_.dispose();
windowFrameBuilder_ = null;
}
windowFunctionCase_ = 0;
windowFunction_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowExprNode_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowExprNode getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.WindowExprNode.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowExprNode build() {
ai.chalk.protos.chalk.expression.v1.WindowExprNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowExprNode buildPartial() {
ai.chalk.protos.chalk.expression.v1.WindowExprNode result = new ai.chalk.protos.chalk.expression.v1.WindowExprNode(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.WindowExprNode result) {
if (partitionByBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
partitionBy_ = java.util.Collections.unmodifiableList(partitionBy_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.partitionBy_ = partitionBy_;
} else {
result.partitionBy_ = partitionByBuilder_.build();
}
if (orderByBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0)) {
orderBy_ = java.util.Collections.unmodifiableList(orderBy_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.orderBy_ = orderBy_;
} else {
result.orderBy_ = orderByBuilder_.build();
}
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.WindowExprNode result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.expr_ = exprBuilder_ == null
? expr_
: exprBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.windowFrame_ = windowFrameBuilder_ == null
? windowFrame_
: windowFrameBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
private void buildPartialOneofs(ai.chalk.protos.chalk.expression.v1.WindowExprNode result) {
result.windowFunctionCase_ = windowFunctionCase_;
result.windowFunction_ = this.windowFunction_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.WindowExprNode) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.WindowExprNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.WindowExprNode other) {
if (other == ai.chalk.protos.chalk.expression.v1.WindowExprNode.getDefaultInstance()) return this;
if (other.hasExpr()) {
mergeExpr(other.getExpr());
}
if (partitionByBuilder_ == null) {
if (!other.partitionBy_.isEmpty()) {
if (partitionBy_.isEmpty()) {
partitionBy_ = other.partitionBy_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensurePartitionByIsMutable();
partitionBy_.addAll(other.partitionBy_);
}
onChanged();
}
} else {
if (!other.partitionBy_.isEmpty()) {
if (partitionByBuilder_.isEmpty()) {
partitionByBuilder_.dispose();
partitionByBuilder_ = null;
partitionBy_ = other.partitionBy_;
bitField0_ = (bitField0_ & ~0x00000020);
partitionByBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPartitionByFieldBuilder() : null;
} else {
partitionByBuilder_.addAllMessages(other.partitionBy_);
}
}
}
if (orderByBuilder_ == null) {
if (!other.orderBy_.isEmpty()) {
if (orderBy_.isEmpty()) {
orderBy_ = other.orderBy_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureOrderByIsMutable();
orderBy_.addAll(other.orderBy_);
}
onChanged();
}
} else {
if (!other.orderBy_.isEmpty()) {
if (orderByBuilder_.isEmpty()) {
orderByBuilder_.dispose();
orderByBuilder_ = null;
orderBy_ = other.orderBy_;
bitField0_ = (bitField0_ & ~0x00000040);
orderByBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOrderByFieldBuilder() : null;
} else {
orderByBuilder_.addAllMessages(other.orderBy_);
}
}
}
if (other.hasWindowFrame()) {
mergeWindowFrame(other.getWindowFrame());
}
switch (other.getWindowFunctionCase()) {
case AGGR_FUNCTION: {
setAggrFunctionValue(other.getAggrFunctionValue());
break;
}
case BUILT_IN_FUNCTION: {
setBuiltInFunctionValue(other.getBuiltInFunctionValue());
break;
}
case UDAF: {
windowFunctionCase_ = 3;
windowFunction_ = other.windowFunction_;
onChanged();
break;
}
case UDWF: {
windowFunctionCase_ = 9;
windowFunction_ = other.windowFunction_;
onChanged();
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 8: {
int rawValue = input.readEnum();
windowFunctionCase_ = 1;
windowFunction_ = rawValue;
break;
} // case 8
case 16: {
int rawValue = input.readEnum();
windowFunctionCase_ = 2;
windowFunction_ = rawValue;
break;
} // case 16
case 26: {
java.lang.String s = input.readStringRequireUtf8();
windowFunctionCase_ = 3;
windowFunction_ = s;
break;
} // case 26
case 34: {
input.readMessage(
getExprFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 34
case 42: {
ai.chalk.protos.chalk.expression.v1.LogicalExprNode m =
input.readMessage(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(),
extensionRegistry);
if (partitionByBuilder_ == null) {
ensurePartitionByIsMutable();
partitionBy_.add(m);
} else {
partitionByBuilder_.addMessage(m);
}
break;
} // case 42
case 50: {
ai.chalk.protos.chalk.expression.v1.LogicalExprNode m =
input.readMessage(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(),
extensionRegistry);
if (orderByBuilder_ == null) {
ensureOrderByIsMutable();
orderBy_.add(m);
} else {
orderByBuilder_.addMessage(m);
}
break;
} // case 50
case 66: {
input.readMessage(
getWindowFrameFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
java.lang.String s = input.readStringRequireUtf8();
windowFunctionCase_ = 9;
windowFunction_ = s;
break;
} // case 74
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_;
/**
* <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code>
* @return Whether the aggrFunction field is set.
*/
@java.lang.Override
public boolean hasAggrFunction() {
return windowFunctionCase_ == 1;
}
/**
* <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code>
* @return The enum numeric value on the wire for aggrFunction.
*/
@java.lang.Override
public int getAggrFunctionValue() {
if (windowFunctionCase_ == 1) {
return ((java.lang.Integer) windowFunction_).intValue();
}
return 0;
}
/**
* <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code>
* @param value The enum numeric value on the wire for aggrFunction to set.
* @return This builder for chaining.
*/
public Builder setAggrFunctionValue(int value) {
windowFunctionCase_ = 1;
windowFunction_ = value;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code>
* @return The aggrFunction.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.AggregateFunction getAggrFunction() {
if (windowFunctionCase_ == 1) {
ai.chalk.protos.chalk.expression.v1.AggregateFunction result = ai.chalk.protos.chalk.expression.v1.AggregateFunction.forNumber(
(java.lang.Integer) windowFunction_);
return result == null ? ai.chalk.protos.chalk.expression.v1.AggregateFunction.UNRECOGNIZED : result;
}
return ai.chalk.protos.chalk.expression.v1.AggregateFunction.AGGREGATE_FUNCTION_UNSPECIFIED;
}
/**
* <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code>
* @param value The aggrFunction to set.
* @return This builder for chaining.
*/
public Builder setAggrFunction(ai.chalk.protos.chalk.expression.v1.AggregateFunction value) {
if (value == null) {
throw new NullPointerException();
}
windowFunctionCase_ = 1;
windowFunction_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code>
* @return This builder for chaining.
*/
public Builder clearAggrFunction() {
if (windowFunctionCase_ == 1) {
windowFunctionCase_ = 0;
windowFunction_ = null;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.BuiltInWindowFunction built_in_function = 2 [json_name = "builtInFunction"];</code>
* @return Whether the builtInFunction field is set.
*/
@java.lang.Override
public boolean hasBuiltInFunction() {
return windowFunctionCase_ == 2;
}
/**
* <code>.chalk.expression.v1.BuiltInWindowFunction built_in_function = 2 [json_name = "builtInFunction"];</code>
* @return The enum numeric value on the wire for builtInFunction.
*/
@java.lang.Override
public int getBuiltInFunctionValue() {
if (windowFunctionCase_ == 2) {
return ((java.lang.Integer) windowFunction_).intValue();
}
return 0;
}
/**
* <code>.chalk.expression.v1.BuiltInWindowFunction built_in_function = 2 [json_name = "builtInFunction"];</code>
* @param value The enum numeric value on the wire for builtInFunction to set.
* @return This builder for chaining.
*/
public Builder setBuiltInFunctionValue(int value) {
windowFunctionCase_ = 2;
windowFunction_ = value;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.BuiltInWindowFunction built_in_function = 2 [json_name = "builtInFunction"];</code>
* @return The builtInFunction.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.BuiltInWindowFunction getBuiltInFunction() {
if (windowFunctionCase_ == 2) {
ai.chalk.protos.chalk.expression.v1.BuiltInWindowFunction result = ai.chalk.protos.chalk.expression.v1.BuiltInWindowFunction.forNumber(
(java.lang.Integer) windowFunction_);
return result == null ? ai.chalk.protos.chalk.expression.v1.BuiltInWindowFunction.UNRECOGNIZED : result;
}
return ai.chalk.protos.chalk.expression.v1.BuiltInWindowFunction.BUILT_IN_WINDOW_FUNCTION_UNSPECIFIED;
}
/**
* <code>.chalk.expression.v1.BuiltInWindowFunction built_in_function = 2 [json_name = "builtInFunction"];</code>
* @param value The builtInFunction to set.
* @return This builder for chaining.
*/
public Builder setBuiltInFunction(ai.chalk.protos.chalk.expression.v1.BuiltInWindowFunction value) {
if (value == null) {
throw new NullPointerException();
}
windowFunctionCase_ = 2;
windowFunction_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.BuiltInWindowFunction built_in_function = 2 [json_name = "builtInFunction"];</code>
* @return This builder for chaining.
*/
public Builder clearBuiltInFunction() {
if (windowFunctionCase_ == 2) {
windowFunctionCase_ = 0;
windowFunction_ = null;
onChanged();
}
return this;
}
/**
* <code>string udaf = 3 [json_name = "udaf"];</code>
* @return Whether the udaf field is set.
*/
@java.lang.Override
public boolean hasUdaf() {
return windowFunctionCase_ == 3;
}
/**
* <code>string udaf = 3 [json_name = "udaf"];</code>
* @return The udaf.
*/
@java.lang.Override
public java.lang.String getUdaf() {
java.lang.Object ref = "";
if (windowFunctionCase_ == 3) {
ref = windowFunction_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (windowFunctionCase_ == 3) {
windowFunction_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string udaf = 3 [json_name = "udaf"];</code>
* @return The bytes for udaf.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUdafBytes() {
java.lang.Object ref = "";
if (windowFunctionCase_ == 3) {
ref = windowFunction_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (windowFunctionCase_ == 3) {
windowFunction_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string udaf = 3 [json_name = "udaf"];</code>
* @param value The udaf to set.
* @return This builder for chaining.
*/
public Builder setUdaf(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
windowFunctionCase_ = 3;
windowFunction_ = value;
onChanged();
return this;
}
/**
* <code>string udaf = 3 [json_name = "udaf"];</code>
* @return This builder for chaining.
*/
public Builder clearUdaf() {
if (windowFunctionCase_ == 3) {
windowFunctionCase_ = 0;
windowFunction_ = null;
onChanged();
}
return this;
}
/**
* <code>string udaf = 3 [json_name = "udaf"];</code>
* @param value The bytes for udaf to set.
* @return This builder for chaining.
*/
public Builder setUdafBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
windowFunctionCase_ = 3;
windowFunction_ = value;
onChanged();
return this;
}
/**
* <code>string udwf = 9 [json_name = "udwf"];</code>
* @return Whether the udwf field is set.
*/
@java.lang.Override
public boolean hasUdwf() {
return windowFunctionCase_ == 9;
}
/**
* <code>string udwf = 9 [json_name = "udwf"];</code>
* @return The udwf.
*/
@java.lang.Override
public java.lang.String getUdwf() {
java.lang.Object ref = "";
if (windowFunctionCase_ == 9) {
ref = windowFunction_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (windowFunctionCase_ == 9) {
windowFunction_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string udwf = 9 [json_name = "udwf"];</code>
* @return The bytes for udwf.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUdwfBytes() {
java.lang.Object ref = "";
if (windowFunctionCase_ == 9) {
ref = windowFunction_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (windowFunctionCase_ == 9) {
windowFunction_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string udwf = 9 [json_name = "udwf"];</code>
* @param value The udwf to set.
* @return This builder for chaining.
*/
public Builder setUdwf(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
windowFunctionCase_ = 9;
windowFunction_ = value;
onChanged();
return this;
}
/**
* <code>string udwf = 9 [json_name = "udwf"];</code>
* @return This builder for chaining.
*/
public Builder clearUdwf() {
if (windowFunctionCase_ == 9) {
windowFunctionCase_ = 0;
windowFunction_ = null;
onChanged();
}
return this;
}
/**
* <code>string udwf = 9 [json_name = "udwf"];</code>
* @param value The bytes for udwf to set.
* @return This builder for chaining.
*/
public Builder setUdwfBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
windowFunctionCase_ = 9;
windowFunction_ = value;
onChanged();
return this;
}
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
public boolean hasExpr() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
* @return The expr.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() {
if (exprBuilder_ == null) {
return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
} else {
return exprBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
*/
public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expr_ = value;
} else {
exprBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
*/
public Builder setExpr(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (exprBuilder_ == null) {
expr_ = builderForValue.build();
} else {
exprBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
*/
public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (exprBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
expr_ != null &&
expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getExprBuilder().mergeFrom(value);
} else {
expr_ = value;
}
} else {
exprBuilder_.mergeFrom(value);
}
if (expr_ != null) {
bitField0_ |= 0x00000010;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
*/
public Builder clearExpr() {
bitField0_ = (bitField0_ & ~0x00000010);
expr_ = null;
if (exprBuilder_ != null) {
exprBuilder_.dispose();
exprBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getExprFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() {
if (exprBuilder_ != null) {
return exprBuilder_.getMessageOrBuilder();
} else {
return expr_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExprFieldBuilder() {
if (exprBuilder_ == null) {
exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getExpr(),
getParentForChildren(),
isClean());
expr_ = null;
}
return exprBuilder_;
}
private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> partitionBy_ =
java.util.Collections.emptyList();
private void ensurePartitionByIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
partitionBy_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(partitionBy_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> partitionByBuilder_;
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getPartitionByList() {
if (partitionByBuilder_ == null) {
return java.util.Collections.unmodifiableList(partitionBy_);
} else {
return partitionByBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public int getPartitionByCount() {
if (partitionByBuilder_ == null) {
return partitionBy_.size();
} else {
return partitionByBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getPartitionBy(int index) {
if (partitionByBuilder_ == null) {
return partitionBy_.get(index);
} else {
return partitionByBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public Builder setPartitionBy(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (partitionByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionByIsMutable();
partitionBy_.set(index, value);
onChanged();
} else {
partitionByBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public Builder setPartitionBy(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (partitionByBuilder_ == null) {
ensurePartitionByIsMutable();
partitionBy_.set(index, builderForValue.build());
onChanged();
} else {
partitionByBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public Builder addPartitionBy(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (partitionByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionByIsMutable();
partitionBy_.add(value);
onChanged();
} else {
partitionByBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public Builder addPartitionBy(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (partitionByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionByIsMutable();
partitionBy_.add(index, value);
onChanged();
} else {
partitionByBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public Builder addPartitionBy(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (partitionByBuilder_ == null) {
ensurePartitionByIsMutable();
partitionBy_.add(builderForValue.build());
onChanged();
} else {
partitionByBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public Builder addPartitionBy(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (partitionByBuilder_ == null) {
ensurePartitionByIsMutable();
partitionBy_.add(index, builderForValue.build());
onChanged();
} else {
partitionByBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public Builder addAllPartitionBy(
java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) {
if (partitionByBuilder_ == null) {
ensurePartitionByIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, partitionBy_);
onChanged();
} else {
partitionByBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public Builder clearPartitionBy() {
if (partitionByBuilder_ == null) {
partitionBy_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
partitionByBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public Builder removePartitionBy(int index) {
if (partitionByBuilder_ == null) {
ensurePartitionByIsMutable();
partitionBy_.remove(index);
onChanged();
} else {
partitionByBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getPartitionByBuilder(
int index) {
return getPartitionByFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getPartitionByOrBuilder(
int index) {
if (partitionByBuilder_ == null) {
return partitionBy_.get(index); } else {
return partitionByBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getPartitionByOrBuilderList() {
if (partitionByBuilder_ != null) {
return partitionByBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(partitionBy_);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addPartitionByBuilder() {
return getPartitionByFieldBuilder().addBuilder(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance());
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addPartitionByBuilder(
int index) {
return getPartitionByFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance());
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder>
getPartitionByBuilderList() {
return getPartitionByFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getPartitionByFieldBuilder() {
if (partitionByBuilder_ == null) {
partitionByBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
partitionBy_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
partitionBy_ = null;
}
return partitionByBuilder_;
}
private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> orderBy_ =
java.util.Collections.emptyList();
private void ensureOrderByIsMutable() {
if (!((bitField0_ & 0x00000040) != 0)) {
orderBy_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(orderBy_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> orderByBuilder_;
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getOrderByList() {
if (orderByBuilder_ == null) {
return java.util.Collections.unmodifiableList(orderBy_);
} else {
return orderByBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public int getOrderByCount() {
if (orderByBuilder_ == null) {
return orderBy_.size();
} else {
return orderByBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getOrderBy(int index) {
if (orderByBuilder_ == null) {
return orderBy_.get(index);
} else {
return orderByBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public Builder setOrderBy(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (orderByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrderByIsMutable();
orderBy_.set(index, value);
onChanged();
} else {
orderByBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public Builder setOrderBy(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (orderByBuilder_ == null) {
ensureOrderByIsMutable();
orderBy_.set(index, builderForValue.build());
onChanged();
} else {
orderByBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public Builder addOrderBy(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (orderByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrderByIsMutable();
orderBy_.add(value);
onChanged();
} else {
orderByBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public Builder addOrderBy(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (orderByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrderByIsMutable();
orderBy_.add(index, value);
onChanged();
} else {
orderByBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public Builder addOrderBy(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (orderByBuilder_ == null) {
ensureOrderByIsMutable();
orderBy_.add(builderForValue.build());
onChanged();
} else {
orderByBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public Builder addOrderBy(
int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (orderByBuilder_ == null) {
ensureOrderByIsMutable();
orderBy_.add(index, builderForValue.build());
onChanged();
} else {
orderByBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public Builder addAllOrderBy(
java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) {
if (orderByBuilder_ == null) {
ensureOrderByIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, orderBy_);
onChanged();
} else {
orderByBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public Builder clearOrderBy() {
if (orderByBuilder_ == null) {
orderBy_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
orderByBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public Builder removeOrderBy(int index) {
if (orderByBuilder_ == null) {
ensureOrderByIsMutable();
orderBy_.remove(index);
onChanged();
} else {
orderByBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getOrderByBuilder(
int index) {
return getOrderByFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getOrderByOrBuilder(
int index) {
if (orderByBuilder_ == null) {
return orderBy_.get(index); } else {
return orderByBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getOrderByOrBuilderList() {
if (orderByBuilder_ != null) {
return orderByBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(orderBy_);
}
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addOrderByBuilder() {
return getOrderByFieldBuilder().addBuilder(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance());
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addOrderByBuilder(
int index) {
return getOrderByFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance());
}
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder>
getOrderByBuilderList() {
return getOrderByFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getOrderByFieldBuilder() {
if (orderByBuilder_ == null) {
orderByBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
orderBy_,
((bitField0_ & 0x00000040) != 0),
getParentForChildren(),
isClean());
orderBy_ = null;
}
return orderByBuilder_;
}
private ai.chalk.protos.chalk.expression.v1.WindowFrame windowFrame_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.WindowFrame, ai.chalk.protos.chalk.expression.v1.WindowFrame.Builder, ai.chalk.protos.chalk.expression.v1.WindowFrameOrBuilder> windowFrameBuilder_;
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
* @return Whether the windowFrame field is set.
*/
public boolean hasWindowFrame() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
* @return The windowFrame.
*/
public ai.chalk.protos.chalk.expression.v1.WindowFrame getWindowFrame() {
if (windowFrameBuilder_ == null) {
return windowFrame_ == null ? ai.chalk.protos.chalk.expression.v1.WindowFrame.getDefaultInstance() : windowFrame_;
} else {
return windowFrameBuilder_.getMessage();
}
}
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
*/
public Builder setWindowFrame(ai.chalk.protos.chalk.expression.v1.WindowFrame value) {
if (windowFrameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
windowFrame_ = value;
} else {
windowFrameBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
*/
public Builder setWindowFrame(
ai.chalk.protos.chalk.expression.v1.WindowFrame.Builder builderForValue) {
if (windowFrameBuilder_ == null) {
windowFrame_ = builderForValue.build();
} else {
windowFrameBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
*/
public Builder mergeWindowFrame(ai.chalk.protos.chalk.expression.v1.WindowFrame value) {
if (windowFrameBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0) &&
windowFrame_ != null &&
windowFrame_ != ai.chalk.protos.chalk.expression.v1.WindowFrame.getDefaultInstance()) {
getWindowFrameBuilder().mergeFrom(value);
} else {
windowFrame_ = value;
}
} else {
windowFrameBuilder_.mergeFrom(value);
}
if (windowFrame_ != null) {
bitField0_ |= 0x00000080;
onChanged();
}
return this;
}
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
*/
public Builder clearWindowFrame() {
bitField0_ = (bitField0_ & ~0x00000080);
windowFrame_ = null;
if (windowFrameBuilder_ != null) {
windowFrameBuilder_.dispose();
windowFrameBuilder_ = null;
}
onChanged();
return this;
}
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.WindowFrame.Builder getWindowFrameBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getWindowFrameFieldBuilder().getBuilder();
}
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.WindowFrameOrBuilder getWindowFrameOrBuilder() {
if (windowFrameBuilder_ != null) {
return windowFrameBuilder_.getMessageOrBuilder();
} else {
return windowFrame_ == null ?
ai.chalk.protos.chalk.expression.v1.WindowFrame.getDefaultInstance() : windowFrame_;
}
}
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.WindowFrame, ai.chalk.protos.chalk.expression.v1.WindowFrame.Builder, ai.chalk.protos.chalk.expression.v1.WindowFrameOrBuilder>
getWindowFrameFieldBuilder() {
if (windowFrameBuilder_ == null) {
windowFrameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.WindowFrame, ai.chalk.protos.chalk.expression.v1.WindowFrame.Builder, ai.chalk.protos.chalk.expression.v1.WindowFrameOrBuilder>(
getWindowFrame(),
getParentForChildren(),
isClean());
windowFrame_ = null;
}
return windowFrameBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.WindowExprNode)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.WindowExprNode)
private static final ai.chalk.protos.chalk.expression.v1.WindowExprNode DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.WindowExprNode();
}
public static ai.chalk.protos.chalk.expression.v1.WindowExprNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<WindowExprNode>
PARSER = new com.google.protobuf.AbstractParser<WindowExprNode>() {
@java.lang.Override
public WindowExprNode 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<WindowExprNode> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<WindowExprNode> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowExprNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/WindowExprNodeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface WindowExprNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.WindowExprNode)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code>
* @return Whether the aggrFunction field is set.
*/
boolean hasAggrFunction();
/**
* <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code>
* @return The enum numeric value on the wire for aggrFunction.
*/
int getAggrFunctionValue();
/**
* <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code>
* @return The aggrFunction.
*/
ai.chalk.protos.chalk.expression.v1.AggregateFunction getAggrFunction();
/**
* <code>.chalk.expression.v1.BuiltInWindowFunction built_in_function = 2 [json_name = "builtInFunction"];</code>
* @return Whether the builtInFunction field is set.
*/
boolean hasBuiltInFunction();
/**
* <code>.chalk.expression.v1.BuiltInWindowFunction built_in_function = 2 [json_name = "builtInFunction"];</code>
* @return The enum numeric value on the wire for builtInFunction.
*/
int getBuiltInFunctionValue();
/**
* <code>.chalk.expression.v1.BuiltInWindowFunction built_in_function = 2 [json_name = "builtInFunction"];</code>
* @return The builtInFunction.
*/
ai.chalk.protos.chalk.expression.v1.BuiltInWindowFunction getBuiltInFunction();
/**
* <code>string udaf = 3 [json_name = "udaf"];</code>
* @return Whether the udaf field is set.
*/
boolean hasUdaf();
/**
* <code>string udaf = 3 [json_name = "udaf"];</code>
* @return The udaf.
*/
java.lang.String getUdaf();
/**
* <code>string udaf = 3 [json_name = "udaf"];</code>
* @return The bytes for udaf.
*/
com.google.protobuf.ByteString
getUdafBytes();
/**
* <code>string udwf = 9 [json_name = "udwf"];</code>
* @return Whether the udwf field is set.
*/
boolean hasUdwf();
/**
* <code>string udwf = 9 [json_name = "udwf"];</code>
* @return The udwf.
*/
java.lang.String getUdwf();
/**
* <code>string udwf = 9 [json_name = "udwf"];</code>
* @return The bytes for udwf.
*/
com.google.protobuf.ByteString
getUdwfBytes();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
* @return Whether the expr field is set.
*/
boolean hasExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
* @return The expr.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr();
/**
* <code>.chalk.expression.v1.LogicalExprNode expr = 4 [json_name = "expr"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>
getPartitionByList();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getPartitionBy(int index);
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
int getPartitionByCount();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getPartitionByOrBuilderList();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode partition_by = 5 [json_name = "partitionBy"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getPartitionByOrBuilder(
int index);
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>
getOrderByList();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getOrderBy(int index);
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
int getOrderByCount();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getOrderByOrBuilderList();
/**
* <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 6 [json_name = "orderBy"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getOrderByOrBuilder(
int index);
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
* @return Whether the windowFrame field is set.
*/
boolean hasWindowFrame();
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
* @return The windowFrame.
*/
ai.chalk.protos.chalk.expression.v1.WindowFrame getWindowFrame();
/**
* <pre>
* repeated LogicalExprNode filter = 7;
* </pre>
*
* <code>.chalk.expression.v1.WindowFrame window_frame = 8 [json_name = "windowFrame"];</code>
*/
ai.chalk.protos.chalk.expression.v1.WindowFrameOrBuilder getWindowFrameOrBuilder();
ai.chalk.protos.chalk.expression.v1.WindowExprNode.WindowFunctionCase getWindowFunctionCase();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/WindowFrame.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.WindowFrame}
*/
public final class WindowFrame extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.WindowFrame)
WindowFrameOrBuilder {
private static final long serialVersionUID = 0L;
// Use WindowFrame.newBuilder() to construct.
private WindowFrame(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private WindowFrame() {
windowFrameUnits_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WindowFrame();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowFrame_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowFrame_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.WindowFrame.class, ai.chalk.protos.chalk.expression.v1.WindowFrame.Builder.class);
}
private int bitField0_;
public static final int WINDOW_FRAME_UNITS_FIELD_NUMBER = 1;
private int windowFrameUnits_ = 0;
/**
* <code>.chalk.expression.v1.WindowFrameUnits window_frame_units = 1 [json_name = "windowFrameUnits"];</code>
* @return The enum numeric value on the wire for windowFrameUnits.
*/
@java.lang.Override public int getWindowFrameUnitsValue() {
return windowFrameUnits_;
}
/**
* <code>.chalk.expression.v1.WindowFrameUnits window_frame_units = 1 [json_name = "windowFrameUnits"];</code>
* @return The windowFrameUnits.
*/
@java.lang.Override public ai.chalk.protos.chalk.expression.v1.WindowFrameUnits getWindowFrameUnits() {
ai.chalk.protos.chalk.expression.v1.WindowFrameUnits result = ai.chalk.protos.chalk.expression.v1.WindowFrameUnits.forNumber(windowFrameUnits_);
return result == null ? ai.chalk.protos.chalk.expression.v1.WindowFrameUnits.UNRECOGNIZED : result;
}
public static final int START_BOUND_FIELD_NUMBER = 2;
private ai.chalk.protos.chalk.expression.v1.WindowFrameBound startBound_;
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
* @return Whether the startBound field is set.
*/
@java.lang.Override
public boolean hasStartBound() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
* @return The startBound.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrameBound getStartBound() {
return startBound_ == null ? ai.chalk.protos.chalk.expression.v1.WindowFrameBound.getDefaultInstance() : startBound_;
}
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder getStartBoundOrBuilder() {
return startBound_ == null ? ai.chalk.protos.chalk.expression.v1.WindowFrameBound.getDefaultInstance() : startBound_;
}
public static final int BOUND_FIELD_NUMBER = 3;
private ai.chalk.protos.chalk.expression.v1.WindowFrameBound bound_;
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
* @return Whether the bound field is set.
*/
@java.lang.Override
public boolean hasBound() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
* @return The bound.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrameBound getBound() {
return bound_ == null ? ai.chalk.protos.chalk.expression.v1.WindowFrameBound.getDefaultInstance() : bound_;
}
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder getBoundOrBuilder() {
return bound_ == null ? ai.chalk.protos.chalk.expression.v1.WindowFrameBound.getDefaultInstance() : bound_;
}
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 (windowFrameUnits_ != ai.chalk.protos.chalk.expression.v1.WindowFrameUnits.WINDOW_FRAME_UNITS_UNSPECIFIED.getNumber()) {
output.writeEnum(1, windowFrameUnits_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getStartBound());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(3, getBound());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (windowFrameUnits_ != ai.chalk.protos.chalk.expression.v1.WindowFrameUnits.WINDOW_FRAME_UNITS_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, windowFrameUnits_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStartBound());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getBound());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.WindowFrame)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.WindowFrame other = (ai.chalk.protos.chalk.expression.v1.WindowFrame) obj;
if (windowFrameUnits_ != other.windowFrameUnits_) return false;
if (hasStartBound() != other.hasStartBound()) return false;
if (hasStartBound()) {
if (!getStartBound()
.equals(other.getStartBound())) return false;
}
if (hasBound() != other.hasBound()) return false;
if (hasBound()) {
if (!getBound()
.equals(other.getBound())) 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) + WINDOW_FRAME_UNITS_FIELD_NUMBER;
hash = (53 * hash) + windowFrameUnits_;
if (hasStartBound()) {
hash = (37 * hash) + START_BOUND_FIELD_NUMBER;
hash = (53 * hash) + getStartBound().hashCode();
}
if (hasBound()) {
hash = (37 * hash) + BOUND_FIELD_NUMBER;
hash = (53 * hash) + getBound().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.WindowFrame prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.WindowFrame}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.WindowFrame)
ai.chalk.protos.chalk.expression.v1.WindowFrameOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowFrame_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowFrame_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.WindowFrame.class, ai.chalk.protos.chalk.expression.v1.WindowFrame.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.WindowFrame.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStartBoundFieldBuilder();
getBoundFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
windowFrameUnits_ = 0;
startBound_ = null;
if (startBoundBuilder_ != null) {
startBoundBuilder_.dispose();
startBoundBuilder_ = null;
}
bound_ = null;
if (boundBuilder_ != null) {
boundBuilder_.dispose();
boundBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowFrame_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrame getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.WindowFrame.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrame build() {
ai.chalk.protos.chalk.expression.v1.WindowFrame result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrame buildPartial() {
ai.chalk.protos.chalk.expression.v1.WindowFrame result = new ai.chalk.protos.chalk.expression.v1.WindowFrame(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.WindowFrame result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.windowFrameUnits_ = windowFrameUnits_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.startBound_ = startBoundBuilder_ == null
? startBound_
: startBoundBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.bound_ = boundBuilder_ == null
? bound_
: boundBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.WindowFrame) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.WindowFrame)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.WindowFrame other) {
if (other == ai.chalk.protos.chalk.expression.v1.WindowFrame.getDefaultInstance()) return this;
if (other.windowFrameUnits_ != 0) {
setWindowFrameUnitsValue(other.getWindowFrameUnitsValue());
}
if (other.hasStartBound()) {
mergeStartBound(other.getStartBound());
}
if (other.hasBound()) {
mergeBound(other.getBound());
}
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: {
windowFrameUnits_ = input.readEnum();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
input.readMessage(
getStartBoundFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getBoundFieldBuilder().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 int windowFrameUnits_ = 0;
/**
* <code>.chalk.expression.v1.WindowFrameUnits window_frame_units = 1 [json_name = "windowFrameUnits"];</code>
* @return The enum numeric value on the wire for windowFrameUnits.
*/
@java.lang.Override public int getWindowFrameUnitsValue() {
return windowFrameUnits_;
}
/**
* <code>.chalk.expression.v1.WindowFrameUnits window_frame_units = 1 [json_name = "windowFrameUnits"];</code>
* @param value The enum numeric value on the wire for windowFrameUnits to set.
* @return This builder for chaining.
*/
public Builder setWindowFrameUnitsValue(int value) {
windowFrameUnits_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.WindowFrameUnits window_frame_units = 1 [json_name = "windowFrameUnits"];</code>
* @return The windowFrameUnits.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrameUnits getWindowFrameUnits() {
ai.chalk.protos.chalk.expression.v1.WindowFrameUnits result = ai.chalk.protos.chalk.expression.v1.WindowFrameUnits.forNumber(windowFrameUnits_);
return result == null ? ai.chalk.protos.chalk.expression.v1.WindowFrameUnits.UNRECOGNIZED : result;
}
/**
* <code>.chalk.expression.v1.WindowFrameUnits window_frame_units = 1 [json_name = "windowFrameUnits"];</code>
* @param value The windowFrameUnits to set.
* @return This builder for chaining.
*/
public Builder setWindowFrameUnits(ai.chalk.protos.chalk.expression.v1.WindowFrameUnits value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
windowFrameUnits_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.WindowFrameUnits window_frame_units = 1 [json_name = "windowFrameUnits"];</code>
* @return This builder for chaining.
*/
public Builder clearWindowFrameUnits() {
bitField0_ = (bitField0_ & ~0x00000001);
windowFrameUnits_ = 0;
onChanged();
return this;
}
private ai.chalk.protos.chalk.expression.v1.WindowFrameBound startBound_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.WindowFrameBound, ai.chalk.protos.chalk.expression.v1.WindowFrameBound.Builder, ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder> startBoundBuilder_;
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
* @return Whether the startBound field is set.
*/
public boolean hasStartBound() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
* @return The startBound.
*/
public ai.chalk.protos.chalk.expression.v1.WindowFrameBound getStartBound() {
if (startBoundBuilder_ == null) {
return startBound_ == null ? ai.chalk.protos.chalk.expression.v1.WindowFrameBound.getDefaultInstance() : startBound_;
} else {
return startBoundBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
*/
public Builder setStartBound(ai.chalk.protos.chalk.expression.v1.WindowFrameBound value) {
if (startBoundBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
startBound_ = value;
} else {
startBoundBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
*/
public Builder setStartBound(
ai.chalk.protos.chalk.expression.v1.WindowFrameBound.Builder builderForValue) {
if (startBoundBuilder_ == null) {
startBound_ = builderForValue.build();
} else {
startBoundBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
*/
public Builder mergeStartBound(ai.chalk.protos.chalk.expression.v1.WindowFrameBound value) {
if (startBoundBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
startBound_ != null &&
startBound_ != ai.chalk.protos.chalk.expression.v1.WindowFrameBound.getDefaultInstance()) {
getStartBoundBuilder().mergeFrom(value);
} else {
startBound_ = value;
}
} else {
startBoundBuilder_.mergeFrom(value);
}
if (startBound_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
*/
public Builder clearStartBound() {
bitField0_ = (bitField0_ & ~0x00000002);
startBound_ = null;
if (startBoundBuilder_ != null) {
startBoundBuilder_.dispose();
startBoundBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.WindowFrameBound.Builder getStartBoundBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getStartBoundFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder getStartBoundOrBuilder() {
if (startBoundBuilder_ != null) {
return startBoundBuilder_.getMessageOrBuilder();
} else {
return startBound_ == null ?
ai.chalk.protos.chalk.expression.v1.WindowFrameBound.getDefaultInstance() : startBound_;
}
}
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.WindowFrameBound, ai.chalk.protos.chalk.expression.v1.WindowFrameBound.Builder, ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder>
getStartBoundFieldBuilder() {
if (startBoundBuilder_ == null) {
startBoundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.WindowFrameBound, ai.chalk.protos.chalk.expression.v1.WindowFrameBound.Builder, ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder>(
getStartBound(),
getParentForChildren(),
isClean());
startBound_ = null;
}
return startBoundBuilder_;
}
private ai.chalk.protos.chalk.expression.v1.WindowFrameBound bound_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.WindowFrameBound, ai.chalk.protos.chalk.expression.v1.WindowFrameBound.Builder, ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder> boundBuilder_;
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
* @return Whether the bound field is set.
*/
public boolean hasBound() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
* @return The bound.
*/
public ai.chalk.protos.chalk.expression.v1.WindowFrameBound getBound() {
if (boundBuilder_ == null) {
return bound_ == null ? ai.chalk.protos.chalk.expression.v1.WindowFrameBound.getDefaultInstance() : bound_;
} else {
return boundBuilder_.getMessage();
}
}
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
*/
public Builder setBound(ai.chalk.protos.chalk.expression.v1.WindowFrameBound value) {
if (boundBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
bound_ = value;
} else {
boundBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
*/
public Builder setBound(
ai.chalk.protos.chalk.expression.v1.WindowFrameBound.Builder builderForValue) {
if (boundBuilder_ == null) {
bound_ = builderForValue.build();
} else {
boundBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
*/
public Builder mergeBound(ai.chalk.protos.chalk.expression.v1.WindowFrameBound value) {
if (boundBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
bound_ != null &&
bound_ != ai.chalk.protos.chalk.expression.v1.WindowFrameBound.getDefaultInstance()) {
getBoundBuilder().mergeFrom(value);
} else {
bound_ = value;
}
} else {
boundBuilder_.mergeFrom(value);
}
if (bound_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
*/
public Builder clearBound() {
bitField0_ = (bitField0_ & ~0x00000004);
bound_ = null;
if (boundBuilder_ != null) {
boundBuilder_.dispose();
boundBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.WindowFrameBound.Builder getBoundBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getBoundFieldBuilder().getBuilder();
}
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder getBoundOrBuilder() {
if (boundBuilder_ != null) {
return boundBuilder_.getMessageOrBuilder();
} else {
return bound_ == null ?
ai.chalk.protos.chalk.expression.v1.WindowFrameBound.getDefaultInstance() : bound_;
}
}
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.WindowFrameBound, ai.chalk.protos.chalk.expression.v1.WindowFrameBound.Builder, ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder>
getBoundFieldBuilder() {
if (boundBuilder_ == null) {
boundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.WindowFrameBound, ai.chalk.protos.chalk.expression.v1.WindowFrameBound.Builder, ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder>(
getBound(),
getParentForChildren(),
isClean());
bound_ = null;
}
return boundBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.WindowFrame)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.WindowFrame)
private static final ai.chalk.protos.chalk.expression.v1.WindowFrame DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.WindowFrame();
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrame getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<WindowFrame>
PARSER = new com.google.protobuf.AbstractParser<WindowFrame>() {
@java.lang.Override
public WindowFrame 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<WindowFrame> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<WindowFrame> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrame getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/WindowFrameBound.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf type {@code chalk.expression.v1.WindowFrameBound}
*/
public final class WindowFrameBound extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.expression.v1.WindowFrameBound)
WindowFrameBoundOrBuilder {
private static final long serialVersionUID = 0L;
// Use WindowFrameBound.newBuilder() to construct.
private WindowFrameBound(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private WindowFrameBound() {
windowFrameBoundType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WindowFrameBound();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowFrameBound_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowFrameBound_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.WindowFrameBound.class, ai.chalk.protos.chalk.expression.v1.WindowFrameBound.Builder.class);
}
private int bitField0_;
public static final int WINDOW_FRAME_BOUND_TYPE_FIELD_NUMBER = 1;
private int windowFrameBoundType_ = 0;
/**
* <code>.chalk.expression.v1.WindowFrameBoundType window_frame_bound_type = 1 [json_name = "windowFrameBoundType"];</code>
* @return The enum numeric value on the wire for windowFrameBoundType.
*/
@java.lang.Override public int getWindowFrameBoundTypeValue() {
return windowFrameBoundType_;
}
/**
* <code>.chalk.expression.v1.WindowFrameBoundType window_frame_bound_type = 1 [json_name = "windowFrameBoundType"];</code>
* @return The windowFrameBoundType.
*/
@java.lang.Override public ai.chalk.protos.chalk.expression.v1.WindowFrameBoundType getWindowFrameBoundType() {
ai.chalk.protos.chalk.expression.v1.WindowFrameBoundType result = ai.chalk.protos.chalk.expression.v1.WindowFrameBoundType.forNumber(windowFrameBoundType_);
return result == null ? ai.chalk.protos.chalk.expression.v1.WindowFrameBoundType.UNRECOGNIZED : result;
}
public static final int BOUND_VALUE_FIELD_NUMBER = 2;
private ai.chalk.protos.chalk.arrow.v1.ScalarValue boundValue_;
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
* @return Whether the boundValue field is set.
*/
@java.lang.Override
public boolean hasBoundValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
* @return The boundValue.
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getBoundValue() {
return boundValue_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : boundValue_;
}
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getBoundValueOrBuilder() {
return boundValue_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : boundValue_;
}
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 (windowFrameBoundType_ != ai.chalk.protos.chalk.expression.v1.WindowFrameBoundType.WINDOW_FRAME_BOUND_TYPE_UNSPECIFIED.getNumber()) {
output.writeEnum(1, windowFrameBoundType_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getBoundValue());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (windowFrameBoundType_ != ai.chalk.protos.chalk.expression.v1.WindowFrameBoundType.WINDOW_FRAME_BOUND_TYPE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, windowFrameBoundType_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getBoundValue());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.chalk.protos.chalk.expression.v1.WindowFrameBound)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.expression.v1.WindowFrameBound other = (ai.chalk.protos.chalk.expression.v1.WindowFrameBound) obj;
if (windowFrameBoundType_ != other.windowFrameBoundType_) return false;
if (hasBoundValue() != other.hasBoundValue()) return false;
if (hasBoundValue()) {
if (!getBoundValue()
.equals(other.getBoundValue())) 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) + WINDOW_FRAME_BOUND_TYPE_FIELD_NUMBER;
hash = (53 * hash) + windowFrameBoundType_;
if (hasBoundValue()) {
hash = (37 * hash) + BOUND_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getBoundValue().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.WindowFrameBound prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code chalk.expression.v1.WindowFrameBound}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.expression.v1.WindowFrameBound)
ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowFrameBound_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowFrameBound_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.expression.v1.WindowFrameBound.class, ai.chalk.protos.chalk.expression.v1.WindowFrameBound.Builder.class);
}
// Construct using ai.chalk.protos.chalk.expression.v1.WindowFrameBound.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBoundValueFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
windowFrameBoundType_ = 0;
boundValue_ = null;
if (boundValueBuilder_ != null) {
boundValueBuilder_.dispose();
boundValueBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_WindowFrameBound_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrameBound getDefaultInstanceForType() {
return ai.chalk.protos.chalk.expression.v1.WindowFrameBound.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrameBound build() {
ai.chalk.protos.chalk.expression.v1.WindowFrameBound result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrameBound buildPartial() {
ai.chalk.protos.chalk.expression.v1.WindowFrameBound result = new ai.chalk.protos.chalk.expression.v1.WindowFrameBound(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.expression.v1.WindowFrameBound result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.windowFrameBoundType_ = windowFrameBoundType_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.boundValue_ = boundValueBuilder_ == null
? boundValue_
: boundValueBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.expression.v1.WindowFrameBound) {
return mergeFrom((ai.chalk.protos.chalk.expression.v1.WindowFrameBound)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.WindowFrameBound other) {
if (other == ai.chalk.protos.chalk.expression.v1.WindowFrameBound.getDefaultInstance()) return this;
if (other.windowFrameBoundType_ != 0) {
setWindowFrameBoundTypeValue(other.getWindowFrameBoundTypeValue());
}
if (other.hasBoundValue()) {
mergeBoundValue(other.getBoundValue());
}
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: {
windowFrameBoundType_ = input.readEnum();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
input.readMessage(
getBoundValueFieldBuilder().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 int windowFrameBoundType_ = 0;
/**
* <code>.chalk.expression.v1.WindowFrameBoundType window_frame_bound_type = 1 [json_name = "windowFrameBoundType"];</code>
* @return The enum numeric value on the wire for windowFrameBoundType.
*/
@java.lang.Override public int getWindowFrameBoundTypeValue() {
return windowFrameBoundType_;
}
/**
* <code>.chalk.expression.v1.WindowFrameBoundType window_frame_bound_type = 1 [json_name = "windowFrameBoundType"];</code>
* @param value The enum numeric value on the wire for windowFrameBoundType to set.
* @return This builder for chaining.
*/
public Builder setWindowFrameBoundTypeValue(int value) {
windowFrameBoundType_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.WindowFrameBoundType window_frame_bound_type = 1 [json_name = "windowFrameBoundType"];</code>
* @return The windowFrameBoundType.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrameBoundType getWindowFrameBoundType() {
ai.chalk.protos.chalk.expression.v1.WindowFrameBoundType result = ai.chalk.protos.chalk.expression.v1.WindowFrameBoundType.forNumber(windowFrameBoundType_);
return result == null ? ai.chalk.protos.chalk.expression.v1.WindowFrameBoundType.UNRECOGNIZED : result;
}
/**
* <code>.chalk.expression.v1.WindowFrameBoundType window_frame_bound_type = 1 [json_name = "windowFrameBoundType"];</code>
* @param value The windowFrameBoundType to set.
* @return This builder for chaining.
*/
public Builder setWindowFrameBoundType(ai.chalk.protos.chalk.expression.v1.WindowFrameBoundType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
windowFrameBoundType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.WindowFrameBoundType window_frame_bound_type = 1 [json_name = "windowFrameBoundType"];</code>
* @return This builder for chaining.
*/
public Builder clearWindowFrameBoundType() {
bitField0_ = (bitField0_ & ~0x00000001);
windowFrameBoundType_ = 0;
onChanged();
return this;
}
private ai.chalk.protos.chalk.arrow.v1.ScalarValue boundValue_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> boundValueBuilder_;
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
* @return Whether the boundValue field is set.
*/
public boolean hasBoundValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
* @return The boundValue.
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getBoundValue() {
if (boundValueBuilder_ == null) {
return boundValue_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : boundValue_;
} else {
return boundValueBuilder_.getMessage();
}
}
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
*/
public Builder setBoundValue(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (boundValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
boundValue_ = value;
} else {
boundValueBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
*/
public Builder setBoundValue(
ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder builderForValue) {
if (boundValueBuilder_ == null) {
boundValue_ = builderForValue.build();
} else {
boundValueBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
*/
public Builder mergeBoundValue(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (boundValueBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
boundValue_ != null &&
boundValue_ != ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance()) {
getBoundValueBuilder().mergeFrom(value);
} else {
boundValue_ = value;
}
} else {
boundValueBuilder_.mergeFrom(value);
}
if (boundValue_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
*/
public Builder clearBoundValue() {
bitField0_ = (bitField0_ & ~0x00000002);
boundValue_ = null;
if (boundValueBuilder_ != null) {
boundValueBuilder_.dispose();
boundValueBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder getBoundValueBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getBoundValueFieldBuilder().getBuilder();
}
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getBoundValueOrBuilder() {
if (boundValueBuilder_ != null) {
return boundValueBuilder_.getMessageOrBuilder();
} else {
return boundValue_ == null ?
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : boundValue_;
}
}
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder>
getBoundValueFieldBuilder() {
if (boundValueBuilder_ == null) {
boundValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder>(
getBoundValue(),
getParentForChildren(),
isClean());
boundValue_ = null;
}
return boundValueBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.expression.v1.WindowFrameBound)
}
// @@protoc_insertion_point(class_scope:chalk.expression.v1.WindowFrameBound)
private static final ai.chalk.protos.chalk.expression.v1.WindowFrameBound DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.WindowFrameBound();
}
public static ai.chalk.protos.chalk.expression.v1.WindowFrameBound getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<WindowFrameBound>
PARSER = new com.google.protobuf.AbstractParser<WindowFrameBound>() {
@java.lang.Override
public WindowFrameBound 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<WindowFrameBound> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<WindowFrameBound> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.WindowFrameBound getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/WindowFrameBoundOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface WindowFrameBoundOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.WindowFrameBound)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.expression.v1.WindowFrameBoundType window_frame_bound_type = 1 [json_name = "windowFrameBoundType"];</code>
* @return The enum numeric value on the wire for windowFrameBoundType.
*/
int getWindowFrameBoundTypeValue();
/**
* <code>.chalk.expression.v1.WindowFrameBoundType window_frame_bound_type = 1 [json_name = "windowFrameBoundType"];</code>
* @return The windowFrameBoundType.
*/
ai.chalk.protos.chalk.expression.v1.WindowFrameBoundType getWindowFrameBoundType();
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
* @return Whether the boundValue field is set.
*/
boolean hasBoundValue();
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
* @return The boundValue.
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getBoundValue();
/**
* <code>.chalk.arrow.v1.ScalarValue bound_value = 2 [json_name = "boundValue"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getBoundValueOrBuilder();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/WindowFrameBoundType.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf enum {@code chalk.expression.v1.WindowFrameBoundType}
*/
public enum WindowFrameBoundType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>WINDOW_FRAME_BOUND_TYPE_UNSPECIFIED = 0;</code>
*/
WINDOW_FRAME_BOUND_TYPE_UNSPECIFIED(0),
/**
* <code>WINDOW_FRAME_BOUND_TYPE_CURRENT_ROW = 1;</code>
*/
WINDOW_FRAME_BOUND_TYPE_CURRENT_ROW(1),
/**
* <code>WINDOW_FRAME_BOUND_TYPE_PRECEDING = 2;</code>
*/
WINDOW_FRAME_BOUND_TYPE_PRECEDING(2),
/**
* <code>WINDOW_FRAME_BOUND_TYPE_FOLLOWING = 3;</code>
*/
WINDOW_FRAME_BOUND_TYPE_FOLLOWING(3),
UNRECOGNIZED(-1),
;
/**
* <code>WINDOW_FRAME_BOUND_TYPE_UNSPECIFIED = 0;</code>
*/
public static final int WINDOW_FRAME_BOUND_TYPE_UNSPECIFIED_VALUE = 0;
/**
* <code>WINDOW_FRAME_BOUND_TYPE_CURRENT_ROW = 1;</code>
*/
public static final int WINDOW_FRAME_BOUND_TYPE_CURRENT_ROW_VALUE = 1;
/**
* <code>WINDOW_FRAME_BOUND_TYPE_PRECEDING = 2;</code>
*/
public static final int WINDOW_FRAME_BOUND_TYPE_PRECEDING_VALUE = 2;
/**
* <code>WINDOW_FRAME_BOUND_TYPE_FOLLOWING = 3;</code>
*/
public static final int WINDOW_FRAME_BOUND_TYPE_FOLLOWING_VALUE = 3;
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 WindowFrameBoundType 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 WindowFrameBoundType forNumber(int value) {
switch (value) {
case 0: return WINDOW_FRAME_BOUND_TYPE_UNSPECIFIED;
case 1: return WINDOW_FRAME_BOUND_TYPE_CURRENT_ROW;
case 2: return WINDOW_FRAME_BOUND_TYPE_PRECEDING;
case 3: return WINDOW_FRAME_BOUND_TYPE_FOLLOWING;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<WindowFrameBoundType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
WindowFrameBoundType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<WindowFrameBoundType>() {
public WindowFrameBoundType findValueByNumber(int number) {
return WindowFrameBoundType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.getDescriptor().getEnumTypes().get(4);
}
private static final WindowFrameBoundType[] VALUES = values();
public static WindowFrameBoundType 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 WindowFrameBoundType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:chalk.expression.v1.WindowFrameBoundType)
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/WindowFrameOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
public interface WindowFrameOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.expression.v1.WindowFrame)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.expression.v1.WindowFrameUnits window_frame_units = 1 [json_name = "windowFrameUnits"];</code>
* @return The enum numeric value on the wire for windowFrameUnits.
*/
int getWindowFrameUnitsValue();
/**
* <code>.chalk.expression.v1.WindowFrameUnits window_frame_units = 1 [json_name = "windowFrameUnits"];</code>
* @return The windowFrameUnits.
*/
ai.chalk.protos.chalk.expression.v1.WindowFrameUnits getWindowFrameUnits();
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
* @return Whether the startBound field is set.
*/
boolean hasStartBound();
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
* @return The startBound.
*/
ai.chalk.protos.chalk.expression.v1.WindowFrameBound getStartBound();
/**
* <code>.chalk.expression.v1.WindowFrameBound start_bound = 2 [json_name = "startBound"];</code>
*/
ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder getStartBoundOrBuilder();
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
* @return Whether the bound field is set.
*/
boolean hasBound();
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
* @return The bound.
*/
ai.chalk.protos.chalk.expression.v1.WindowFrameBound getBound();
/**
* <code>optional .chalk.expression.v1.WindowFrameBound bound = 3 [json_name = "bound"];</code>
*/
ai.chalk.protos.chalk.expression.v1.WindowFrameBoundOrBuilder getBoundOrBuilder();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/WindowFrameUnits.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/expression/v1/expression.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.expression.v1;
/**
* Protobuf enum {@code chalk.expression.v1.WindowFrameUnits}
*/
public enum WindowFrameUnits
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>WINDOW_FRAME_UNITS_UNSPECIFIED = 0;</code>
*/
WINDOW_FRAME_UNITS_UNSPECIFIED(0),
/**
* <code>WINDOW_FRAME_UNITS_ROWS = 1;</code>
*/
WINDOW_FRAME_UNITS_ROWS(1),
/**
* <code>WINDOW_FRAME_UNITS_RANGE = 2;</code>
*/
WINDOW_FRAME_UNITS_RANGE(2),
/**
* <code>WINDOW_FRAME_UNITS_GROUPS = 3;</code>
*/
WINDOW_FRAME_UNITS_GROUPS(3),
UNRECOGNIZED(-1),
;
/**
* <code>WINDOW_FRAME_UNITS_UNSPECIFIED = 0;</code>
*/
public static final int WINDOW_FRAME_UNITS_UNSPECIFIED_VALUE = 0;
/**
* <code>WINDOW_FRAME_UNITS_ROWS = 1;</code>
*/
public static final int WINDOW_FRAME_UNITS_ROWS_VALUE = 1;
/**
* <code>WINDOW_FRAME_UNITS_RANGE = 2;</code>
*/
public static final int WINDOW_FRAME_UNITS_RANGE_VALUE = 2;
/**
* <code>WINDOW_FRAME_UNITS_GROUPS = 3;</code>
*/
public static final int WINDOW_FRAME_UNITS_GROUPS_VALUE = 3;
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 WindowFrameUnits 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 WindowFrameUnits forNumber(int value) {
switch (value) {
case 0: return WINDOW_FRAME_UNITS_UNSPECIFIED;
case 1: return WINDOW_FRAME_UNITS_ROWS;
case 2: return WINDOW_FRAME_UNITS_RANGE;
case 3: return WINDOW_FRAME_UNITS_GROUPS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<WindowFrameUnits>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
WindowFrameUnits> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<WindowFrameUnits>() {
public WindowFrameUnits findValueByNumber(int number) {
return WindowFrameUnits.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return ai.chalk.protos.chalk.expression.v1.ExpressionProto.getDescriptor().getEnumTypes().get(3);
}
private static final WindowFrameUnits[] VALUES = values();
public static WindowFrameUnits 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 WindowFrameUnits(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:chalk.expression.v1.WindowFrameUnits)
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/BigQuerySource.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.BigQuerySource}
*/
public final class BigQuerySource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.BigQuerySource)
BigQuerySourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use BigQuerySource.newBuilder() to construct.
private BigQuerySource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private BigQuerySource() {
name_ = "";
project_ = "";
dataset_ = "";
location_ = "";
credentialsBase64_ = "";
credentialsPath_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BigQuerySource();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_BigQuerySource_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 7:
return internalGetEngineArgs();
case 8:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_BigQuerySource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.BigQuerySource.class, ai.chalk.protos.chalk.graph.v1.BigQuerySource.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;
}
}
public static final int PROJECT_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object project_ = "";
/**
* <code>string project = 2 [json_name = "project"];</code>
* @return The project.
*/
@java.lang.Override
public java.lang.String getProject() {
java.lang.Object ref = project_;
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();
project_ = s;
return s;
}
}
/**
* <code>string project = 2 [json_name = "project"];</code>
* @return The bytes for project.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProjectBytes() {
java.lang.Object ref = project_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
project_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATASET_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object dataset_ = "";
/**
* <code>string dataset = 3 [json_name = "dataset"];</code>
* @return The dataset.
*/
@java.lang.Override
public java.lang.String getDataset() {
java.lang.Object ref = dataset_;
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();
dataset_ = s;
return s;
}
}
/**
* <code>string dataset = 3 [json_name = "dataset"];</code>
* @return The bytes for dataset.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDatasetBytes() {
java.lang.Object ref = dataset_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCATION_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object location_ = "";
/**
* <code>string location = 4 [json_name = "location"];</code>
* @return The location.
*/
@java.lang.Override
public java.lang.String getLocation() {
java.lang.Object ref = location_;
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();
location_ = s;
return s;
}
}
/**
* <code>string location = 4 [json_name = "location"];</code>
* @return The bytes for location.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLocationBytes() {
java.lang.Object ref = location_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
location_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREDENTIALS_BASE64_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object credentialsBase64_ = "";
/**
* <code>string credentials_base64 = 5 [json_name = "credentialsBase64"];</code>
* @return The credentialsBase64.
*/
@java.lang.Override
public java.lang.String getCredentialsBase64() {
java.lang.Object ref = credentialsBase64_;
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();
credentialsBase64_ = s;
return s;
}
}
/**
* <code>string credentials_base64 = 5 [json_name = "credentialsBase64"];</code>
* @return The bytes for credentialsBase64.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCredentialsBase64Bytes() {
java.lang.Object ref = credentialsBase64_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
credentialsBase64_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREDENTIALS_PATH_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object credentialsPath_ = "";
/**
* <code>string credentials_path = 6 [json_name = "credentialsPath"];</code>
* @return The credentialsPath.
*/
@java.lang.Override
public java.lang.String getCredentialsPath() {
java.lang.Object ref = credentialsPath_;
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();
credentialsPath_ = s;
return s;
}
}
/**
* <code>string credentials_path = 6 [json_name = "credentialsPath"];</code>
* @return The bytes for credentialsPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCredentialsPathBytes() {
java.lang.Object ref = credentialsPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
credentialsPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENGINE_ARGS_FIELD_NUMBER = 7;
private static final class EngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_BigQuerySource_EngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> engineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
EngineArgsDefaultEntryHolder.defaultEntry);
}
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int ASYNC_ENGINE_ARGS_FIELD_NUMBER = 8;
private static final class AsyncEngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_BigQuerySource_AsyncEngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> asyncEngineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, project_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dataset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, location_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(credentialsBase64_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, credentialsBase64_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(credentialsPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, credentialsPath_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetEngineArgs(),
EngineArgsDefaultEntryHolder.defaultEntry,
7);
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetAsyncEngineArgs(),
AsyncEngineArgsDefaultEntryHolder.defaultEntry,
8);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, project_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dataset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, location_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(credentialsBase64_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, credentialsBase64_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(credentialsPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, credentialsPath_);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = EngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, engineArgs__);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetAsyncEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = AsyncEngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, asyncEngineArgs__);
}
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.graph.v1.BigQuerySource)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.BigQuerySource other = (ai.chalk.protos.chalk.graph.v1.BigQuerySource) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getProject()
.equals(other.getProject())) return false;
if (!getDataset()
.equals(other.getDataset())) return false;
if (!getLocation()
.equals(other.getLocation())) return false;
if (!getCredentialsBase64()
.equals(other.getCredentialsBase64())) return false;
if (!getCredentialsPath()
.equals(other.getCredentialsPath())) return false;
if (!internalGetEngineArgs().equals(
other.internalGetEngineArgs())) return false;
if (!internalGetAsyncEngineArgs().equals(
other.internalGetAsyncEngineArgs())) 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 = (37 * hash) + PROJECT_FIELD_NUMBER;
hash = (53 * hash) + getProject().hashCode();
hash = (37 * hash) + DATASET_FIELD_NUMBER;
hash = (53 * hash) + getDataset().hashCode();
hash = (37 * hash) + LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getLocation().hashCode();
hash = (37 * hash) + CREDENTIALS_BASE64_FIELD_NUMBER;
hash = (53 * hash) + getCredentialsBase64().hashCode();
hash = (37 * hash) + CREDENTIALS_PATH_FIELD_NUMBER;
hash = (53 * hash) + getCredentialsPath().hashCode();
if (!internalGetEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetEngineArgs().hashCode();
}
if (!internalGetAsyncEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ASYNC_ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetAsyncEngineArgs().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.BigQuerySource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.BigQuerySource 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.graph.v1.BigQuerySource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.BigQuerySource 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.graph.v1.BigQuerySource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.BigQuerySource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.BigQuerySource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.BigQuerySource 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.graph.v1.BigQuerySource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.BigQuerySource 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.graph.v1.BigQuerySource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.BigQuerySource 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.graph.v1.BigQuerySource 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.graph.v1.BigQuerySource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.BigQuerySource)
ai.chalk.protos.chalk.graph.v1.BigQuerySourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_BigQuerySource_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 7:
return internalGetEngineArgs();
case 8:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
int number) {
switch (number) {
case 7:
return internalGetMutableEngineArgs();
case 8:
return internalGetMutableAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_BigQuerySource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.BigQuerySource.class, ai.chalk.protos.chalk.graph.v1.BigQuerySource.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.BigQuerySource.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
project_ = "";
dataset_ = "";
location_ = "";
credentialsBase64_ = "";
credentialsPath_ = "";
internalGetMutableEngineArgs().clear();
internalGetMutableAsyncEngineArgs().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_BigQuerySource_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.BigQuerySource getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.BigQuerySource.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.BigQuerySource build() {
ai.chalk.protos.chalk.graph.v1.BigQuerySource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.BigQuerySource buildPartial() {
ai.chalk.protos.chalk.graph.v1.BigQuerySource result = new ai.chalk.protos.chalk.graph.v1.BigQuerySource(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.BigQuerySource result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.project_ = project_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.dataset_ = dataset_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.location_ = location_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.credentialsBase64_ = credentialsBase64_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.credentialsPath_ = credentialsPath_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.engineArgs_ = internalGetEngineArgs().build(EngineArgsDefaultEntryHolder.defaultEntry);
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.asyncEngineArgs_ = internalGetAsyncEngineArgs().build(AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
}
@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.graph.v1.BigQuerySource) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.BigQuerySource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.BigQuerySource other) {
if (other == ai.chalk.protos.chalk.graph.v1.BigQuerySource.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getProject().isEmpty()) {
project_ = other.project_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getDataset().isEmpty()) {
dataset_ = other.dataset_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getLocation().isEmpty()) {
location_ = other.location_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getCredentialsBase64().isEmpty()) {
credentialsBase64_ = other.credentialsBase64_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getCredentialsPath().isEmpty()) {
credentialsPath_ = other.credentialsPath_;
bitField0_ |= 0x00000020;
onChanged();
}
internalGetMutableEngineArgs().mergeFrom(
other.internalGetEngineArgs());
bitField0_ |= 0x00000040;
internalGetMutableAsyncEngineArgs().mergeFrom(
other.internalGetAsyncEngineArgs());
bitField0_ |= 0x00000080;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
project_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
dataset_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
location_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
credentialsBase64_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
credentialsPath_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = input.readMessage(
EngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableEngineArgs().ensureBuilderMap().put(
engineArgs__.getKey(), engineArgs__.getValue());
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = input.readMessage(
AsyncEngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableAsyncEngineArgs().ensureBuilderMap().put(
asyncEngineArgs__.getKey(), asyncEngineArgs__.getValue());
bitField0_ |= 0x00000080;
break;
} // case 66
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object project_ = "";
/**
* <code>string project = 2 [json_name = "project"];</code>
* @return The project.
*/
public java.lang.String getProject() {
java.lang.Object ref = project_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
project_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string project = 2 [json_name = "project"];</code>
* @return The bytes for project.
*/
public com.google.protobuf.ByteString
getProjectBytes() {
java.lang.Object ref = project_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
project_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string project = 2 [json_name = "project"];</code>
* @param value The project to set.
* @return This builder for chaining.
*/
public Builder setProject(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
project_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>string project = 2 [json_name = "project"];</code>
* @return This builder for chaining.
*/
public Builder clearProject() {
project_ = getDefaultInstance().getProject();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>string project = 2 [json_name = "project"];</code>
* @param value The bytes for project to set.
* @return This builder for chaining.
*/
public Builder setProjectBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
project_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object dataset_ = "";
/**
* <code>string dataset = 3 [json_name = "dataset"];</code>
* @return The dataset.
*/
public java.lang.String getDataset() {
java.lang.Object ref = dataset_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dataset_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string dataset = 3 [json_name = "dataset"];</code>
* @return The bytes for dataset.
*/
public com.google.protobuf.ByteString
getDatasetBytes() {
java.lang.Object ref = dataset_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string dataset = 3 [json_name = "dataset"];</code>
* @param value The dataset to set.
* @return This builder for chaining.
*/
public Builder setDataset(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
dataset_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>string dataset = 3 [json_name = "dataset"];</code>
* @return This builder for chaining.
*/
public Builder clearDataset() {
dataset_ = getDefaultInstance().getDataset();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>string dataset = 3 [json_name = "dataset"];</code>
* @param value The bytes for dataset to set.
* @return This builder for chaining.
*/
public Builder setDatasetBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
dataset_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object location_ = "";
/**
* <code>string location = 4 [json_name = "location"];</code>
* @return The location.
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
location_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string location = 4 [json_name = "location"];</code>
* @return The bytes for location.
*/
public com.google.protobuf.ByteString
getLocationBytes() {
java.lang.Object ref = location_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
location_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string location = 4 [json_name = "location"];</code>
* @param value The location to set.
* @return This builder for chaining.
*/
public Builder setLocation(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
location_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>string location = 4 [json_name = "location"];</code>
* @return This builder for chaining.
*/
public Builder clearLocation() {
location_ = getDefaultInstance().getLocation();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>string location = 4 [json_name = "location"];</code>
* @param value The bytes for location to set.
* @return This builder for chaining.
*/
public Builder setLocationBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
location_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object credentialsBase64_ = "";
/**
* <code>string credentials_base64 = 5 [json_name = "credentialsBase64"];</code>
* @return The credentialsBase64.
*/
public java.lang.String getCredentialsBase64() {
java.lang.Object ref = credentialsBase64_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
credentialsBase64_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string credentials_base64 = 5 [json_name = "credentialsBase64"];</code>
* @return The bytes for credentialsBase64.
*/
public com.google.protobuf.ByteString
getCredentialsBase64Bytes() {
java.lang.Object ref = credentialsBase64_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
credentialsBase64_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string credentials_base64 = 5 [json_name = "credentialsBase64"];</code>
* @param value The credentialsBase64 to set.
* @return This builder for chaining.
*/
public Builder setCredentialsBase64(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
credentialsBase64_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>string credentials_base64 = 5 [json_name = "credentialsBase64"];</code>
* @return This builder for chaining.
*/
public Builder clearCredentialsBase64() {
credentialsBase64_ = getDefaultInstance().getCredentialsBase64();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>string credentials_base64 = 5 [json_name = "credentialsBase64"];</code>
* @param value The bytes for credentialsBase64 to set.
* @return This builder for chaining.
*/
public Builder setCredentialsBase64Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
credentialsBase64_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object credentialsPath_ = "";
/**
* <code>string credentials_path = 6 [json_name = "credentialsPath"];</code>
* @return The credentialsPath.
*/
public java.lang.String getCredentialsPath() {
java.lang.Object ref = credentialsPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
credentialsPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string credentials_path = 6 [json_name = "credentialsPath"];</code>
* @return The bytes for credentialsPath.
*/
public com.google.protobuf.ByteString
getCredentialsPathBytes() {
java.lang.Object ref = credentialsPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
credentialsPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string credentials_path = 6 [json_name = "credentialsPath"];</code>
* @param value The credentialsPath to set.
* @return This builder for chaining.
*/
public Builder setCredentialsPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
credentialsPath_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>string credentials_path = 6 [json_name = "credentialsPath"];</code>
* @return This builder for chaining.
*/
public Builder clearCredentialsPath() {
credentialsPath_ = getDefaultInstance().getCredentialsPath();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <code>string credentials_path = 6 [json_name = "credentialsPath"];</code>
* @param value The bytes for credentialsPath to set.
* @return This builder for chaining.
*/
public Builder setCredentialsPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
credentialsPath_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private static final class EngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return EngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final EngineArgsConverter engineArgsConverter = new EngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> engineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
return engineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableEngineArgs() {
if (engineArgs_ == null) {
engineArgs_ = new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
bitField0_ |= 0x00000040;
onChanged();
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? engineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return engineArgsConverter.build(map.get(key));
}
public Builder clearEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000040);
internalGetMutableEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public Builder removeEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableEngineArgs().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.ScalarValue>
getMutableEngineArgs() {
bitField0_ |= 0x00000040;
return internalGetMutableEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public Builder putEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public Builder putAllEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) entry;
}
private static final class AsyncEngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return AsyncEngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final AsyncEngineArgsConverter asyncEngineArgsConverter = new AsyncEngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> asyncEngineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
return asyncEngineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
asyncEngineArgs_ = new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
bitField0_ |= 0x00000080;
onChanged();
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? asyncEngineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return asyncEngineArgsConverter.build(map.get(key));
}
public Builder clearAsyncEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000080);
internalGetMutableAsyncEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public Builder removeAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableAsyncEngineArgs().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.ScalarValue>
getMutableAsyncEngineArgs() {
bitField0_ |= 0x00000080;
return internalGetMutableAsyncEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAsyncEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000080;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAllAsyncEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000080;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putAsyncEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.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.graph.v1.BigQuerySource)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.BigQuerySource)
private static final ai.chalk.protos.chalk.graph.v1.BigQuerySource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.BigQuerySource();
}
public static ai.chalk.protos.chalk.graph.v1.BigQuerySource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<BigQuerySource>
PARSER = new com.google.protobuf.AbstractParser<BigQuerySource>() {
@java.lang.Override
public BigQuerySource 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<BigQuerySource> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<BigQuerySource> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.BigQuerySource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/BigQuerySourceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface BigQuerySourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.BigQuerySource)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>string project = 2 [json_name = "project"];</code>
* @return The project.
*/
java.lang.String getProject();
/**
* <code>string project = 2 [json_name = "project"];</code>
* @return The bytes for project.
*/
com.google.protobuf.ByteString
getProjectBytes();
/**
* <code>string dataset = 3 [json_name = "dataset"];</code>
* @return The dataset.
*/
java.lang.String getDataset();
/**
* <code>string dataset = 3 [json_name = "dataset"];</code>
* @return The bytes for dataset.
*/
com.google.protobuf.ByteString
getDatasetBytes();
/**
* <code>string location = 4 [json_name = "location"];</code>
* @return The location.
*/
java.lang.String getLocation();
/**
* <code>string location = 4 [json_name = "location"];</code>
* @return The bytes for location.
*/
com.google.protobuf.ByteString
getLocationBytes();
/**
* <code>string credentials_base64 = 5 [json_name = "credentialsBase64"];</code>
* @return The credentialsBase64.
*/
java.lang.String getCredentialsBase64();
/**
* <code>string credentials_base64 = 5 [json_name = "credentialsBase64"];</code>
* @return The bytes for credentialsBase64.
*/
com.google.protobuf.ByteString
getCredentialsBase64Bytes();
/**
* <code>string credentials_path = 6 [json_name = "credentialsPath"];</code>
* @return The credentialsPath.
*/
java.lang.String getCredentialsPath();
/**
* <code>string credentials_path = 6 [json_name = "credentialsPath"];</code>
* @return The bytes for credentialsPath.
*/
com.google.protobuf.ByteString
getCredentialsPathBytes();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
int getEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
boolean containsEngineArgs(
java.lang.String key);
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
int getAsyncEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
boolean containsAsyncEngineArgs(
java.lang.String key);
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key);
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/CacheStrategy.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf enum {@code chalk.graph.v1.CacheStrategy}
*/
public enum CacheStrategy
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>CACHE_STRATEGY_UNSPECIFIED = 0;</code>
*/
CACHE_STRATEGY_UNSPECIFIED(0),
/**
* <code>CACHE_STRATEGY_ALL = 1;</code>
*/
CACHE_STRATEGY_ALL(1),
/**
* <code>CACHE_STRATEGY_NO_NULLS = 2;</code>
*/
CACHE_STRATEGY_NO_NULLS(2),
/**
* <code>CACHE_STRATEGY_EVICT_NULLS = 3;</code>
*/
CACHE_STRATEGY_EVICT_NULLS(3),
UNRECOGNIZED(-1),
;
/**
* <code>CACHE_STRATEGY_UNSPECIFIED = 0;</code>
*/
public static final int CACHE_STRATEGY_UNSPECIFIED_VALUE = 0;
/**
* <code>CACHE_STRATEGY_ALL = 1;</code>
*/
public static final int CACHE_STRATEGY_ALL_VALUE = 1;
/**
* <code>CACHE_STRATEGY_NO_NULLS = 2;</code>
*/
public static final int CACHE_STRATEGY_NO_NULLS_VALUE = 2;
/**
* <code>CACHE_STRATEGY_EVICT_NULLS = 3;</code>
*/
public static final int CACHE_STRATEGY_EVICT_NULLS_VALUE = 3;
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 CacheStrategy 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 CacheStrategy forNumber(int value) {
switch (value) {
case 0: return CACHE_STRATEGY_UNSPECIFIED;
case 1: return CACHE_STRATEGY_ALL;
case 2: return CACHE_STRATEGY_NO_NULLS;
case 3: return CACHE_STRATEGY_EVICT_NULLS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<CacheStrategy>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CacheStrategy> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<CacheStrategy>() {
public CacheStrategy findValueByNumber(int number) {
return CacheStrategy.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.graph.v1.GraphProto.getDescriptor().getEnumTypes().get(0);
}
private static final CacheStrategy[] VALUES = values();
public static CacheStrategy 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 CacheStrategy(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:chalk.graph.v1.CacheStrategy)
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/CloudSQLSource.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.CloudSQLSource}
*/
public final class CloudSQLSource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.CloudSQLSource)
CloudSQLSourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use CloudSQLSource.newBuilder() to construct.
private CloudSQLSource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CloudSQLSource() {
name_ = "";
db_ = "";
user_ = "";
password_ = "";
instanceName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CloudSQLSource();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_CloudSQLSource_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 6:
return internalGetEngineArgs();
case 7:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_CloudSQLSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.CloudSQLSource.class, ai.chalk.protos.chalk.graph.v1.CloudSQLSource.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;
}
}
public static final int DB_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object db_ = "";
/**
* <code>string db = 2 [json_name = "db"];</code>
* @return The db.
*/
@java.lang.Override
public java.lang.String getDb() {
java.lang.Object ref = db_;
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();
db_ = s;
return s;
}
}
/**
* <code>string db = 2 [json_name = "db"];</code>
* @return The bytes for db.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDbBytes() {
java.lang.Object ref = db_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
db_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USER_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object user_ = "";
/**
* <code>string user = 3 [json_name = "user"];</code>
* @return The user.
*/
@java.lang.Override
public java.lang.String getUser() {
java.lang.Object ref = user_;
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();
user_ = s;
return s;
}
}
/**
* <code>string user = 3 [json_name = "user"];</code>
* @return The bytes for user.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PASSWORD_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object password_ = "";
/**
* <code>string password = 4 [json_name = "password"];</code>
* @return The password.
*/
@java.lang.Override
public java.lang.String getPassword() {
java.lang.Object ref = password_;
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();
password_ = s;
return s;
}
}
/**
* <code>string password = 4 [json_name = "password"];</code>
* @return The bytes for password.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPasswordBytes() {
java.lang.Object ref = password_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
password_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INSTANCE_NAME_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object instanceName_ = "";
/**
* <code>string instance_name = 5 [json_name = "instanceName"];</code>
* @return The instanceName.
*/
@java.lang.Override
public java.lang.String getInstanceName() {
java.lang.Object ref = instanceName_;
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();
instanceName_ = s;
return s;
}
}
/**
* <code>string instance_name = 5 [json_name = "instanceName"];</code>
* @return The bytes for instanceName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceNameBytes() {
java.lang.Object ref = instanceName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENGINE_ARGS_FIELD_NUMBER = 6;
private static final class EngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_CloudSQLSource_EngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> engineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
EngineArgsDefaultEntryHolder.defaultEntry);
}
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int ASYNC_ENGINE_ARGS_FIELD_NUMBER = 7;
private static final class AsyncEngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_CloudSQLSource_AsyncEngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> asyncEngineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(db_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, db_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, user_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, password_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, instanceName_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetEngineArgs(),
EngineArgsDefaultEntryHolder.defaultEntry,
6);
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetAsyncEngineArgs(),
AsyncEngineArgsDefaultEntryHolder.defaultEntry,
7);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(db_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, db_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, user_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, password_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, instanceName_);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = EngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, engineArgs__);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetAsyncEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = AsyncEngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, asyncEngineArgs__);
}
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.graph.v1.CloudSQLSource)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.CloudSQLSource other = (ai.chalk.protos.chalk.graph.v1.CloudSQLSource) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getDb()
.equals(other.getDb())) return false;
if (!getUser()
.equals(other.getUser())) return false;
if (!getPassword()
.equals(other.getPassword())) return false;
if (!getInstanceName()
.equals(other.getInstanceName())) return false;
if (!internalGetEngineArgs().equals(
other.internalGetEngineArgs())) return false;
if (!internalGetAsyncEngineArgs().equals(
other.internalGetAsyncEngineArgs())) 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 = (37 * hash) + DB_FIELD_NUMBER;
hash = (53 * hash) + getDb().hashCode();
hash = (37 * hash) + USER_FIELD_NUMBER;
hash = (53 * hash) + getUser().hashCode();
hash = (37 * hash) + PASSWORD_FIELD_NUMBER;
hash = (53 * hash) + getPassword().hashCode();
hash = (37 * hash) + INSTANCE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getInstanceName().hashCode();
if (!internalGetEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetEngineArgs().hashCode();
}
if (!internalGetAsyncEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ASYNC_ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetAsyncEngineArgs().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.CloudSQLSource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.CloudSQLSource 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.graph.v1.CloudSQLSource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.CloudSQLSource 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.graph.v1.CloudSQLSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.CloudSQLSource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.CloudSQLSource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.CloudSQLSource 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.graph.v1.CloudSQLSource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.CloudSQLSource 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.graph.v1.CloudSQLSource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.CloudSQLSource 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.graph.v1.CloudSQLSource 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.graph.v1.CloudSQLSource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.CloudSQLSource)
ai.chalk.protos.chalk.graph.v1.CloudSQLSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_CloudSQLSource_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 6:
return internalGetEngineArgs();
case 7:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
int number) {
switch (number) {
case 6:
return internalGetMutableEngineArgs();
case 7:
return internalGetMutableAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_CloudSQLSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.CloudSQLSource.class, ai.chalk.protos.chalk.graph.v1.CloudSQLSource.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.CloudSQLSource.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
db_ = "";
user_ = "";
password_ = "";
instanceName_ = "";
internalGetMutableEngineArgs().clear();
internalGetMutableAsyncEngineArgs().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_CloudSQLSource_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CloudSQLSource getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.CloudSQLSource.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CloudSQLSource build() {
ai.chalk.protos.chalk.graph.v1.CloudSQLSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CloudSQLSource buildPartial() {
ai.chalk.protos.chalk.graph.v1.CloudSQLSource result = new ai.chalk.protos.chalk.graph.v1.CloudSQLSource(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.CloudSQLSource result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.db_ = db_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.user_ = user_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.password_ = password_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.instanceName_ = instanceName_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.engineArgs_ = internalGetEngineArgs().build(EngineArgsDefaultEntryHolder.defaultEntry);
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.asyncEngineArgs_ = internalGetAsyncEngineArgs().build(AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
}
@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.graph.v1.CloudSQLSource) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.CloudSQLSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.CloudSQLSource other) {
if (other == ai.chalk.protos.chalk.graph.v1.CloudSQLSource.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getDb().isEmpty()) {
db_ = other.db_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getUser().isEmpty()) {
user_ = other.user_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getPassword().isEmpty()) {
password_ = other.password_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getInstanceName().isEmpty()) {
instanceName_ = other.instanceName_;
bitField0_ |= 0x00000010;
onChanged();
}
internalGetMutableEngineArgs().mergeFrom(
other.internalGetEngineArgs());
bitField0_ |= 0x00000020;
internalGetMutableAsyncEngineArgs().mergeFrom(
other.internalGetAsyncEngineArgs());
bitField0_ |= 0x00000040;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
db_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
user_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
password_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
instanceName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = input.readMessage(
EngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableEngineArgs().ensureBuilderMap().put(
engineArgs__.getKey(), engineArgs__.getValue());
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = input.readMessage(
AsyncEngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableAsyncEngineArgs().ensureBuilderMap().put(
asyncEngineArgs__.getKey(), asyncEngineArgs__.getValue());
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 name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object db_ = "";
/**
* <code>string db = 2 [json_name = "db"];</code>
* @return The db.
*/
public java.lang.String getDb() {
java.lang.Object ref = db_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
db_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string db = 2 [json_name = "db"];</code>
* @return The bytes for db.
*/
public com.google.protobuf.ByteString
getDbBytes() {
java.lang.Object ref = db_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
db_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string db = 2 [json_name = "db"];</code>
* @param value The db to set.
* @return This builder for chaining.
*/
public Builder setDb(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
db_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>string db = 2 [json_name = "db"];</code>
* @return This builder for chaining.
*/
public Builder clearDb() {
db_ = getDefaultInstance().getDb();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>string db = 2 [json_name = "db"];</code>
* @param value The bytes for db to set.
* @return This builder for chaining.
*/
public Builder setDbBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
db_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object user_ = "";
/**
* <code>string user = 3 [json_name = "user"];</code>
* @return The user.
*/
public java.lang.String getUser() {
java.lang.Object ref = user_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
user_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string user = 3 [json_name = "user"];</code>
* @return The bytes for user.
*/
public com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string user = 3 [json_name = "user"];</code>
* @param value The user to set.
* @return This builder for chaining.
*/
public Builder setUser(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
user_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>string user = 3 [json_name = "user"];</code>
* @return This builder for chaining.
*/
public Builder clearUser() {
user_ = getDefaultInstance().getUser();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>string user = 3 [json_name = "user"];</code>
* @param value The bytes for user to set.
* @return This builder for chaining.
*/
public Builder setUserBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
user_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object password_ = "";
/**
* <code>string password = 4 [json_name = "password"];</code>
* @return The password.
*/
public java.lang.String getPassword() {
java.lang.Object ref = password_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
password_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string password = 4 [json_name = "password"];</code>
* @return The bytes for password.
*/
public com.google.protobuf.ByteString
getPasswordBytes() {
java.lang.Object ref = password_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
password_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string password = 4 [json_name = "password"];</code>
* @param value The password to set.
* @return This builder for chaining.
*/
public Builder setPassword(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
password_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>string password = 4 [json_name = "password"];</code>
* @return This builder for chaining.
*/
public Builder clearPassword() {
password_ = getDefaultInstance().getPassword();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>string password = 4 [json_name = "password"];</code>
* @param value The bytes for password to set.
* @return This builder for chaining.
*/
public Builder setPasswordBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
password_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object instanceName_ = "";
/**
* <code>string instance_name = 5 [json_name = "instanceName"];</code>
* @return The instanceName.
*/
public java.lang.String getInstanceName() {
java.lang.Object ref = instanceName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
instanceName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string instance_name = 5 [json_name = "instanceName"];</code>
* @return The bytes for instanceName.
*/
public com.google.protobuf.ByteString
getInstanceNameBytes() {
java.lang.Object ref = instanceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string instance_name = 5 [json_name = "instanceName"];</code>
* @param value The instanceName to set.
* @return This builder for chaining.
*/
public Builder setInstanceName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instanceName_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>string instance_name = 5 [json_name = "instanceName"];</code>
* @return This builder for chaining.
*/
public Builder clearInstanceName() {
instanceName_ = getDefaultInstance().getInstanceName();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>string instance_name = 5 [json_name = "instanceName"];</code>
* @param value The bytes for instanceName to set.
* @return This builder for chaining.
*/
public Builder setInstanceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
instanceName_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private static final class EngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return EngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final EngineArgsConverter engineArgsConverter = new EngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> engineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
return engineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableEngineArgs() {
if (engineArgs_ == null) {
engineArgs_ = new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
bitField0_ |= 0x00000020;
onChanged();
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? engineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return engineArgsConverter.build(map.get(key));
}
public Builder clearEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000020);
internalGetMutableEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
public Builder removeEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableEngineArgs().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.ScalarValue>
getMutableEngineArgs() {
bitField0_ |= 0x00000020;
return internalGetMutableEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
public Builder putEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000020;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
public Builder putAllEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000020;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) entry;
}
private static final class AsyncEngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return AsyncEngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final AsyncEngineArgsConverter asyncEngineArgsConverter = new AsyncEngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> asyncEngineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
return asyncEngineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
asyncEngineArgs_ = new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
bitField0_ |= 0x00000040;
onChanged();
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? asyncEngineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return asyncEngineArgsConverter.build(map.get(key));
}
public Builder clearAsyncEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000040);
internalGetMutableAsyncEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
public Builder removeAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableAsyncEngineArgs().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.ScalarValue>
getMutableAsyncEngineArgs() {
bitField0_ |= 0x00000040;
return internalGetMutableAsyncEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAsyncEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAllAsyncEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putAsyncEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.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.graph.v1.CloudSQLSource)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.CloudSQLSource)
private static final ai.chalk.protos.chalk.graph.v1.CloudSQLSource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.CloudSQLSource();
}
public static ai.chalk.protos.chalk.graph.v1.CloudSQLSource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<CloudSQLSource>
PARSER = new com.google.protobuf.AbstractParser<CloudSQLSource>() {
@java.lang.Override
public CloudSQLSource 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<CloudSQLSource> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CloudSQLSource> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CloudSQLSource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/CloudSQLSourceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface CloudSQLSourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.CloudSQLSource)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>string db = 2 [json_name = "db"];</code>
* @return The db.
*/
java.lang.String getDb();
/**
* <code>string db = 2 [json_name = "db"];</code>
* @return The bytes for db.
*/
com.google.protobuf.ByteString
getDbBytes();
/**
* <code>string user = 3 [json_name = "user"];</code>
* @return The user.
*/
java.lang.String getUser();
/**
* <code>string user = 3 [json_name = "user"];</code>
* @return The bytes for user.
*/
com.google.protobuf.ByteString
getUserBytes();
/**
* <code>string password = 4 [json_name = "password"];</code>
* @return The password.
*/
java.lang.String getPassword();
/**
* <code>string password = 4 [json_name = "password"];</code>
* @return The bytes for password.
*/
com.google.protobuf.ByteString
getPasswordBytes();
/**
* <code>string instance_name = 5 [json_name = "instanceName"];</code>
* @return The instanceName.
*/
java.lang.String getInstanceName();
/**
* <code>string instance_name = 5 [json_name = "instanceName"];</code>
* @return The bytes for instanceName.
*/
com.google.protobuf.ByteString
getInstanceNameBytes();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
int getEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
boolean containsEngineArgs(
java.lang.String key);
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
int getAsyncEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
boolean containsAsyncEngineArgs(
java.lang.String key);
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key);
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/CronFilterWithFeatureArgs.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.CronFilterWithFeatureArgs}
*/
public final class CronFilterWithFeatureArgs extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.CronFilterWithFeatureArgs)
CronFilterWithFeatureArgsOrBuilder {
private static final long serialVersionUID = 0L;
// Use CronFilterWithFeatureArgs.newBuilder() to construct.
private CronFilterWithFeatureArgs(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CronFilterWithFeatureArgs() {
args_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CronFilterWithFeatureArgs();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_CronFilterWithFeatureArgs_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_CronFilterWithFeatureArgs_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.class, ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.Builder.class);
}
private int bitField0_;
public static final int FILTER_FIELD_NUMBER = 1;
private ai.chalk.protos.chalk.graph.v1.FunctionReference filter_;
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
* @return Whether the filter field is set.
*/
@java.lang.Override
public boolean hasFilter() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
* @return The filter.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FunctionReference getFilter() {
return filter_ == null ? ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance() : filter_;
}
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder getFilterOrBuilder() {
return filter_ == null ? ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance() : filter_;
}
public static final int ARGS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> args_;
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> getArgsList() {
return args_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getArgsOrBuilderList() {
return args_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public int getArgsCount() {
return args_.size();
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReference getArgs(int index) {
return args_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getArgsOrBuilder(
int index) {
return args_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getFilter());
}
for (int i = 0; i < args_.size(); i++) {
output.writeMessage(2, args_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getFilter());
}
for (int i = 0; i < args_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, args_.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.graph.v1.CronFilterWithFeatureArgs)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs other = (ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs) obj;
if (hasFilter() != other.hasFilter()) return false;
if (hasFilter()) {
if (!getFilter()
.equals(other.getFilter())) return false;
}
if (!getArgsList()
.equals(other.getArgsList())) 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 (hasFilter()) {
hash = (37 * hash) + FILTER_FIELD_NUMBER;
hash = (53 * hash) + getFilter().hashCode();
}
if (getArgsCount() > 0) {
hash = (37 * hash) + ARGS_FIELD_NUMBER;
hash = (53 * hash) + getArgsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs 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.graph.v1.CronFilterWithFeatureArgs parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs 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.graph.v1.CronFilterWithFeatureArgs parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs 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.graph.v1.CronFilterWithFeatureArgs parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs 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.graph.v1.CronFilterWithFeatureArgs parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs 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.graph.v1.CronFilterWithFeatureArgs 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.graph.v1.CronFilterWithFeatureArgs}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.CronFilterWithFeatureArgs)
ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_CronFilterWithFeatureArgs_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_CronFilterWithFeatureArgs_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.class, ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFilterFieldBuilder();
getArgsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
filter_ = null;
if (filterBuilder_ != null) {
filterBuilder_.dispose();
filterBuilder_ = null;
}
if (argsBuilder_ == null) {
args_ = java.util.Collections.emptyList();
} else {
args_ = null;
argsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_CronFilterWithFeatureArgs_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs build() {
ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs buildPartial() {
ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs result = new ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs result) {
if (argsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
args_ = java.util.Collections.unmodifiableList(args_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.args_ = args_;
} else {
result.args_ = argsBuilder_.build();
}
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.filter_ = filterBuilder_ == null
? filter_
: filterBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs other) {
if (other == ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.getDefaultInstance()) return this;
if (other.hasFilter()) {
mergeFilter(other.getFilter());
}
if (argsBuilder_ == null) {
if (!other.args_.isEmpty()) {
if (args_.isEmpty()) {
args_ = other.args_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureArgsIsMutable();
args_.addAll(other.args_);
}
onChanged();
}
} else {
if (!other.args_.isEmpty()) {
if (argsBuilder_.isEmpty()) {
argsBuilder_.dispose();
argsBuilder_ = null;
args_ = other.args_;
bitField0_ = (bitField0_ & ~0x00000002);
argsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getArgsFieldBuilder() : null;
} else {
argsBuilder_.addAllMessages(other.args_);
}
}
}
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(
getFilterFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
ai.chalk.protos.chalk.graph.v1.FeatureReference m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.FeatureReference.parser(),
extensionRegistry);
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(m);
} else {
argsBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private ai.chalk.protos.chalk.graph.v1.FunctionReference filter_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FunctionReference, ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder, ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder> filterBuilder_;
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
* @return Whether the filter field is set.
*/
public boolean hasFilter() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
* @return The filter.
*/
public ai.chalk.protos.chalk.graph.v1.FunctionReference getFilter() {
if (filterBuilder_ == null) {
return filter_ == null ? ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance() : filter_;
} else {
return filterBuilder_.getMessage();
}
}
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
*/
public Builder setFilter(ai.chalk.protos.chalk.graph.v1.FunctionReference value) {
if (filterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
filter_ = value;
} else {
filterBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
*/
public Builder setFilter(
ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder builderForValue) {
if (filterBuilder_ == null) {
filter_ = builderForValue.build();
} else {
filterBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
*/
public Builder mergeFilter(ai.chalk.protos.chalk.graph.v1.FunctionReference value) {
if (filterBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
filter_ != null &&
filter_ != ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance()) {
getFilterBuilder().mergeFrom(value);
} else {
filter_ = value;
}
} else {
filterBuilder_.mergeFrom(value);
}
if (filter_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
*/
public Builder clearFilter() {
bitField0_ = (bitField0_ & ~0x00000001);
filter_ = null;
if (filterBuilder_ != null) {
filterBuilder_.dispose();
filterBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder getFilterBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getFilterFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder getFilterOrBuilder() {
if (filterBuilder_ != null) {
return filterBuilder_.getMessageOrBuilder();
} else {
return filter_ == null ?
ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance() : filter_;
}
}
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FunctionReference, ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder, ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder>
getFilterFieldBuilder() {
if (filterBuilder_ == null) {
filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FunctionReference, ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder, ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder>(
getFilter(),
getParentForChildren(),
isClean());
filter_ = null;
}
return filterBuilder_;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> args_ =
java.util.Collections.emptyList();
private void ensureArgsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
args_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.FeatureReference>(args_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder> argsBuilder_;
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> getArgsList() {
if (argsBuilder_ == null) {
return java.util.Collections.unmodifiableList(args_);
} else {
return argsBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public int getArgsCount() {
if (argsBuilder_ == null) {
return args_.size();
} else {
return argsBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference getArgs(int index) {
if (argsBuilder_ == null) {
return args_.get(index);
} else {
return argsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public Builder setArgs(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.set(index, value);
onChanged();
} else {
argsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public Builder setArgs(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.set(index, builderForValue.build());
onChanged();
} else {
argsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public Builder addArgs(ai.chalk.protos.chalk.graph.v1.FeatureReference value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.add(value);
onChanged();
} else {
argsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public Builder addArgs(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.add(index, value);
onChanged();
} else {
argsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public Builder addArgs(
ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(builderForValue.build());
onChanged();
} else {
argsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public Builder addArgs(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(index, builderForValue.build());
onChanged();
} else {
argsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public Builder addAllArgs(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.FeatureReference> values) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, args_);
onChanged();
} else {
argsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public Builder clearArgs() {
if (argsBuilder_ == null) {
args_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
argsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public Builder removeArgs(int index) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.remove(index);
onChanged();
} else {
argsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder getArgsBuilder(
int index) {
return getArgsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getArgsOrBuilder(
int index) {
if (argsBuilder_ == null) {
return args_.get(index); } else {
return argsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getArgsOrBuilderList() {
if (argsBuilder_ != null) {
return argsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(args_);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder addArgsBuilder() {
return getArgsFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder addArgsBuilder(
int index) {
return getArgsFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder>
getArgsBuilderList() {
return getArgsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getArgsFieldBuilder() {
if (argsBuilder_ == null) {
argsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>(
args_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
args_ = null;
}
return argsBuilder_;
}
@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.graph.v1.CronFilterWithFeatureArgs)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.CronFilterWithFeatureArgs)
private static final ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs();
}
public static ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<CronFilterWithFeatureArgs>
PARSER = new com.google.protobuf.AbstractParser<CronFilterWithFeatureArgs>() {
@java.lang.Override
public CronFilterWithFeatureArgs 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<CronFilterWithFeatureArgs> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CronFilterWithFeatureArgs> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/CronFilterWithFeatureArgsOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface CronFilterWithFeatureArgsOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.CronFilterWithFeatureArgs)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
* @return Whether the filter field is set.
*/
boolean hasFilter();
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
* @return The filter.
*/
ai.chalk.protos.chalk.graph.v1.FunctionReference getFilter();
/**
* <code>.chalk.graph.v1.FunctionReference filter = 1 [json_name = "filter"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder getFilterOrBuilder();
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference>
getArgsList();
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureReference getArgs(int index);
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
int getArgsCount();
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getArgsOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.FeatureReference args = 2 [json_name = "args"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getArgsOrBuilder(
int index);
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/DataFrameType.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.DataFrameType}
*/
public final class DataFrameType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.DataFrameType)
DataFrameTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use DataFrameType.newBuilder() to construct.
private DataFrameType(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DataFrameType() {
rootNamespace_ = "";
requiredColumns_ = java.util.Collections.emptyList();
optionalColumns_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DataFrameType();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_DataFrameType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_DataFrameType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.DataFrameType.class, ai.chalk.protos.chalk.graph.v1.DataFrameType.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 REQUIRED_COLUMNS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> requiredColumns_;
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> getRequiredColumnsList() {
return requiredColumns_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getRequiredColumnsOrBuilderList() {
return requiredColumns_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
@java.lang.Override
public int getRequiredColumnsCount() {
return requiredColumns_.size();
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReference getRequiredColumns(int index) {
return requiredColumns_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getRequiredColumnsOrBuilder(
int index) {
return requiredColumns_.get(index);
}
public static final int OPTIONAL_COLUMNS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> optionalColumns_;
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> getOptionalColumnsList() {
return optionalColumns_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getOptionalColumnsOrBuilderList() {
return optionalColumns_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
@java.lang.Override
public int getOptionalColumnsCount() {
return optionalColumns_.size();
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReference getOptionalColumns(int index) {
return optionalColumns_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getOptionalColumnsOrBuilder(
int index) {
return optionalColumns_.get(index);
}
public static final int FILTER_FIELD_NUMBER = 4;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode filter_;
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
* @return Whether the filter field is set.
*/
@java.lang.Override
public boolean hasFilter() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
* @return The filter.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getFilter() {
return filter_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : filter_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getFilterOrBuilder() {
return filter_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : filter_;
}
public static final int LIMIT_FIELD_NUMBER = 5;
private long limit_ = 0L;
/**
* <code>optional uint64 limit = 5 [json_name = "limit"];</code>
* @return Whether the limit field is set.
*/
@java.lang.Override
public boolean hasLimit() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional uint64 limit = 5 [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 {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rootNamespace_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rootNamespace_);
}
for (int i = 0; i < requiredColumns_.size(); i++) {
output.writeMessage(2, requiredColumns_.get(i));
}
for (int i = 0; i < optionalColumns_.size(); i++) {
output.writeMessage(3, optionalColumns_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(4, getFilter());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt64(5, limit_);
}
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_);
}
for (int i = 0; i < requiredColumns_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, requiredColumns_.get(i));
}
for (int i = 0; i < optionalColumns_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, optionalColumns_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getFilter());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, 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.graph.v1.DataFrameType)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.DataFrameType other = (ai.chalk.protos.chalk.graph.v1.DataFrameType) obj;
if (!getRootNamespace()
.equals(other.getRootNamespace())) return false;
if (!getRequiredColumnsList()
.equals(other.getRequiredColumnsList())) return false;
if (!getOptionalColumnsList()
.equals(other.getOptionalColumnsList())) return false;
if (hasFilter() != other.hasFilter()) return false;
if (hasFilter()) {
if (!getFilter()
.equals(other.getFilter())) 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();
hash = (37 * hash) + ROOT_NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getRootNamespace().hashCode();
if (getRequiredColumnsCount() > 0) {
hash = (37 * hash) + REQUIRED_COLUMNS_FIELD_NUMBER;
hash = (53 * hash) + getRequiredColumnsList().hashCode();
}
if (getOptionalColumnsCount() > 0) {
hash = (37 * hash) + OPTIONAL_COLUMNS_FIELD_NUMBER;
hash = (53 * hash) + getOptionalColumnsList().hashCode();
}
if (hasFilter()) {
hash = (37 * hash) + FILTER_FIELD_NUMBER;
hash = (53 * hash) + getFilter().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.graph.v1.DataFrameType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DataFrameType 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.graph.v1.DataFrameType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DataFrameType 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.graph.v1.DataFrameType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DataFrameType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.DataFrameType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DataFrameType 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.graph.v1.DataFrameType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DataFrameType 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.graph.v1.DataFrameType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DataFrameType 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.graph.v1.DataFrameType 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.graph.v1.DataFrameType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.DataFrameType)
ai.chalk.protos.chalk.graph.v1.DataFrameTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_DataFrameType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_DataFrameType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.DataFrameType.class, ai.chalk.protos.chalk.graph.v1.DataFrameType.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.DataFrameType.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRequiredColumnsFieldBuilder();
getOptionalColumnsFieldBuilder();
getFilterFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
rootNamespace_ = "";
if (requiredColumnsBuilder_ == null) {
requiredColumns_ = java.util.Collections.emptyList();
} else {
requiredColumns_ = null;
requiredColumnsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (optionalColumnsBuilder_ == null) {
optionalColumns_ = java.util.Collections.emptyList();
} else {
optionalColumns_ = null;
optionalColumnsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
filter_ = null;
if (filterBuilder_ != null) {
filterBuilder_.dispose();
filterBuilder_ = null;
}
limit_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_DataFrameType_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DataFrameType getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.DataFrameType.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DataFrameType build() {
ai.chalk.protos.chalk.graph.v1.DataFrameType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DataFrameType buildPartial() {
ai.chalk.protos.chalk.graph.v1.DataFrameType result = new ai.chalk.protos.chalk.graph.v1.DataFrameType(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ai.chalk.protos.chalk.graph.v1.DataFrameType result) {
if (requiredColumnsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
requiredColumns_ = java.util.Collections.unmodifiableList(requiredColumns_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.requiredColumns_ = requiredColumns_;
} else {
result.requiredColumns_ = requiredColumnsBuilder_.build();
}
if (optionalColumnsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
optionalColumns_ = java.util.Collections.unmodifiableList(optionalColumns_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.optionalColumns_ = optionalColumns_;
} else {
result.optionalColumns_ = optionalColumnsBuilder_.build();
}
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.DataFrameType result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.rootNamespace_ = rootNamespace_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.filter_ = filterBuilder_ == null
? filter_
: filterBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.limit_ = limit_;
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.graph.v1.DataFrameType) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.DataFrameType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.DataFrameType other) {
if (other == ai.chalk.protos.chalk.graph.v1.DataFrameType.getDefaultInstance()) return this;
if (!other.getRootNamespace().isEmpty()) {
rootNamespace_ = other.rootNamespace_;
bitField0_ |= 0x00000001;
onChanged();
}
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 (optionalColumnsBuilder_ == null) {
if (!other.optionalColumns_.isEmpty()) {
if (optionalColumns_.isEmpty()) {
optionalColumns_ = other.optionalColumns_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureOptionalColumnsIsMutable();
optionalColumns_.addAll(other.optionalColumns_);
}
onChanged();
}
} else {
if (!other.optionalColumns_.isEmpty()) {
if (optionalColumnsBuilder_.isEmpty()) {
optionalColumnsBuilder_.dispose();
optionalColumnsBuilder_ = null;
optionalColumns_ = other.optionalColumns_;
bitField0_ = (bitField0_ & ~0x00000004);
optionalColumnsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOptionalColumnsFieldBuilder() : null;
} else {
optionalColumnsBuilder_.addAllMessages(other.optionalColumns_);
}
}
}
if (other.hasFilter()) {
mergeFilter(other.getFilter());
}
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: {
rootNamespace_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
ai.chalk.protos.chalk.graph.v1.FeatureReference m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.FeatureReference.parser(),
extensionRegistry);
if (requiredColumnsBuilder_ == null) {
ensureRequiredColumnsIsMutable();
requiredColumns_.add(m);
} else {
requiredColumnsBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
ai.chalk.protos.chalk.graph.v1.FeatureReference m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.FeatureReference.parser(),
extensionRegistry);
if (optionalColumnsBuilder_ == null) {
ensureOptionalColumnsIsMutable();
optionalColumns_.add(m);
} else {
optionalColumnsBuilder_.addMessage(m);
}
break;
} // case 26
case 34: {
input.readMessage(
getFilterFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
limit_ = input.readUInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
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 java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> requiredColumns_ =
java.util.Collections.emptyList();
private void ensureRequiredColumnsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
requiredColumns_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.FeatureReference>(requiredColumns_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder> requiredColumnsBuilder_;
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> getRequiredColumnsList() {
if (requiredColumnsBuilder_ == null) {
return java.util.Collections.unmodifiableList(requiredColumns_);
} else {
return requiredColumnsBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public int getRequiredColumnsCount() {
if (requiredColumnsBuilder_ == null) {
return requiredColumns_.size();
} else {
return requiredColumnsBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference getRequiredColumns(int index) {
if (requiredColumnsBuilder_ == null) {
return requiredColumns_.get(index);
} else {
return requiredColumnsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public Builder setRequiredColumns(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference 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.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public Builder setRequiredColumns(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (requiredColumnsBuilder_ == null) {
ensureRequiredColumnsIsMutable();
requiredColumns_.set(index, builderForValue.build());
onChanged();
} else {
requiredColumnsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public Builder addRequiredColumns(ai.chalk.protos.chalk.graph.v1.FeatureReference value) {
if (requiredColumnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequiredColumnsIsMutable();
requiredColumns_.add(value);
onChanged();
} else {
requiredColumnsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public Builder addRequiredColumns(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference 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.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public Builder addRequiredColumns(
ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (requiredColumnsBuilder_ == null) {
ensureRequiredColumnsIsMutable();
requiredColumns_.add(builderForValue.build());
onChanged();
} else {
requiredColumnsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public Builder addRequiredColumns(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (requiredColumnsBuilder_ == null) {
ensureRequiredColumnsIsMutable();
requiredColumns_.add(index, builderForValue.build());
onChanged();
} else {
requiredColumnsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public Builder addAllRequiredColumns(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.FeatureReference> values) {
if (requiredColumnsBuilder_ == null) {
ensureRequiredColumnsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, requiredColumns_);
onChanged();
} else {
requiredColumnsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference 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.graph.v1.FeatureReference 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.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder getRequiredColumnsBuilder(
int index) {
return getRequiredColumnsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getRequiredColumnsOrBuilder(
int index) {
if (requiredColumnsBuilder_ == null) {
return requiredColumns_.get(index); } else {
return requiredColumnsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getRequiredColumnsOrBuilderList() {
if (requiredColumnsBuilder_ != null) {
return requiredColumnsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(requiredColumns_);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder addRequiredColumnsBuilder() {
return getRequiredColumnsFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder addRequiredColumnsBuilder(
int index) {
return getRequiredColumnsFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder>
getRequiredColumnsBuilderList() {
return getRequiredColumnsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getRequiredColumnsFieldBuilder() {
if (requiredColumnsBuilder_ == null) {
requiredColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>(
requiredColumns_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
requiredColumns_ = null;
}
return requiredColumnsBuilder_;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> optionalColumns_ =
java.util.Collections.emptyList();
private void ensureOptionalColumnsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
optionalColumns_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.FeatureReference>(optionalColumns_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder> optionalColumnsBuilder_;
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> getOptionalColumnsList() {
if (optionalColumnsBuilder_ == null) {
return java.util.Collections.unmodifiableList(optionalColumns_);
} else {
return optionalColumnsBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public int getOptionalColumnsCount() {
if (optionalColumnsBuilder_ == null) {
return optionalColumns_.size();
} else {
return optionalColumnsBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference getOptionalColumns(int index) {
if (optionalColumnsBuilder_ == null) {
return optionalColumns_.get(index);
} else {
return optionalColumnsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public Builder setOptionalColumns(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference 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.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public Builder setOptionalColumns(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (optionalColumnsBuilder_ == null) {
ensureOptionalColumnsIsMutable();
optionalColumns_.set(index, builderForValue.build());
onChanged();
} else {
optionalColumnsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public Builder addOptionalColumns(ai.chalk.protos.chalk.graph.v1.FeatureReference value) {
if (optionalColumnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOptionalColumnsIsMutable();
optionalColumns_.add(value);
onChanged();
} else {
optionalColumnsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public Builder addOptionalColumns(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference 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.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public Builder addOptionalColumns(
ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (optionalColumnsBuilder_ == null) {
ensureOptionalColumnsIsMutable();
optionalColumns_.add(builderForValue.build());
onChanged();
} else {
optionalColumnsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public Builder addOptionalColumns(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (optionalColumnsBuilder_ == null) {
ensureOptionalColumnsIsMutable();
optionalColumns_.add(index, builderForValue.build());
onChanged();
} else {
optionalColumnsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public Builder addAllOptionalColumns(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.FeatureReference> values) {
if (optionalColumnsBuilder_ == null) {
ensureOptionalColumnsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, optionalColumns_);
onChanged();
} else {
optionalColumnsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public Builder clearOptionalColumns() {
if (optionalColumnsBuilder_ == null) {
optionalColumns_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
optionalColumnsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [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.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder getOptionalColumnsBuilder(
int index) {
return getOptionalColumnsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getOptionalColumnsOrBuilder(
int index) {
if (optionalColumnsBuilder_ == null) {
return optionalColumns_.get(index); } else {
return optionalColumnsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getOptionalColumnsOrBuilderList() {
if (optionalColumnsBuilder_ != null) {
return optionalColumnsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(optionalColumns_);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder addOptionalColumnsBuilder() {
return getOptionalColumnsFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder addOptionalColumnsBuilder(
int index) {
return getOptionalColumnsFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder>
getOptionalColumnsBuilderList() {
return getOptionalColumnsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getOptionalColumnsFieldBuilder() {
if (optionalColumnsBuilder_ == null) {
optionalColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>(
optionalColumns_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
optionalColumns_ = null;
}
return optionalColumnsBuilder_;
}
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode filter_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> filterBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
* @return Whether the filter field is set.
*/
public boolean hasFilter() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
* @return The filter.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getFilter() {
if (filterBuilder_ == null) {
return filter_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : filter_;
} else {
return filterBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
*/
public Builder setFilter(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (filterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
filter_ = value;
} else {
filterBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
*/
public Builder setFilter(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (filterBuilder_ == null) {
filter_ = builderForValue.build();
} else {
filterBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
*/
public Builder mergeFilter(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (filterBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
filter_ != null &&
filter_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getFilterBuilder().mergeFrom(value);
} else {
filter_ = value;
}
} else {
filterBuilder_.mergeFrom(value);
}
if (filter_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
*/
public Builder clearFilter() {
bitField0_ = (bitField0_ & ~0x00000008);
filter_ = null;
if (filterBuilder_ != null) {
filterBuilder_.dispose();
filterBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getFilterBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getFilterFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getFilterOrBuilder() {
if (filterBuilder_ != null) {
return filterBuilder_.getMessageOrBuilder();
} else {
return filter_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : filter_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getFilterFieldBuilder() {
if (filterBuilder_ == null) {
filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getFilter(),
getParentForChildren(),
isClean());
filter_ = null;
}
return filterBuilder_;
}
private long limit_ ;
/**
* <code>optional uint64 limit = 5 [json_name = "limit"];</code>
* @return Whether the limit field is set.
*/
@java.lang.Override
public boolean hasLimit() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional uint64 limit = 5 [json_name = "limit"];</code>
* @return The limit.
*/
@java.lang.Override
public long getLimit() {
return limit_;
}
/**
* <code>optional uint64 limit = 5 [json_name = "limit"];</code>
* @param value The limit to set.
* @return This builder for chaining.
*/
public Builder setLimit(long value) {
limit_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional uint64 limit = 5 [json_name = "limit"];</code>
* @return This builder for chaining.
*/
public Builder clearLimit() {
bitField0_ = (bitField0_ & ~0x00000010);
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.graph.v1.DataFrameType)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.DataFrameType)
private static final ai.chalk.protos.chalk.graph.v1.DataFrameType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.DataFrameType();
}
public static ai.chalk.protos.chalk.graph.v1.DataFrameType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DataFrameType>
PARSER = new com.google.protobuf.AbstractParser<DataFrameType>() {
@java.lang.Override
public DataFrameType 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<DataFrameType> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DataFrameType> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DataFrameType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/DataFrameTypeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface DataFrameTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.DataFrameType)
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>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference>
getRequiredColumnsList();
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureReference getRequiredColumns(int index);
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
int getRequiredColumnsCount();
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getRequiredColumnsOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.FeatureReference required_columns = 2 [json_name = "requiredColumns"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getRequiredColumnsOrBuilder(
int index);
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference>
getOptionalColumnsList();
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureReference getOptionalColumns(int index);
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
int getOptionalColumnsCount();
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getOptionalColumnsOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.FeatureReference optional_columns = 3 [json_name = "optionalColumns"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getOptionalColumnsOrBuilder(
int index);
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
* @return Whether the filter field is set.
*/
boolean hasFilter();
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
* @return The filter.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getFilter();
/**
* <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getFilterOrBuilder();
/**
* <code>optional uint64 limit = 5 [json_name = "limit"];</code>
* @return Whether the limit field is set.
*/
boolean hasLimit();
/**
* <code>optional uint64 limit = 5 [json_name = "limit"];</code>
* @return The limit.
*/
long getLimit();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/DatabaseSource.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.DatabaseSource}
*/
public final class DatabaseSource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.DatabaseSource)
DatabaseSourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use DatabaseSource.newBuilder() to construct.
private DatabaseSource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DatabaseSource() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DatabaseSource();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabaseSource_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabaseSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.DatabaseSource.class, ai.chalk.protos.chalk.graph.v1.DatabaseSource.Builder.class);
}
private int sourceCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object source_;
public enum SourceCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
BIGQUERY(1),
CLOUDSQL(2),
DATABRICKS(3),
MYSQL(4),
POSTGRES(5),
REDSHIFT(6),
SNOWFLAKE(7),
SQLITE(8),
SPANNER(9),
TRINO(10),
DYNAMODB(11),
SOURCE_NOT_SET(0);
private final int value;
private SourceCase(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 SourceCase valueOf(int value) {
return forNumber(value);
}
public static SourceCase forNumber(int value) {
switch (value) {
case 1: return BIGQUERY;
case 2: return CLOUDSQL;
case 3: return DATABRICKS;
case 4: return MYSQL;
case 5: return POSTGRES;
case 6: return REDSHIFT;
case 7: return SNOWFLAKE;
case 8: return SQLITE;
case 9: return SPANNER;
case 10: return TRINO;
case 11: return DYNAMODB;
case 0: return SOURCE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public SourceCase
getSourceCase() {
return SourceCase.forNumber(
sourceCase_);
}
public static final int BIGQUERY_FIELD_NUMBER = 1;
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
* @return Whether the bigquery field is set.
*/
@java.lang.Override
public boolean hasBigquery() {
return sourceCase_ == 1;
}
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
* @return The bigquery.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.BigQuerySource getBigquery() {
if (sourceCase_ == 1) {
return (ai.chalk.protos.chalk.graph.v1.BigQuerySource) source_;
}
return ai.chalk.protos.chalk.graph.v1.BigQuerySource.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.BigQuerySourceOrBuilder getBigqueryOrBuilder() {
if (sourceCase_ == 1) {
return (ai.chalk.protos.chalk.graph.v1.BigQuerySource) source_;
}
return ai.chalk.protos.chalk.graph.v1.BigQuerySource.getDefaultInstance();
}
public static final int CLOUDSQL_FIELD_NUMBER = 2;
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
* @return Whether the cloudsql field is set.
*/
@java.lang.Override
public boolean hasCloudsql() {
return sourceCase_ == 2;
}
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
* @return The cloudsql.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CloudSQLSource getCloudsql() {
if (sourceCase_ == 2) {
return (ai.chalk.protos.chalk.graph.v1.CloudSQLSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.CloudSQLSource.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CloudSQLSourceOrBuilder getCloudsqlOrBuilder() {
if (sourceCase_ == 2) {
return (ai.chalk.protos.chalk.graph.v1.CloudSQLSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.CloudSQLSource.getDefaultInstance();
}
public static final int DATABRICKS_FIELD_NUMBER = 3;
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
* @return Whether the databricks field is set.
*/
@java.lang.Override
public boolean hasDatabricks() {
return sourceCase_ == 3;
}
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
* @return The databricks.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabricksSource getDatabricks() {
if (sourceCase_ == 3) {
return (ai.chalk.protos.chalk.graph.v1.DatabricksSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.DatabricksSource.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabricksSourceOrBuilder getDatabricksOrBuilder() {
if (sourceCase_ == 3) {
return (ai.chalk.protos.chalk.graph.v1.DatabricksSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.DatabricksSource.getDefaultInstance();
}
public static final int MYSQL_FIELD_NUMBER = 4;
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
* @return Whether the mysql field is set.
*/
@java.lang.Override
public boolean hasMysql() {
return sourceCase_ == 4;
}
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
* @return The mysql.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.MySQLSource getMysql() {
if (sourceCase_ == 4) {
return (ai.chalk.protos.chalk.graph.v1.MySQLSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.MySQLSource.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.MySQLSourceOrBuilder getMysqlOrBuilder() {
if (sourceCase_ == 4) {
return (ai.chalk.protos.chalk.graph.v1.MySQLSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.MySQLSource.getDefaultInstance();
}
public static final int POSTGRES_FIELD_NUMBER = 5;
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
* @return Whether the postgres field is set.
*/
@java.lang.Override
public boolean hasPostgres() {
return sourceCase_ == 5;
}
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
* @return The postgres.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.PostgresSource getPostgres() {
if (sourceCase_ == 5) {
return (ai.chalk.protos.chalk.graph.v1.PostgresSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.PostgresSource.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.PostgresSourceOrBuilder getPostgresOrBuilder() {
if (sourceCase_ == 5) {
return (ai.chalk.protos.chalk.graph.v1.PostgresSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.PostgresSource.getDefaultInstance();
}
public static final int REDSHIFT_FIELD_NUMBER = 6;
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
* @return Whether the redshift field is set.
*/
@java.lang.Override
public boolean hasRedshift() {
return sourceCase_ == 6;
}
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
* @return The redshift.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.RedshiftSource getRedshift() {
if (sourceCase_ == 6) {
return (ai.chalk.protos.chalk.graph.v1.RedshiftSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.RedshiftSource.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.RedshiftSourceOrBuilder getRedshiftOrBuilder() {
if (sourceCase_ == 6) {
return (ai.chalk.protos.chalk.graph.v1.RedshiftSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.RedshiftSource.getDefaultInstance();
}
public static final int SNOWFLAKE_FIELD_NUMBER = 7;
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
* @return Whether the snowflake field is set.
*/
@java.lang.Override
public boolean hasSnowflake() {
return sourceCase_ == 7;
}
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
* @return The snowflake.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SnowflakeSource getSnowflake() {
if (sourceCase_ == 7) {
return (ai.chalk.protos.chalk.graph.v1.SnowflakeSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.SnowflakeSource.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SnowflakeSourceOrBuilder getSnowflakeOrBuilder() {
if (sourceCase_ == 7) {
return (ai.chalk.protos.chalk.graph.v1.SnowflakeSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.SnowflakeSource.getDefaultInstance();
}
public static final int SQLITE_FIELD_NUMBER = 8;
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
* @return Whether the sqlite field is set.
*/
@java.lang.Override
public boolean hasSqlite() {
return sourceCase_ == 8;
}
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
* @return The sqlite.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SQLiteSource getSqlite() {
if (sourceCase_ == 8) {
return (ai.chalk.protos.chalk.graph.v1.SQLiteSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.SQLiteSource.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SQLiteSourceOrBuilder getSqliteOrBuilder() {
if (sourceCase_ == 8) {
return (ai.chalk.protos.chalk.graph.v1.SQLiteSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.SQLiteSource.getDefaultInstance();
}
public static final int SPANNER_FIELD_NUMBER = 9;
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
* @return Whether the spanner field is set.
*/
@java.lang.Override
public boolean hasSpanner() {
return sourceCase_ == 9;
}
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
* @return The spanner.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SpannerSource getSpanner() {
if (sourceCase_ == 9) {
return (ai.chalk.protos.chalk.graph.v1.SpannerSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.SpannerSource.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SpannerSourceOrBuilder getSpannerOrBuilder() {
if (sourceCase_ == 9) {
return (ai.chalk.protos.chalk.graph.v1.SpannerSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.SpannerSource.getDefaultInstance();
}
public static final int TRINO_FIELD_NUMBER = 10;
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
* @return Whether the trino field is set.
*/
@java.lang.Override
public boolean hasTrino() {
return sourceCase_ == 10;
}
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
* @return The trino.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.TrinoSource getTrino() {
if (sourceCase_ == 10) {
return (ai.chalk.protos.chalk.graph.v1.TrinoSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.TrinoSource.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.TrinoSourceOrBuilder getTrinoOrBuilder() {
if (sourceCase_ == 10) {
return (ai.chalk.protos.chalk.graph.v1.TrinoSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.TrinoSource.getDefaultInstance();
}
public static final int DYNAMODB_FIELD_NUMBER = 11;
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
* @return Whether the dynamodb field is set.
*/
@java.lang.Override
public boolean hasDynamodb() {
return sourceCase_ == 11;
}
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
* @return The dynamodb.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DynamoDBSource getDynamodb() {
if (sourceCase_ == 11) {
return (ai.chalk.protos.chalk.graph.v1.DynamoDBSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.DynamoDBSource.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DynamoDBSourceOrBuilder getDynamodbOrBuilder() {
if (sourceCase_ == 11) {
return (ai.chalk.protos.chalk.graph.v1.DynamoDBSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.DynamoDBSource.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 (sourceCase_ == 1) {
output.writeMessage(1, (ai.chalk.protos.chalk.graph.v1.BigQuerySource) source_);
}
if (sourceCase_ == 2) {
output.writeMessage(2, (ai.chalk.protos.chalk.graph.v1.CloudSQLSource) source_);
}
if (sourceCase_ == 3) {
output.writeMessage(3, (ai.chalk.protos.chalk.graph.v1.DatabricksSource) source_);
}
if (sourceCase_ == 4) {
output.writeMessage(4, (ai.chalk.protos.chalk.graph.v1.MySQLSource) source_);
}
if (sourceCase_ == 5) {
output.writeMessage(5, (ai.chalk.protos.chalk.graph.v1.PostgresSource) source_);
}
if (sourceCase_ == 6) {
output.writeMessage(6, (ai.chalk.protos.chalk.graph.v1.RedshiftSource) source_);
}
if (sourceCase_ == 7) {
output.writeMessage(7, (ai.chalk.protos.chalk.graph.v1.SnowflakeSource) source_);
}
if (sourceCase_ == 8) {
output.writeMessage(8, (ai.chalk.protos.chalk.graph.v1.SQLiteSource) source_);
}
if (sourceCase_ == 9) {
output.writeMessage(9, (ai.chalk.protos.chalk.graph.v1.SpannerSource) source_);
}
if (sourceCase_ == 10) {
output.writeMessage(10, (ai.chalk.protos.chalk.graph.v1.TrinoSource) source_);
}
if (sourceCase_ == 11) {
output.writeMessage(11, (ai.chalk.protos.chalk.graph.v1.DynamoDBSource) source_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (sourceCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (ai.chalk.protos.chalk.graph.v1.BigQuerySource) source_);
}
if (sourceCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (ai.chalk.protos.chalk.graph.v1.CloudSQLSource) source_);
}
if (sourceCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (ai.chalk.protos.chalk.graph.v1.DatabricksSource) source_);
}
if (sourceCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (ai.chalk.protos.chalk.graph.v1.MySQLSource) source_);
}
if (sourceCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (ai.chalk.protos.chalk.graph.v1.PostgresSource) source_);
}
if (sourceCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (ai.chalk.protos.chalk.graph.v1.RedshiftSource) source_);
}
if (sourceCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (ai.chalk.protos.chalk.graph.v1.SnowflakeSource) source_);
}
if (sourceCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (ai.chalk.protos.chalk.graph.v1.SQLiteSource) source_);
}
if (sourceCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (ai.chalk.protos.chalk.graph.v1.SpannerSource) source_);
}
if (sourceCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (ai.chalk.protos.chalk.graph.v1.TrinoSource) source_);
}
if (sourceCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (ai.chalk.protos.chalk.graph.v1.DynamoDBSource) source_);
}
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.graph.v1.DatabaseSource)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.DatabaseSource other = (ai.chalk.protos.chalk.graph.v1.DatabaseSource) obj;
if (!getSourceCase().equals(other.getSourceCase())) return false;
switch (sourceCase_) {
case 1:
if (!getBigquery()
.equals(other.getBigquery())) return false;
break;
case 2:
if (!getCloudsql()
.equals(other.getCloudsql())) return false;
break;
case 3:
if (!getDatabricks()
.equals(other.getDatabricks())) return false;
break;
case 4:
if (!getMysql()
.equals(other.getMysql())) return false;
break;
case 5:
if (!getPostgres()
.equals(other.getPostgres())) return false;
break;
case 6:
if (!getRedshift()
.equals(other.getRedshift())) return false;
break;
case 7:
if (!getSnowflake()
.equals(other.getSnowflake())) return false;
break;
case 8:
if (!getSqlite()
.equals(other.getSqlite())) return false;
break;
case 9:
if (!getSpanner()
.equals(other.getSpanner())) return false;
break;
case 10:
if (!getTrino()
.equals(other.getTrino())) return false;
break;
case 11:
if (!getDynamodb()
.equals(other.getDynamodb())) 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 (sourceCase_) {
case 1:
hash = (37 * hash) + BIGQUERY_FIELD_NUMBER;
hash = (53 * hash) + getBigquery().hashCode();
break;
case 2:
hash = (37 * hash) + CLOUDSQL_FIELD_NUMBER;
hash = (53 * hash) + getCloudsql().hashCode();
break;
case 3:
hash = (37 * hash) + DATABRICKS_FIELD_NUMBER;
hash = (53 * hash) + getDatabricks().hashCode();
break;
case 4:
hash = (37 * hash) + MYSQL_FIELD_NUMBER;
hash = (53 * hash) + getMysql().hashCode();
break;
case 5:
hash = (37 * hash) + POSTGRES_FIELD_NUMBER;
hash = (53 * hash) + getPostgres().hashCode();
break;
case 6:
hash = (37 * hash) + REDSHIFT_FIELD_NUMBER;
hash = (53 * hash) + getRedshift().hashCode();
break;
case 7:
hash = (37 * hash) + SNOWFLAKE_FIELD_NUMBER;
hash = (53 * hash) + getSnowflake().hashCode();
break;
case 8:
hash = (37 * hash) + SQLITE_FIELD_NUMBER;
hash = (53 * hash) + getSqlite().hashCode();
break;
case 9:
hash = (37 * hash) + SPANNER_FIELD_NUMBER;
hash = (53 * hash) + getSpanner().hashCode();
break;
case 10:
hash = (37 * hash) + TRINO_FIELD_NUMBER;
hash = (53 * hash) + getTrino().hashCode();
break;
case 11:
hash = (37 * hash) + DYNAMODB_FIELD_NUMBER;
hash = (53 * hash) + getDynamodb().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSource 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.graph.v1.DatabaseSource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSource 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.graph.v1.DatabaseSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSource 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.graph.v1.DatabaseSource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSource 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.graph.v1.DatabaseSource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSource 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.graph.v1.DatabaseSource 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.graph.v1.DatabaseSource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.DatabaseSource)
ai.chalk.protos.chalk.graph.v1.DatabaseSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabaseSource_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabaseSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.DatabaseSource.class, ai.chalk.protos.chalk.graph.v1.DatabaseSource.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.DatabaseSource.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (bigqueryBuilder_ != null) {
bigqueryBuilder_.clear();
}
if (cloudsqlBuilder_ != null) {
cloudsqlBuilder_.clear();
}
if (databricksBuilder_ != null) {
databricksBuilder_.clear();
}
if (mysqlBuilder_ != null) {
mysqlBuilder_.clear();
}
if (postgresBuilder_ != null) {
postgresBuilder_.clear();
}
if (redshiftBuilder_ != null) {
redshiftBuilder_.clear();
}
if (snowflakeBuilder_ != null) {
snowflakeBuilder_.clear();
}
if (sqliteBuilder_ != null) {
sqliteBuilder_.clear();
}
if (spannerBuilder_ != null) {
spannerBuilder_.clear();
}
if (trinoBuilder_ != null) {
trinoBuilder_.clear();
}
if (dynamodbBuilder_ != null) {
dynamodbBuilder_.clear();
}
sourceCase_ = 0;
source_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabaseSource_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSource getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.DatabaseSource.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSource build() {
ai.chalk.protos.chalk.graph.v1.DatabaseSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSource buildPartial() {
ai.chalk.protos.chalk.graph.v1.DatabaseSource result = new ai.chalk.protos.chalk.graph.v1.DatabaseSource(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.DatabaseSource result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(ai.chalk.protos.chalk.graph.v1.DatabaseSource result) {
result.sourceCase_ = sourceCase_;
result.source_ = this.source_;
if (sourceCase_ == 1 &&
bigqueryBuilder_ != null) {
result.source_ = bigqueryBuilder_.build();
}
if (sourceCase_ == 2 &&
cloudsqlBuilder_ != null) {
result.source_ = cloudsqlBuilder_.build();
}
if (sourceCase_ == 3 &&
databricksBuilder_ != null) {
result.source_ = databricksBuilder_.build();
}
if (sourceCase_ == 4 &&
mysqlBuilder_ != null) {
result.source_ = mysqlBuilder_.build();
}
if (sourceCase_ == 5 &&
postgresBuilder_ != null) {
result.source_ = postgresBuilder_.build();
}
if (sourceCase_ == 6 &&
redshiftBuilder_ != null) {
result.source_ = redshiftBuilder_.build();
}
if (sourceCase_ == 7 &&
snowflakeBuilder_ != null) {
result.source_ = snowflakeBuilder_.build();
}
if (sourceCase_ == 8 &&
sqliteBuilder_ != null) {
result.source_ = sqliteBuilder_.build();
}
if (sourceCase_ == 9 &&
spannerBuilder_ != null) {
result.source_ = spannerBuilder_.build();
}
if (sourceCase_ == 10 &&
trinoBuilder_ != null) {
result.source_ = trinoBuilder_.build();
}
if (sourceCase_ == 11 &&
dynamodbBuilder_ != null) {
result.source_ = dynamodbBuilder_.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.graph.v1.DatabaseSource) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.DatabaseSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.DatabaseSource other) {
if (other == ai.chalk.protos.chalk.graph.v1.DatabaseSource.getDefaultInstance()) return this;
switch (other.getSourceCase()) {
case BIGQUERY: {
mergeBigquery(other.getBigquery());
break;
}
case CLOUDSQL: {
mergeCloudsql(other.getCloudsql());
break;
}
case DATABRICKS: {
mergeDatabricks(other.getDatabricks());
break;
}
case MYSQL: {
mergeMysql(other.getMysql());
break;
}
case POSTGRES: {
mergePostgres(other.getPostgres());
break;
}
case REDSHIFT: {
mergeRedshift(other.getRedshift());
break;
}
case SNOWFLAKE: {
mergeSnowflake(other.getSnowflake());
break;
}
case SQLITE: {
mergeSqlite(other.getSqlite());
break;
}
case SPANNER: {
mergeSpanner(other.getSpanner());
break;
}
case TRINO: {
mergeTrino(other.getTrino());
break;
}
case DYNAMODB: {
mergeDynamodb(other.getDynamodb());
break;
}
case SOURCE_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(
getBigqueryFieldBuilder().getBuilder(),
extensionRegistry);
sourceCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getCloudsqlFieldBuilder().getBuilder(),
extensionRegistry);
sourceCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getDatabricksFieldBuilder().getBuilder(),
extensionRegistry);
sourceCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getMysqlFieldBuilder().getBuilder(),
extensionRegistry);
sourceCase_ = 4;
break;
} // case 34
case 42: {
input.readMessage(
getPostgresFieldBuilder().getBuilder(),
extensionRegistry);
sourceCase_ = 5;
break;
} // case 42
case 50: {
input.readMessage(
getRedshiftFieldBuilder().getBuilder(),
extensionRegistry);
sourceCase_ = 6;
break;
} // case 50
case 58: {
input.readMessage(
getSnowflakeFieldBuilder().getBuilder(),
extensionRegistry);
sourceCase_ = 7;
break;
} // case 58
case 66: {
input.readMessage(
getSqliteFieldBuilder().getBuilder(),
extensionRegistry);
sourceCase_ = 8;
break;
} // case 66
case 74: {
input.readMessage(
getSpannerFieldBuilder().getBuilder(),
extensionRegistry);
sourceCase_ = 9;
break;
} // case 74
case 82: {
input.readMessage(
getTrinoFieldBuilder().getBuilder(),
extensionRegistry);
sourceCase_ = 10;
break;
} // case 82
case 90: {
input.readMessage(
getDynamodbFieldBuilder().getBuilder(),
extensionRegistry);
sourceCase_ = 11;
break;
} // case 90
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 sourceCase_ = 0;
private java.lang.Object source_;
public SourceCase
getSourceCase() {
return SourceCase.forNumber(
sourceCase_);
}
public Builder clearSource() {
sourceCase_ = 0;
source_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.BigQuerySource, ai.chalk.protos.chalk.graph.v1.BigQuerySource.Builder, ai.chalk.protos.chalk.graph.v1.BigQuerySourceOrBuilder> bigqueryBuilder_;
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
* @return Whether the bigquery field is set.
*/
@java.lang.Override
public boolean hasBigquery() {
return sourceCase_ == 1;
}
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
* @return The bigquery.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.BigQuerySource getBigquery() {
if (bigqueryBuilder_ == null) {
if (sourceCase_ == 1) {
return (ai.chalk.protos.chalk.graph.v1.BigQuerySource) source_;
}
return ai.chalk.protos.chalk.graph.v1.BigQuerySource.getDefaultInstance();
} else {
if (sourceCase_ == 1) {
return bigqueryBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.BigQuerySource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
*/
public Builder setBigquery(ai.chalk.protos.chalk.graph.v1.BigQuerySource value) {
if (bigqueryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
} else {
bigqueryBuilder_.setMessage(value);
}
sourceCase_ = 1;
return this;
}
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
*/
public Builder setBigquery(
ai.chalk.protos.chalk.graph.v1.BigQuerySource.Builder builderForValue) {
if (bigqueryBuilder_ == null) {
source_ = builderForValue.build();
onChanged();
} else {
bigqueryBuilder_.setMessage(builderForValue.build());
}
sourceCase_ = 1;
return this;
}
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
*/
public Builder mergeBigquery(ai.chalk.protos.chalk.graph.v1.BigQuerySource value) {
if (bigqueryBuilder_ == null) {
if (sourceCase_ == 1 &&
source_ != ai.chalk.protos.chalk.graph.v1.BigQuerySource.getDefaultInstance()) {
source_ = ai.chalk.protos.chalk.graph.v1.BigQuerySource.newBuilder((ai.chalk.protos.chalk.graph.v1.BigQuerySource) source_)
.mergeFrom(value).buildPartial();
} else {
source_ = value;
}
onChanged();
} else {
if (sourceCase_ == 1) {
bigqueryBuilder_.mergeFrom(value);
} else {
bigqueryBuilder_.setMessage(value);
}
}
sourceCase_ = 1;
return this;
}
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
*/
public Builder clearBigquery() {
if (bigqueryBuilder_ == null) {
if (sourceCase_ == 1) {
sourceCase_ = 0;
source_ = null;
onChanged();
}
} else {
if (sourceCase_ == 1) {
sourceCase_ = 0;
source_ = null;
}
bigqueryBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.BigQuerySource.Builder getBigqueryBuilder() {
return getBigqueryFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.BigQuerySourceOrBuilder getBigqueryOrBuilder() {
if ((sourceCase_ == 1) && (bigqueryBuilder_ != null)) {
return bigqueryBuilder_.getMessageOrBuilder();
} else {
if (sourceCase_ == 1) {
return (ai.chalk.protos.chalk.graph.v1.BigQuerySource) source_;
}
return ai.chalk.protos.chalk.graph.v1.BigQuerySource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.BigQuerySource, ai.chalk.protos.chalk.graph.v1.BigQuerySource.Builder, ai.chalk.protos.chalk.graph.v1.BigQuerySourceOrBuilder>
getBigqueryFieldBuilder() {
if (bigqueryBuilder_ == null) {
if (!(sourceCase_ == 1)) {
source_ = ai.chalk.protos.chalk.graph.v1.BigQuerySource.getDefaultInstance();
}
bigqueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.BigQuerySource, ai.chalk.protos.chalk.graph.v1.BigQuerySource.Builder, ai.chalk.protos.chalk.graph.v1.BigQuerySourceOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.BigQuerySource) source_,
getParentForChildren(),
isClean());
source_ = null;
}
sourceCase_ = 1;
onChanged();
return bigqueryBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.CloudSQLSource, ai.chalk.protos.chalk.graph.v1.CloudSQLSource.Builder, ai.chalk.protos.chalk.graph.v1.CloudSQLSourceOrBuilder> cloudsqlBuilder_;
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
* @return Whether the cloudsql field is set.
*/
@java.lang.Override
public boolean hasCloudsql() {
return sourceCase_ == 2;
}
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
* @return The cloudsql.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CloudSQLSource getCloudsql() {
if (cloudsqlBuilder_ == null) {
if (sourceCase_ == 2) {
return (ai.chalk.protos.chalk.graph.v1.CloudSQLSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.CloudSQLSource.getDefaultInstance();
} else {
if (sourceCase_ == 2) {
return cloudsqlBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.CloudSQLSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
*/
public Builder setCloudsql(ai.chalk.protos.chalk.graph.v1.CloudSQLSource value) {
if (cloudsqlBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
} else {
cloudsqlBuilder_.setMessage(value);
}
sourceCase_ = 2;
return this;
}
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
*/
public Builder setCloudsql(
ai.chalk.protos.chalk.graph.v1.CloudSQLSource.Builder builderForValue) {
if (cloudsqlBuilder_ == null) {
source_ = builderForValue.build();
onChanged();
} else {
cloudsqlBuilder_.setMessage(builderForValue.build());
}
sourceCase_ = 2;
return this;
}
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
*/
public Builder mergeCloudsql(ai.chalk.protos.chalk.graph.v1.CloudSQLSource value) {
if (cloudsqlBuilder_ == null) {
if (sourceCase_ == 2 &&
source_ != ai.chalk.protos.chalk.graph.v1.CloudSQLSource.getDefaultInstance()) {
source_ = ai.chalk.protos.chalk.graph.v1.CloudSQLSource.newBuilder((ai.chalk.protos.chalk.graph.v1.CloudSQLSource) source_)
.mergeFrom(value).buildPartial();
} else {
source_ = value;
}
onChanged();
} else {
if (sourceCase_ == 2) {
cloudsqlBuilder_.mergeFrom(value);
} else {
cloudsqlBuilder_.setMessage(value);
}
}
sourceCase_ = 2;
return this;
}
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
*/
public Builder clearCloudsql() {
if (cloudsqlBuilder_ == null) {
if (sourceCase_ == 2) {
sourceCase_ = 0;
source_ = null;
onChanged();
}
} else {
if (sourceCase_ == 2) {
sourceCase_ = 0;
source_ = null;
}
cloudsqlBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.CloudSQLSource.Builder getCloudsqlBuilder() {
return getCloudsqlFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CloudSQLSourceOrBuilder getCloudsqlOrBuilder() {
if ((sourceCase_ == 2) && (cloudsqlBuilder_ != null)) {
return cloudsqlBuilder_.getMessageOrBuilder();
} else {
if (sourceCase_ == 2) {
return (ai.chalk.protos.chalk.graph.v1.CloudSQLSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.CloudSQLSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.CloudSQLSource, ai.chalk.protos.chalk.graph.v1.CloudSQLSource.Builder, ai.chalk.protos.chalk.graph.v1.CloudSQLSourceOrBuilder>
getCloudsqlFieldBuilder() {
if (cloudsqlBuilder_ == null) {
if (!(sourceCase_ == 2)) {
source_ = ai.chalk.protos.chalk.graph.v1.CloudSQLSource.getDefaultInstance();
}
cloudsqlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.CloudSQLSource, ai.chalk.protos.chalk.graph.v1.CloudSQLSource.Builder, ai.chalk.protos.chalk.graph.v1.CloudSQLSourceOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.CloudSQLSource) source_,
getParentForChildren(),
isClean());
source_ = null;
}
sourceCase_ = 2;
onChanged();
return cloudsqlBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DatabricksSource, ai.chalk.protos.chalk.graph.v1.DatabricksSource.Builder, ai.chalk.protos.chalk.graph.v1.DatabricksSourceOrBuilder> databricksBuilder_;
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
* @return Whether the databricks field is set.
*/
@java.lang.Override
public boolean hasDatabricks() {
return sourceCase_ == 3;
}
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
* @return The databricks.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabricksSource getDatabricks() {
if (databricksBuilder_ == null) {
if (sourceCase_ == 3) {
return (ai.chalk.protos.chalk.graph.v1.DatabricksSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.DatabricksSource.getDefaultInstance();
} else {
if (sourceCase_ == 3) {
return databricksBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.DatabricksSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
*/
public Builder setDatabricks(ai.chalk.protos.chalk.graph.v1.DatabricksSource value) {
if (databricksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
} else {
databricksBuilder_.setMessage(value);
}
sourceCase_ = 3;
return this;
}
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
*/
public Builder setDatabricks(
ai.chalk.protos.chalk.graph.v1.DatabricksSource.Builder builderForValue) {
if (databricksBuilder_ == null) {
source_ = builderForValue.build();
onChanged();
} else {
databricksBuilder_.setMessage(builderForValue.build());
}
sourceCase_ = 3;
return this;
}
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
*/
public Builder mergeDatabricks(ai.chalk.protos.chalk.graph.v1.DatabricksSource value) {
if (databricksBuilder_ == null) {
if (sourceCase_ == 3 &&
source_ != ai.chalk.protos.chalk.graph.v1.DatabricksSource.getDefaultInstance()) {
source_ = ai.chalk.protos.chalk.graph.v1.DatabricksSource.newBuilder((ai.chalk.protos.chalk.graph.v1.DatabricksSource) source_)
.mergeFrom(value).buildPartial();
} else {
source_ = value;
}
onChanged();
} else {
if (sourceCase_ == 3) {
databricksBuilder_.mergeFrom(value);
} else {
databricksBuilder_.setMessage(value);
}
}
sourceCase_ = 3;
return this;
}
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
*/
public Builder clearDatabricks() {
if (databricksBuilder_ == null) {
if (sourceCase_ == 3) {
sourceCase_ = 0;
source_ = null;
onChanged();
}
} else {
if (sourceCase_ == 3) {
sourceCase_ = 0;
source_ = null;
}
databricksBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DatabricksSource.Builder getDatabricksBuilder() {
return getDatabricksFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabricksSourceOrBuilder getDatabricksOrBuilder() {
if ((sourceCase_ == 3) && (databricksBuilder_ != null)) {
return databricksBuilder_.getMessageOrBuilder();
} else {
if (sourceCase_ == 3) {
return (ai.chalk.protos.chalk.graph.v1.DatabricksSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.DatabricksSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DatabricksSource, ai.chalk.protos.chalk.graph.v1.DatabricksSource.Builder, ai.chalk.protos.chalk.graph.v1.DatabricksSourceOrBuilder>
getDatabricksFieldBuilder() {
if (databricksBuilder_ == null) {
if (!(sourceCase_ == 3)) {
source_ = ai.chalk.protos.chalk.graph.v1.DatabricksSource.getDefaultInstance();
}
databricksBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DatabricksSource, ai.chalk.protos.chalk.graph.v1.DatabricksSource.Builder, ai.chalk.protos.chalk.graph.v1.DatabricksSourceOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.DatabricksSource) source_,
getParentForChildren(),
isClean());
source_ = null;
}
sourceCase_ = 3;
onChanged();
return databricksBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.MySQLSource, ai.chalk.protos.chalk.graph.v1.MySQLSource.Builder, ai.chalk.protos.chalk.graph.v1.MySQLSourceOrBuilder> mysqlBuilder_;
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
* @return Whether the mysql field is set.
*/
@java.lang.Override
public boolean hasMysql() {
return sourceCase_ == 4;
}
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
* @return The mysql.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.MySQLSource getMysql() {
if (mysqlBuilder_ == null) {
if (sourceCase_ == 4) {
return (ai.chalk.protos.chalk.graph.v1.MySQLSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.MySQLSource.getDefaultInstance();
} else {
if (sourceCase_ == 4) {
return mysqlBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.MySQLSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
*/
public Builder setMysql(ai.chalk.protos.chalk.graph.v1.MySQLSource value) {
if (mysqlBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
} else {
mysqlBuilder_.setMessage(value);
}
sourceCase_ = 4;
return this;
}
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
*/
public Builder setMysql(
ai.chalk.protos.chalk.graph.v1.MySQLSource.Builder builderForValue) {
if (mysqlBuilder_ == null) {
source_ = builderForValue.build();
onChanged();
} else {
mysqlBuilder_.setMessage(builderForValue.build());
}
sourceCase_ = 4;
return this;
}
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
*/
public Builder mergeMysql(ai.chalk.protos.chalk.graph.v1.MySQLSource value) {
if (mysqlBuilder_ == null) {
if (sourceCase_ == 4 &&
source_ != ai.chalk.protos.chalk.graph.v1.MySQLSource.getDefaultInstance()) {
source_ = ai.chalk.protos.chalk.graph.v1.MySQLSource.newBuilder((ai.chalk.protos.chalk.graph.v1.MySQLSource) source_)
.mergeFrom(value).buildPartial();
} else {
source_ = value;
}
onChanged();
} else {
if (sourceCase_ == 4) {
mysqlBuilder_.mergeFrom(value);
} else {
mysqlBuilder_.setMessage(value);
}
}
sourceCase_ = 4;
return this;
}
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
*/
public Builder clearMysql() {
if (mysqlBuilder_ == null) {
if (sourceCase_ == 4) {
sourceCase_ = 0;
source_ = null;
onChanged();
}
} else {
if (sourceCase_ == 4) {
sourceCase_ = 0;
source_ = null;
}
mysqlBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.MySQLSource.Builder getMysqlBuilder() {
return getMysqlFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.MySQLSourceOrBuilder getMysqlOrBuilder() {
if ((sourceCase_ == 4) && (mysqlBuilder_ != null)) {
return mysqlBuilder_.getMessageOrBuilder();
} else {
if (sourceCase_ == 4) {
return (ai.chalk.protos.chalk.graph.v1.MySQLSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.MySQLSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.MySQLSource, ai.chalk.protos.chalk.graph.v1.MySQLSource.Builder, ai.chalk.protos.chalk.graph.v1.MySQLSourceOrBuilder>
getMysqlFieldBuilder() {
if (mysqlBuilder_ == null) {
if (!(sourceCase_ == 4)) {
source_ = ai.chalk.protos.chalk.graph.v1.MySQLSource.getDefaultInstance();
}
mysqlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.MySQLSource, ai.chalk.protos.chalk.graph.v1.MySQLSource.Builder, ai.chalk.protos.chalk.graph.v1.MySQLSourceOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.MySQLSource) source_,
getParentForChildren(),
isClean());
source_ = null;
}
sourceCase_ = 4;
onChanged();
return mysqlBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.PostgresSource, ai.chalk.protos.chalk.graph.v1.PostgresSource.Builder, ai.chalk.protos.chalk.graph.v1.PostgresSourceOrBuilder> postgresBuilder_;
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
* @return Whether the postgres field is set.
*/
@java.lang.Override
public boolean hasPostgres() {
return sourceCase_ == 5;
}
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
* @return The postgres.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.PostgresSource getPostgres() {
if (postgresBuilder_ == null) {
if (sourceCase_ == 5) {
return (ai.chalk.protos.chalk.graph.v1.PostgresSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.PostgresSource.getDefaultInstance();
} else {
if (sourceCase_ == 5) {
return postgresBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.PostgresSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
*/
public Builder setPostgres(ai.chalk.protos.chalk.graph.v1.PostgresSource value) {
if (postgresBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
} else {
postgresBuilder_.setMessage(value);
}
sourceCase_ = 5;
return this;
}
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
*/
public Builder setPostgres(
ai.chalk.protos.chalk.graph.v1.PostgresSource.Builder builderForValue) {
if (postgresBuilder_ == null) {
source_ = builderForValue.build();
onChanged();
} else {
postgresBuilder_.setMessage(builderForValue.build());
}
sourceCase_ = 5;
return this;
}
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
*/
public Builder mergePostgres(ai.chalk.protos.chalk.graph.v1.PostgresSource value) {
if (postgresBuilder_ == null) {
if (sourceCase_ == 5 &&
source_ != ai.chalk.protos.chalk.graph.v1.PostgresSource.getDefaultInstance()) {
source_ = ai.chalk.protos.chalk.graph.v1.PostgresSource.newBuilder((ai.chalk.protos.chalk.graph.v1.PostgresSource) source_)
.mergeFrom(value).buildPartial();
} else {
source_ = value;
}
onChanged();
} else {
if (sourceCase_ == 5) {
postgresBuilder_.mergeFrom(value);
} else {
postgresBuilder_.setMessage(value);
}
}
sourceCase_ = 5;
return this;
}
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
*/
public Builder clearPostgres() {
if (postgresBuilder_ == null) {
if (sourceCase_ == 5) {
sourceCase_ = 0;
source_ = null;
onChanged();
}
} else {
if (sourceCase_ == 5) {
sourceCase_ = 0;
source_ = null;
}
postgresBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.PostgresSource.Builder getPostgresBuilder() {
return getPostgresFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.PostgresSourceOrBuilder getPostgresOrBuilder() {
if ((sourceCase_ == 5) && (postgresBuilder_ != null)) {
return postgresBuilder_.getMessageOrBuilder();
} else {
if (sourceCase_ == 5) {
return (ai.chalk.protos.chalk.graph.v1.PostgresSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.PostgresSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.PostgresSource, ai.chalk.protos.chalk.graph.v1.PostgresSource.Builder, ai.chalk.protos.chalk.graph.v1.PostgresSourceOrBuilder>
getPostgresFieldBuilder() {
if (postgresBuilder_ == null) {
if (!(sourceCase_ == 5)) {
source_ = ai.chalk.protos.chalk.graph.v1.PostgresSource.getDefaultInstance();
}
postgresBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.PostgresSource, ai.chalk.protos.chalk.graph.v1.PostgresSource.Builder, ai.chalk.protos.chalk.graph.v1.PostgresSourceOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.PostgresSource) source_,
getParentForChildren(),
isClean());
source_ = null;
}
sourceCase_ = 5;
onChanged();
return postgresBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.RedshiftSource, ai.chalk.protos.chalk.graph.v1.RedshiftSource.Builder, ai.chalk.protos.chalk.graph.v1.RedshiftSourceOrBuilder> redshiftBuilder_;
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
* @return Whether the redshift field is set.
*/
@java.lang.Override
public boolean hasRedshift() {
return sourceCase_ == 6;
}
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
* @return The redshift.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.RedshiftSource getRedshift() {
if (redshiftBuilder_ == null) {
if (sourceCase_ == 6) {
return (ai.chalk.protos.chalk.graph.v1.RedshiftSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.RedshiftSource.getDefaultInstance();
} else {
if (sourceCase_ == 6) {
return redshiftBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.RedshiftSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
*/
public Builder setRedshift(ai.chalk.protos.chalk.graph.v1.RedshiftSource value) {
if (redshiftBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
} else {
redshiftBuilder_.setMessage(value);
}
sourceCase_ = 6;
return this;
}
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
*/
public Builder setRedshift(
ai.chalk.protos.chalk.graph.v1.RedshiftSource.Builder builderForValue) {
if (redshiftBuilder_ == null) {
source_ = builderForValue.build();
onChanged();
} else {
redshiftBuilder_.setMessage(builderForValue.build());
}
sourceCase_ = 6;
return this;
}
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
*/
public Builder mergeRedshift(ai.chalk.protos.chalk.graph.v1.RedshiftSource value) {
if (redshiftBuilder_ == null) {
if (sourceCase_ == 6 &&
source_ != ai.chalk.protos.chalk.graph.v1.RedshiftSource.getDefaultInstance()) {
source_ = ai.chalk.protos.chalk.graph.v1.RedshiftSource.newBuilder((ai.chalk.protos.chalk.graph.v1.RedshiftSource) source_)
.mergeFrom(value).buildPartial();
} else {
source_ = value;
}
onChanged();
} else {
if (sourceCase_ == 6) {
redshiftBuilder_.mergeFrom(value);
} else {
redshiftBuilder_.setMessage(value);
}
}
sourceCase_ = 6;
return this;
}
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
*/
public Builder clearRedshift() {
if (redshiftBuilder_ == null) {
if (sourceCase_ == 6) {
sourceCase_ = 0;
source_ = null;
onChanged();
}
} else {
if (sourceCase_ == 6) {
sourceCase_ = 0;
source_ = null;
}
redshiftBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.RedshiftSource.Builder getRedshiftBuilder() {
return getRedshiftFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.RedshiftSourceOrBuilder getRedshiftOrBuilder() {
if ((sourceCase_ == 6) && (redshiftBuilder_ != null)) {
return redshiftBuilder_.getMessageOrBuilder();
} else {
if (sourceCase_ == 6) {
return (ai.chalk.protos.chalk.graph.v1.RedshiftSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.RedshiftSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.RedshiftSource, ai.chalk.protos.chalk.graph.v1.RedshiftSource.Builder, ai.chalk.protos.chalk.graph.v1.RedshiftSourceOrBuilder>
getRedshiftFieldBuilder() {
if (redshiftBuilder_ == null) {
if (!(sourceCase_ == 6)) {
source_ = ai.chalk.protos.chalk.graph.v1.RedshiftSource.getDefaultInstance();
}
redshiftBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.RedshiftSource, ai.chalk.protos.chalk.graph.v1.RedshiftSource.Builder, ai.chalk.protos.chalk.graph.v1.RedshiftSourceOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.RedshiftSource) source_,
getParentForChildren(),
isClean());
source_ = null;
}
sourceCase_ = 6;
onChanged();
return redshiftBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SnowflakeSource, ai.chalk.protos.chalk.graph.v1.SnowflakeSource.Builder, ai.chalk.protos.chalk.graph.v1.SnowflakeSourceOrBuilder> snowflakeBuilder_;
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
* @return Whether the snowflake field is set.
*/
@java.lang.Override
public boolean hasSnowflake() {
return sourceCase_ == 7;
}
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
* @return The snowflake.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SnowflakeSource getSnowflake() {
if (snowflakeBuilder_ == null) {
if (sourceCase_ == 7) {
return (ai.chalk.protos.chalk.graph.v1.SnowflakeSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.SnowflakeSource.getDefaultInstance();
} else {
if (sourceCase_ == 7) {
return snowflakeBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.SnowflakeSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
*/
public Builder setSnowflake(ai.chalk.protos.chalk.graph.v1.SnowflakeSource value) {
if (snowflakeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
} else {
snowflakeBuilder_.setMessage(value);
}
sourceCase_ = 7;
return this;
}
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
*/
public Builder setSnowflake(
ai.chalk.protos.chalk.graph.v1.SnowflakeSource.Builder builderForValue) {
if (snowflakeBuilder_ == null) {
source_ = builderForValue.build();
onChanged();
} else {
snowflakeBuilder_.setMessage(builderForValue.build());
}
sourceCase_ = 7;
return this;
}
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
*/
public Builder mergeSnowflake(ai.chalk.protos.chalk.graph.v1.SnowflakeSource value) {
if (snowflakeBuilder_ == null) {
if (sourceCase_ == 7 &&
source_ != ai.chalk.protos.chalk.graph.v1.SnowflakeSource.getDefaultInstance()) {
source_ = ai.chalk.protos.chalk.graph.v1.SnowflakeSource.newBuilder((ai.chalk.protos.chalk.graph.v1.SnowflakeSource) source_)
.mergeFrom(value).buildPartial();
} else {
source_ = value;
}
onChanged();
} else {
if (sourceCase_ == 7) {
snowflakeBuilder_.mergeFrom(value);
} else {
snowflakeBuilder_.setMessage(value);
}
}
sourceCase_ = 7;
return this;
}
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
*/
public Builder clearSnowflake() {
if (snowflakeBuilder_ == null) {
if (sourceCase_ == 7) {
sourceCase_ = 0;
source_ = null;
onChanged();
}
} else {
if (sourceCase_ == 7) {
sourceCase_ = 0;
source_ = null;
}
snowflakeBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.SnowflakeSource.Builder getSnowflakeBuilder() {
return getSnowflakeFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SnowflakeSourceOrBuilder getSnowflakeOrBuilder() {
if ((sourceCase_ == 7) && (snowflakeBuilder_ != null)) {
return snowflakeBuilder_.getMessageOrBuilder();
} else {
if (sourceCase_ == 7) {
return (ai.chalk.protos.chalk.graph.v1.SnowflakeSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.SnowflakeSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SnowflakeSource, ai.chalk.protos.chalk.graph.v1.SnowflakeSource.Builder, ai.chalk.protos.chalk.graph.v1.SnowflakeSourceOrBuilder>
getSnowflakeFieldBuilder() {
if (snowflakeBuilder_ == null) {
if (!(sourceCase_ == 7)) {
source_ = ai.chalk.protos.chalk.graph.v1.SnowflakeSource.getDefaultInstance();
}
snowflakeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SnowflakeSource, ai.chalk.protos.chalk.graph.v1.SnowflakeSource.Builder, ai.chalk.protos.chalk.graph.v1.SnowflakeSourceOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.SnowflakeSource) source_,
getParentForChildren(),
isClean());
source_ = null;
}
sourceCase_ = 7;
onChanged();
return snowflakeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SQLiteSource, ai.chalk.protos.chalk.graph.v1.SQLiteSource.Builder, ai.chalk.protos.chalk.graph.v1.SQLiteSourceOrBuilder> sqliteBuilder_;
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
* @return Whether the sqlite field is set.
*/
@java.lang.Override
public boolean hasSqlite() {
return sourceCase_ == 8;
}
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
* @return The sqlite.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SQLiteSource getSqlite() {
if (sqliteBuilder_ == null) {
if (sourceCase_ == 8) {
return (ai.chalk.protos.chalk.graph.v1.SQLiteSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.SQLiteSource.getDefaultInstance();
} else {
if (sourceCase_ == 8) {
return sqliteBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.SQLiteSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
*/
public Builder setSqlite(ai.chalk.protos.chalk.graph.v1.SQLiteSource value) {
if (sqliteBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
} else {
sqliteBuilder_.setMessage(value);
}
sourceCase_ = 8;
return this;
}
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
*/
public Builder setSqlite(
ai.chalk.protos.chalk.graph.v1.SQLiteSource.Builder builderForValue) {
if (sqliteBuilder_ == null) {
source_ = builderForValue.build();
onChanged();
} else {
sqliteBuilder_.setMessage(builderForValue.build());
}
sourceCase_ = 8;
return this;
}
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
*/
public Builder mergeSqlite(ai.chalk.protos.chalk.graph.v1.SQLiteSource value) {
if (sqliteBuilder_ == null) {
if (sourceCase_ == 8 &&
source_ != ai.chalk.protos.chalk.graph.v1.SQLiteSource.getDefaultInstance()) {
source_ = ai.chalk.protos.chalk.graph.v1.SQLiteSource.newBuilder((ai.chalk.protos.chalk.graph.v1.SQLiteSource) source_)
.mergeFrom(value).buildPartial();
} else {
source_ = value;
}
onChanged();
} else {
if (sourceCase_ == 8) {
sqliteBuilder_.mergeFrom(value);
} else {
sqliteBuilder_.setMessage(value);
}
}
sourceCase_ = 8;
return this;
}
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
*/
public Builder clearSqlite() {
if (sqliteBuilder_ == null) {
if (sourceCase_ == 8) {
sourceCase_ = 0;
source_ = null;
onChanged();
}
} else {
if (sourceCase_ == 8) {
sourceCase_ = 0;
source_ = null;
}
sqliteBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.SQLiteSource.Builder getSqliteBuilder() {
return getSqliteFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SQLiteSourceOrBuilder getSqliteOrBuilder() {
if ((sourceCase_ == 8) && (sqliteBuilder_ != null)) {
return sqliteBuilder_.getMessageOrBuilder();
} else {
if (sourceCase_ == 8) {
return (ai.chalk.protos.chalk.graph.v1.SQLiteSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.SQLiteSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SQLiteSource, ai.chalk.protos.chalk.graph.v1.SQLiteSource.Builder, ai.chalk.protos.chalk.graph.v1.SQLiteSourceOrBuilder>
getSqliteFieldBuilder() {
if (sqliteBuilder_ == null) {
if (!(sourceCase_ == 8)) {
source_ = ai.chalk.protos.chalk.graph.v1.SQLiteSource.getDefaultInstance();
}
sqliteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SQLiteSource, ai.chalk.protos.chalk.graph.v1.SQLiteSource.Builder, ai.chalk.protos.chalk.graph.v1.SQLiteSourceOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.SQLiteSource) source_,
getParentForChildren(),
isClean());
source_ = null;
}
sourceCase_ = 8;
onChanged();
return sqliteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SpannerSource, ai.chalk.protos.chalk.graph.v1.SpannerSource.Builder, ai.chalk.protos.chalk.graph.v1.SpannerSourceOrBuilder> spannerBuilder_;
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
* @return Whether the spanner field is set.
*/
@java.lang.Override
public boolean hasSpanner() {
return sourceCase_ == 9;
}
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
* @return The spanner.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SpannerSource getSpanner() {
if (spannerBuilder_ == null) {
if (sourceCase_ == 9) {
return (ai.chalk.protos.chalk.graph.v1.SpannerSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.SpannerSource.getDefaultInstance();
} else {
if (sourceCase_ == 9) {
return spannerBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.SpannerSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
*/
public Builder setSpanner(ai.chalk.protos.chalk.graph.v1.SpannerSource value) {
if (spannerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
} else {
spannerBuilder_.setMessage(value);
}
sourceCase_ = 9;
return this;
}
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
*/
public Builder setSpanner(
ai.chalk.protos.chalk.graph.v1.SpannerSource.Builder builderForValue) {
if (spannerBuilder_ == null) {
source_ = builderForValue.build();
onChanged();
} else {
spannerBuilder_.setMessage(builderForValue.build());
}
sourceCase_ = 9;
return this;
}
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
*/
public Builder mergeSpanner(ai.chalk.protos.chalk.graph.v1.SpannerSource value) {
if (spannerBuilder_ == null) {
if (sourceCase_ == 9 &&
source_ != ai.chalk.protos.chalk.graph.v1.SpannerSource.getDefaultInstance()) {
source_ = ai.chalk.protos.chalk.graph.v1.SpannerSource.newBuilder((ai.chalk.protos.chalk.graph.v1.SpannerSource) source_)
.mergeFrom(value).buildPartial();
} else {
source_ = value;
}
onChanged();
} else {
if (sourceCase_ == 9) {
spannerBuilder_.mergeFrom(value);
} else {
spannerBuilder_.setMessage(value);
}
}
sourceCase_ = 9;
return this;
}
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
*/
public Builder clearSpanner() {
if (spannerBuilder_ == null) {
if (sourceCase_ == 9) {
sourceCase_ = 0;
source_ = null;
onChanged();
}
} else {
if (sourceCase_ == 9) {
sourceCase_ = 0;
source_ = null;
}
spannerBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.SpannerSource.Builder getSpannerBuilder() {
return getSpannerFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SpannerSourceOrBuilder getSpannerOrBuilder() {
if ((sourceCase_ == 9) && (spannerBuilder_ != null)) {
return spannerBuilder_.getMessageOrBuilder();
} else {
if (sourceCase_ == 9) {
return (ai.chalk.protos.chalk.graph.v1.SpannerSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.SpannerSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SpannerSource, ai.chalk.protos.chalk.graph.v1.SpannerSource.Builder, ai.chalk.protos.chalk.graph.v1.SpannerSourceOrBuilder>
getSpannerFieldBuilder() {
if (spannerBuilder_ == null) {
if (!(sourceCase_ == 9)) {
source_ = ai.chalk.protos.chalk.graph.v1.SpannerSource.getDefaultInstance();
}
spannerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SpannerSource, ai.chalk.protos.chalk.graph.v1.SpannerSource.Builder, ai.chalk.protos.chalk.graph.v1.SpannerSourceOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.SpannerSource) source_,
getParentForChildren(),
isClean());
source_ = null;
}
sourceCase_ = 9;
onChanged();
return spannerBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.TrinoSource, ai.chalk.protos.chalk.graph.v1.TrinoSource.Builder, ai.chalk.protos.chalk.graph.v1.TrinoSourceOrBuilder> trinoBuilder_;
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
* @return Whether the trino field is set.
*/
@java.lang.Override
public boolean hasTrino() {
return sourceCase_ == 10;
}
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
* @return The trino.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.TrinoSource getTrino() {
if (trinoBuilder_ == null) {
if (sourceCase_ == 10) {
return (ai.chalk.protos.chalk.graph.v1.TrinoSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.TrinoSource.getDefaultInstance();
} else {
if (sourceCase_ == 10) {
return trinoBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.TrinoSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
*/
public Builder setTrino(ai.chalk.protos.chalk.graph.v1.TrinoSource value) {
if (trinoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
} else {
trinoBuilder_.setMessage(value);
}
sourceCase_ = 10;
return this;
}
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
*/
public Builder setTrino(
ai.chalk.protos.chalk.graph.v1.TrinoSource.Builder builderForValue) {
if (trinoBuilder_ == null) {
source_ = builderForValue.build();
onChanged();
} else {
trinoBuilder_.setMessage(builderForValue.build());
}
sourceCase_ = 10;
return this;
}
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
*/
public Builder mergeTrino(ai.chalk.protos.chalk.graph.v1.TrinoSource value) {
if (trinoBuilder_ == null) {
if (sourceCase_ == 10 &&
source_ != ai.chalk.protos.chalk.graph.v1.TrinoSource.getDefaultInstance()) {
source_ = ai.chalk.protos.chalk.graph.v1.TrinoSource.newBuilder((ai.chalk.protos.chalk.graph.v1.TrinoSource) source_)
.mergeFrom(value).buildPartial();
} else {
source_ = value;
}
onChanged();
} else {
if (sourceCase_ == 10) {
trinoBuilder_.mergeFrom(value);
} else {
trinoBuilder_.setMessage(value);
}
}
sourceCase_ = 10;
return this;
}
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
*/
public Builder clearTrino() {
if (trinoBuilder_ == null) {
if (sourceCase_ == 10) {
sourceCase_ = 0;
source_ = null;
onChanged();
}
} else {
if (sourceCase_ == 10) {
sourceCase_ = 0;
source_ = null;
}
trinoBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.TrinoSource.Builder getTrinoBuilder() {
return getTrinoFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.TrinoSourceOrBuilder getTrinoOrBuilder() {
if ((sourceCase_ == 10) && (trinoBuilder_ != null)) {
return trinoBuilder_.getMessageOrBuilder();
} else {
if (sourceCase_ == 10) {
return (ai.chalk.protos.chalk.graph.v1.TrinoSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.TrinoSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.TrinoSource, ai.chalk.protos.chalk.graph.v1.TrinoSource.Builder, ai.chalk.protos.chalk.graph.v1.TrinoSourceOrBuilder>
getTrinoFieldBuilder() {
if (trinoBuilder_ == null) {
if (!(sourceCase_ == 10)) {
source_ = ai.chalk.protos.chalk.graph.v1.TrinoSource.getDefaultInstance();
}
trinoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.TrinoSource, ai.chalk.protos.chalk.graph.v1.TrinoSource.Builder, ai.chalk.protos.chalk.graph.v1.TrinoSourceOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.TrinoSource) source_,
getParentForChildren(),
isClean());
source_ = null;
}
sourceCase_ = 10;
onChanged();
return trinoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DynamoDBSource, ai.chalk.protos.chalk.graph.v1.DynamoDBSource.Builder, ai.chalk.protos.chalk.graph.v1.DynamoDBSourceOrBuilder> dynamodbBuilder_;
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
* @return Whether the dynamodb field is set.
*/
@java.lang.Override
public boolean hasDynamodb() {
return sourceCase_ == 11;
}
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
* @return The dynamodb.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DynamoDBSource getDynamodb() {
if (dynamodbBuilder_ == null) {
if (sourceCase_ == 11) {
return (ai.chalk.protos.chalk.graph.v1.DynamoDBSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.DynamoDBSource.getDefaultInstance();
} else {
if (sourceCase_ == 11) {
return dynamodbBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.DynamoDBSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
*/
public Builder setDynamodb(ai.chalk.protos.chalk.graph.v1.DynamoDBSource value) {
if (dynamodbBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
} else {
dynamodbBuilder_.setMessage(value);
}
sourceCase_ = 11;
return this;
}
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
*/
public Builder setDynamodb(
ai.chalk.protos.chalk.graph.v1.DynamoDBSource.Builder builderForValue) {
if (dynamodbBuilder_ == null) {
source_ = builderForValue.build();
onChanged();
} else {
dynamodbBuilder_.setMessage(builderForValue.build());
}
sourceCase_ = 11;
return this;
}
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
*/
public Builder mergeDynamodb(ai.chalk.protos.chalk.graph.v1.DynamoDBSource value) {
if (dynamodbBuilder_ == null) {
if (sourceCase_ == 11 &&
source_ != ai.chalk.protos.chalk.graph.v1.DynamoDBSource.getDefaultInstance()) {
source_ = ai.chalk.protos.chalk.graph.v1.DynamoDBSource.newBuilder((ai.chalk.protos.chalk.graph.v1.DynamoDBSource) source_)
.mergeFrom(value).buildPartial();
} else {
source_ = value;
}
onChanged();
} else {
if (sourceCase_ == 11) {
dynamodbBuilder_.mergeFrom(value);
} else {
dynamodbBuilder_.setMessage(value);
}
}
sourceCase_ = 11;
return this;
}
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
*/
public Builder clearDynamodb() {
if (dynamodbBuilder_ == null) {
if (sourceCase_ == 11) {
sourceCase_ = 0;
source_ = null;
onChanged();
}
} else {
if (sourceCase_ == 11) {
sourceCase_ = 0;
source_ = null;
}
dynamodbBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DynamoDBSource.Builder getDynamodbBuilder() {
return getDynamodbFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DynamoDBSourceOrBuilder getDynamodbOrBuilder() {
if ((sourceCase_ == 11) && (dynamodbBuilder_ != null)) {
return dynamodbBuilder_.getMessageOrBuilder();
} else {
if (sourceCase_ == 11) {
return (ai.chalk.protos.chalk.graph.v1.DynamoDBSource) source_;
}
return ai.chalk.protos.chalk.graph.v1.DynamoDBSource.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DynamoDBSource, ai.chalk.protos.chalk.graph.v1.DynamoDBSource.Builder, ai.chalk.protos.chalk.graph.v1.DynamoDBSourceOrBuilder>
getDynamodbFieldBuilder() {
if (dynamodbBuilder_ == null) {
if (!(sourceCase_ == 11)) {
source_ = ai.chalk.protos.chalk.graph.v1.DynamoDBSource.getDefaultInstance();
}
dynamodbBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DynamoDBSource, ai.chalk.protos.chalk.graph.v1.DynamoDBSource.Builder, ai.chalk.protos.chalk.graph.v1.DynamoDBSourceOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.DynamoDBSource) source_,
getParentForChildren(),
isClean());
source_ = null;
}
sourceCase_ = 11;
onChanged();
return dynamodbBuilder_;
}
@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.graph.v1.DatabaseSource)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.DatabaseSource)
private static final ai.chalk.protos.chalk.graph.v1.DatabaseSource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.DatabaseSource();
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DatabaseSource>
PARSER = new com.google.protobuf.AbstractParser<DatabaseSource>() {
@java.lang.Override
public DatabaseSource 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<DatabaseSource> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DatabaseSource> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/DatabaseSourceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface DatabaseSourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.DatabaseSource)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
* @return Whether the bigquery field is set.
*/
boolean hasBigquery();
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
* @return The bigquery.
*/
ai.chalk.protos.chalk.graph.v1.BigQuerySource getBigquery();
/**
* <code>.chalk.graph.v1.BigQuerySource bigquery = 1 [json_name = "bigquery"];</code>
*/
ai.chalk.protos.chalk.graph.v1.BigQuerySourceOrBuilder getBigqueryOrBuilder();
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
* @return Whether the cloudsql field is set.
*/
boolean hasCloudsql();
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
* @return The cloudsql.
*/
ai.chalk.protos.chalk.graph.v1.CloudSQLSource getCloudsql();
/**
* <code>.chalk.graph.v1.CloudSQLSource cloudsql = 2 [json_name = "cloudsql"];</code>
*/
ai.chalk.protos.chalk.graph.v1.CloudSQLSourceOrBuilder getCloudsqlOrBuilder();
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
* @return Whether the databricks field is set.
*/
boolean hasDatabricks();
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
* @return The databricks.
*/
ai.chalk.protos.chalk.graph.v1.DatabricksSource getDatabricks();
/**
* <code>.chalk.graph.v1.DatabricksSource databricks = 3 [json_name = "databricks"];</code>
*/
ai.chalk.protos.chalk.graph.v1.DatabricksSourceOrBuilder getDatabricksOrBuilder();
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
* @return Whether the mysql field is set.
*/
boolean hasMysql();
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
* @return The mysql.
*/
ai.chalk.protos.chalk.graph.v1.MySQLSource getMysql();
/**
* <code>.chalk.graph.v1.MySQLSource mysql = 4 [json_name = "mysql"];</code>
*/
ai.chalk.protos.chalk.graph.v1.MySQLSourceOrBuilder getMysqlOrBuilder();
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
* @return Whether the postgres field is set.
*/
boolean hasPostgres();
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
* @return The postgres.
*/
ai.chalk.protos.chalk.graph.v1.PostgresSource getPostgres();
/**
* <code>.chalk.graph.v1.PostgresSource postgres = 5 [json_name = "postgres"];</code>
*/
ai.chalk.protos.chalk.graph.v1.PostgresSourceOrBuilder getPostgresOrBuilder();
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
* @return Whether the redshift field is set.
*/
boolean hasRedshift();
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
* @return The redshift.
*/
ai.chalk.protos.chalk.graph.v1.RedshiftSource getRedshift();
/**
* <code>.chalk.graph.v1.RedshiftSource redshift = 6 [json_name = "redshift"];</code>
*/
ai.chalk.protos.chalk.graph.v1.RedshiftSourceOrBuilder getRedshiftOrBuilder();
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
* @return Whether the snowflake field is set.
*/
boolean hasSnowflake();
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
* @return The snowflake.
*/
ai.chalk.protos.chalk.graph.v1.SnowflakeSource getSnowflake();
/**
* <code>.chalk.graph.v1.SnowflakeSource snowflake = 7 [json_name = "snowflake"];</code>
*/
ai.chalk.protos.chalk.graph.v1.SnowflakeSourceOrBuilder getSnowflakeOrBuilder();
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
* @return Whether the sqlite field is set.
*/
boolean hasSqlite();
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
* @return The sqlite.
*/
ai.chalk.protos.chalk.graph.v1.SQLiteSource getSqlite();
/**
* <code>.chalk.graph.v1.SQLiteSource sqlite = 8 [json_name = "sqlite"];</code>
*/
ai.chalk.protos.chalk.graph.v1.SQLiteSourceOrBuilder getSqliteOrBuilder();
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
* @return Whether the spanner field is set.
*/
boolean hasSpanner();
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
* @return The spanner.
*/
ai.chalk.protos.chalk.graph.v1.SpannerSource getSpanner();
/**
* <code>.chalk.graph.v1.SpannerSource spanner = 9 [json_name = "spanner"];</code>
*/
ai.chalk.protos.chalk.graph.v1.SpannerSourceOrBuilder getSpannerOrBuilder();
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
* @return Whether the trino field is set.
*/
boolean hasTrino();
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
* @return The trino.
*/
ai.chalk.protos.chalk.graph.v1.TrinoSource getTrino();
/**
* <code>.chalk.graph.v1.TrinoSource trino = 10 [json_name = "trino"];</code>
*/
ai.chalk.protos.chalk.graph.v1.TrinoSourceOrBuilder getTrinoOrBuilder();
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
* @return Whether the dynamodb field is set.
*/
boolean hasDynamodb();
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
* @return The dynamodb.
*/
ai.chalk.protos.chalk.graph.v1.DynamoDBSource getDynamodb();
/**
* <code>.chalk.graph.v1.DynamoDBSource dynamodb = 11 [json_name = "dynamodb"];</code>
*/
ai.chalk.protos.chalk.graph.v1.DynamoDBSourceOrBuilder getDynamodbOrBuilder();
ai.chalk.protos.chalk.graph.v1.DatabaseSource.SourceCase getSourceCase();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/DatabaseSourceReference.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.DatabaseSourceReference}
*/
public final class DatabaseSourceReference extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.DatabaseSourceReference)
DatabaseSourceReferenceOrBuilder {
private static final long serialVersionUID = 0L;
// Use DatabaseSourceReference.newBuilder() to construct.
private DatabaseSourceReference(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DatabaseSourceReference() {
type_ = 0;
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DatabaseSourceReference();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabaseSourceReference_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabaseSourceReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.class, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.Builder.class);
}
public static final int TYPE_FIELD_NUMBER = 1;
private int type_ = 0;
/**
* <code>.chalk.graph.v1.DatabaseSourceType type = 1 [json_name = "type"];</code>
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* <code>.chalk.graph.v1.DatabaseSourceType type = 1 [json_name = "type"];</code>
* @return The type.
*/
@java.lang.Override public ai.chalk.protos.chalk.graph.v1.DatabaseSourceType getType() {
ai.chalk.protos.chalk.graph.v1.DatabaseSourceType result = ai.chalk.protos.chalk.graph.v1.DatabaseSourceType.forNumber(type_);
return result == null ? ai.chalk.protos.chalk.graph.v1.DatabaseSourceType.UNRECOGNIZED : result;
}
public static final int NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 2 [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 = 2 [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 (type_ != ai.chalk.protos.chalk.graph.v1.DatabaseSourceType.DATABASE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
output.writeEnum(1, type_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (type_ != ai.chalk.protos.chalk.graph.v1.DatabaseSourceType.DATABASE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, type_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, 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.graph.v1.DatabaseSourceReference)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference other = (ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference) obj;
if (type_ != other.type_) return false;
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) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
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.graph.v1.DatabaseSourceReference parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference 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.graph.v1.DatabaseSourceReference parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference 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.graph.v1.DatabaseSourceReference parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference 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.graph.v1.DatabaseSourceReference parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference 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.graph.v1.DatabaseSourceReference parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference 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.graph.v1.DatabaseSourceReference 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.graph.v1.DatabaseSourceReference}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.DatabaseSourceReference)
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReferenceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabaseSourceReference_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabaseSourceReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.class, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
type_ = 0;
name_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabaseSourceReference_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference build() {
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference buildPartial() {
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference result = new ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.type_ = type_;
}
if (((from_bitField0_ & 0x00000002) != 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.graph.v1.DatabaseSourceReference) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference other) {
if (other == ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.getDefaultInstance()) return this;
if (other.type_ != 0) {
setTypeValue(other.getTypeValue());
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
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 8: {
type_ = input.readEnum();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
name_ = 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 int type_ = 0;
/**
* <code>.chalk.graph.v1.DatabaseSourceType type = 1 [json_name = "type"];</code>
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* <code>.chalk.graph.v1.DatabaseSourceType type = 1 [json_name = "type"];</code>
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.DatabaseSourceType type = 1 [json_name = "type"];</code>
* @return The type.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceType getType() {
ai.chalk.protos.chalk.graph.v1.DatabaseSourceType result = ai.chalk.protos.chalk.graph.v1.DatabaseSourceType.forNumber(type_);
return result == null ? ai.chalk.protos.chalk.graph.v1.DatabaseSourceType.UNRECOGNIZED : result;
}
/**
* <code>.chalk.graph.v1.DatabaseSourceType type = 1 [json_name = "type"];</code>
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(ai.chalk.protos.chalk.graph.v1.DatabaseSourceType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.DatabaseSourceType type = 1 [json_name = "type"];</code>
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 0;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* <code>string name = 2 [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 = 2 [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 = 2 [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_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>string name = 2 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>string name = 2 [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_ |= 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.graph.v1.DatabaseSourceReference)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.DatabaseSourceReference)
private static final ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference();
}
public static ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DatabaseSourceReference>
PARSER = new com.google.protobuf.AbstractParser<DatabaseSourceReference>() {
@java.lang.Override
public DatabaseSourceReference 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<DatabaseSourceReference> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DatabaseSourceReference> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/DatabaseSourceReferenceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface DatabaseSourceReferenceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.DatabaseSourceReference)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.graph.v1.DatabaseSourceType type = 1 [json_name = "type"];</code>
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* <code>.chalk.graph.v1.DatabaseSourceType type = 1 [json_name = "type"];</code>
* @return The type.
*/
ai.chalk.protos.chalk.graph.v1.DatabaseSourceType getType();
/**
* <code>string name = 2 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 2 [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/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/DatabaseSourceType.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf enum {@code chalk.graph.v1.DatabaseSourceType}
*/
public enum DatabaseSourceType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>DATABASE_SOURCE_TYPE_UNSPECIFIED = 0;</code>
*/
DATABASE_SOURCE_TYPE_UNSPECIFIED(0),
/**
* <code>DATABASE_SOURCE_TYPE_BIGQUERY = 1;</code>
*/
DATABASE_SOURCE_TYPE_BIGQUERY(1),
/**
* <code>DATABASE_SOURCE_TYPE_CLOUDSQL = 2;</code>
*/
DATABASE_SOURCE_TYPE_CLOUDSQL(2),
/**
* <code>DATABASE_SOURCE_TYPE_DATABRICKS = 3;</code>
*/
DATABASE_SOURCE_TYPE_DATABRICKS(3),
/**
* <code>DATABASE_SOURCE_TYPE_MYSQL = 4;</code>
*/
DATABASE_SOURCE_TYPE_MYSQL(4),
/**
* <code>DATABASE_SOURCE_TYPE_POSTGRES = 5;</code>
*/
DATABASE_SOURCE_TYPE_POSTGRES(5),
/**
* <code>DATABASE_SOURCE_TYPE_REDSHIFT = 6;</code>
*/
DATABASE_SOURCE_TYPE_REDSHIFT(6),
/**
* <code>DATABASE_SOURCE_TYPE_SNOWFLAKE = 7;</code>
*/
DATABASE_SOURCE_TYPE_SNOWFLAKE(7),
/**
* <code>DATABASE_SOURCE_TYPE_SQLITE = 8;</code>
*/
DATABASE_SOURCE_TYPE_SQLITE(8),
/**
* <code>DATABASE_SOURCE_TYPE_SPANNER = 9;</code>
*/
DATABASE_SOURCE_TYPE_SPANNER(9),
/**
* <code>DATABASE_SOURCE_TYPE_TRINO = 10;</code>
*/
DATABASE_SOURCE_TYPE_TRINO(10),
/**
* <code>DATABASE_SOURCE_TYPE_DYNAMODB = 11;</code>
*/
DATABASE_SOURCE_TYPE_DYNAMODB(11),
UNRECOGNIZED(-1),
;
/**
* <code>DATABASE_SOURCE_TYPE_UNSPECIFIED = 0;</code>
*/
public static final int DATABASE_SOURCE_TYPE_UNSPECIFIED_VALUE = 0;
/**
* <code>DATABASE_SOURCE_TYPE_BIGQUERY = 1;</code>
*/
public static final int DATABASE_SOURCE_TYPE_BIGQUERY_VALUE = 1;
/**
* <code>DATABASE_SOURCE_TYPE_CLOUDSQL = 2;</code>
*/
public static final int DATABASE_SOURCE_TYPE_CLOUDSQL_VALUE = 2;
/**
* <code>DATABASE_SOURCE_TYPE_DATABRICKS = 3;</code>
*/
public static final int DATABASE_SOURCE_TYPE_DATABRICKS_VALUE = 3;
/**
* <code>DATABASE_SOURCE_TYPE_MYSQL = 4;</code>
*/
public static final int DATABASE_SOURCE_TYPE_MYSQL_VALUE = 4;
/**
* <code>DATABASE_SOURCE_TYPE_POSTGRES = 5;</code>
*/
public static final int DATABASE_SOURCE_TYPE_POSTGRES_VALUE = 5;
/**
* <code>DATABASE_SOURCE_TYPE_REDSHIFT = 6;</code>
*/
public static final int DATABASE_SOURCE_TYPE_REDSHIFT_VALUE = 6;
/**
* <code>DATABASE_SOURCE_TYPE_SNOWFLAKE = 7;</code>
*/
public static final int DATABASE_SOURCE_TYPE_SNOWFLAKE_VALUE = 7;
/**
* <code>DATABASE_SOURCE_TYPE_SQLITE = 8;</code>
*/
public static final int DATABASE_SOURCE_TYPE_SQLITE_VALUE = 8;
/**
* <code>DATABASE_SOURCE_TYPE_SPANNER = 9;</code>
*/
public static final int DATABASE_SOURCE_TYPE_SPANNER_VALUE = 9;
/**
* <code>DATABASE_SOURCE_TYPE_TRINO = 10;</code>
*/
public static final int DATABASE_SOURCE_TYPE_TRINO_VALUE = 10;
/**
* <code>DATABASE_SOURCE_TYPE_DYNAMODB = 11;</code>
*/
public static final int DATABASE_SOURCE_TYPE_DYNAMODB_VALUE = 11;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DatabaseSourceType 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 DatabaseSourceType forNumber(int value) {
switch (value) {
case 0: return DATABASE_SOURCE_TYPE_UNSPECIFIED;
case 1: return DATABASE_SOURCE_TYPE_BIGQUERY;
case 2: return DATABASE_SOURCE_TYPE_CLOUDSQL;
case 3: return DATABASE_SOURCE_TYPE_DATABRICKS;
case 4: return DATABASE_SOURCE_TYPE_MYSQL;
case 5: return DATABASE_SOURCE_TYPE_POSTGRES;
case 6: return DATABASE_SOURCE_TYPE_REDSHIFT;
case 7: return DATABASE_SOURCE_TYPE_SNOWFLAKE;
case 8: return DATABASE_SOURCE_TYPE_SQLITE;
case 9: return DATABASE_SOURCE_TYPE_SPANNER;
case 10: return DATABASE_SOURCE_TYPE_TRINO;
case 11: return DATABASE_SOURCE_TYPE_DYNAMODB;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<DatabaseSourceType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
DatabaseSourceType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<DatabaseSourceType>() {
public DatabaseSourceType findValueByNumber(int number) {
return DatabaseSourceType.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.graph.v1.SourcesProto.getDescriptor().getEnumTypes().get(1);
}
private static final DatabaseSourceType[] VALUES = values();
public static DatabaseSourceType 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 DatabaseSourceType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:chalk.graph.v1.DatabaseSourceType)
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/DatabricksSource.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.DatabricksSource}
*/
public final class DatabricksSource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.DatabricksSource)
DatabricksSourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use DatabricksSource.newBuilder() to construct.
private DatabricksSource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DatabricksSource() {
name_ = "";
host_ = "";
port_ = "";
db_ = "";
httpPath_ = "";
accessToken_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DatabricksSource();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabricksSource_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 7:
return internalGetEngineArgs();
case 8:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabricksSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.DatabricksSource.class, ai.chalk.protos.chalk.graph.v1.DatabricksSource.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;
}
}
public static final int HOST_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object host_ = "";
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The host.
*/
@java.lang.Override
public java.lang.String getHost() {
java.lang.Object ref = host_;
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();
host_ = s;
return s;
}
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The bytes for host.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PORT_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object port_ = "";
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The port.
*/
@java.lang.Override
public java.lang.String getPort() {
java.lang.Object ref = port_;
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();
port_ = s;
return s;
}
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The bytes for port.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPortBytes() {
java.lang.Object ref = port_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
port_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object db_ = "";
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The db.
*/
@java.lang.Override
public java.lang.String getDb() {
java.lang.Object ref = db_;
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();
db_ = s;
return s;
}
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The bytes for db.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDbBytes() {
java.lang.Object ref = db_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
db_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HTTP_PATH_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object httpPath_ = "";
/**
* <code>string http_path = 5 [json_name = "httpPath"];</code>
* @return The httpPath.
*/
@java.lang.Override
public java.lang.String getHttpPath() {
java.lang.Object ref = httpPath_;
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();
httpPath_ = s;
return s;
}
}
/**
* <code>string http_path = 5 [json_name = "httpPath"];</code>
* @return The bytes for httpPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHttpPathBytes() {
java.lang.Object ref = httpPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
httpPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACCESS_TOKEN_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object accessToken_ = "";
/**
* <code>string access_token = 6 [json_name = "accessToken"];</code>
* @return The accessToken.
*/
@java.lang.Override
public java.lang.String getAccessToken() {
java.lang.Object ref = accessToken_;
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();
accessToken_ = s;
return s;
}
}
/**
* <code>string access_token = 6 [json_name = "accessToken"];</code>
* @return The bytes for accessToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccessTokenBytes() {
java.lang.Object ref = accessToken_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accessToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENGINE_ARGS_FIELD_NUMBER = 7;
private static final class EngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabricksSource_EngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> engineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
EngineArgsDefaultEntryHolder.defaultEntry);
}
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int ASYNC_ENGINE_ARGS_FIELD_NUMBER = 8;
private static final class AsyncEngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabricksSource_AsyncEngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> asyncEngineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, host_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(port_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, port_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(db_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, db_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(httpPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, httpPath_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, accessToken_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetEngineArgs(),
EngineArgsDefaultEntryHolder.defaultEntry,
7);
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetAsyncEngineArgs(),
AsyncEngineArgsDefaultEntryHolder.defaultEntry,
8);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, host_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(port_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, port_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(db_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, db_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(httpPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, httpPath_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, accessToken_);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = EngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, engineArgs__);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetAsyncEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = AsyncEngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, asyncEngineArgs__);
}
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.graph.v1.DatabricksSource)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.DatabricksSource other = (ai.chalk.protos.chalk.graph.v1.DatabricksSource) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getHost()
.equals(other.getHost())) return false;
if (!getPort()
.equals(other.getPort())) return false;
if (!getDb()
.equals(other.getDb())) return false;
if (!getHttpPath()
.equals(other.getHttpPath())) return false;
if (!getAccessToken()
.equals(other.getAccessToken())) return false;
if (!internalGetEngineArgs().equals(
other.internalGetEngineArgs())) return false;
if (!internalGetAsyncEngineArgs().equals(
other.internalGetAsyncEngineArgs())) 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 = (37 * hash) + HOST_FIELD_NUMBER;
hash = (53 * hash) + getHost().hashCode();
hash = (37 * hash) + PORT_FIELD_NUMBER;
hash = (53 * hash) + getPort().hashCode();
hash = (37 * hash) + DB_FIELD_NUMBER;
hash = (53 * hash) + getDb().hashCode();
hash = (37 * hash) + HTTP_PATH_FIELD_NUMBER;
hash = (53 * hash) + getHttpPath().hashCode();
hash = (37 * hash) + ACCESS_TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getAccessToken().hashCode();
if (!internalGetEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetEngineArgs().hashCode();
}
if (!internalGetAsyncEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ASYNC_ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetAsyncEngineArgs().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.DatabricksSource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DatabricksSource 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.graph.v1.DatabricksSource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DatabricksSource 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.graph.v1.DatabricksSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DatabricksSource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.DatabricksSource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DatabricksSource 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.graph.v1.DatabricksSource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DatabricksSource 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.graph.v1.DatabricksSource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DatabricksSource 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.graph.v1.DatabricksSource 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.graph.v1.DatabricksSource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.DatabricksSource)
ai.chalk.protos.chalk.graph.v1.DatabricksSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabricksSource_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 7:
return internalGetEngineArgs();
case 8:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
int number) {
switch (number) {
case 7:
return internalGetMutableEngineArgs();
case 8:
return internalGetMutableAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabricksSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.DatabricksSource.class, ai.chalk.protos.chalk.graph.v1.DatabricksSource.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.DatabricksSource.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
host_ = "";
port_ = "";
db_ = "";
httpPath_ = "";
accessToken_ = "";
internalGetMutableEngineArgs().clear();
internalGetMutableAsyncEngineArgs().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DatabricksSource_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabricksSource getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.DatabricksSource.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabricksSource build() {
ai.chalk.protos.chalk.graph.v1.DatabricksSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabricksSource buildPartial() {
ai.chalk.protos.chalk.graph.v1.DatabricksSource result = new ai.chalk.protos.chalk.graph.v1.DatabricksSource(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.DatabricksSource result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.host_ = host_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.port_ = port_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.db_ = db_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.httpPath_ = httpPath_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.accessToken_ = accessToken_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.engineArgs_ = internalGetEngineArgs().build(EngineArgsDefaultEntryHolder.defaultEntry);
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.asyncEngineArgs_ = internalGetAsyncEngineArgs().build(AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
}
@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.graph.v1.DatabricksSource) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.DatabricksSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.DatabricksSource other) {
if (other == ai.chalk.protos.chalk.graph.v1.DatabricksSource.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getHost().isEmpty()) {
host_ = other.host_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getPort().isEmpty()) {
port_ = other.port_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getDb().isEmpty()) {
db_ = other.db_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getHttpPath().isEmpty()) {
httpPath_ = other.httpPath_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getAccessToken().isEmpty()) {
accessToken_ = other.accessToken_;
bitField0_ |= 0x00000020;
onChanged();
}
internalGetMutableEngineArgs().mergeFrom(
other.internalGetEngineArgs());
bitField0_ |= 0x00000040;
internalGetMutableAsyncEngineArgs().mergeFrom(
other.internalGetAsyncEngineArgs());
bitField0_ |= 0x00000080;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
host_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
port_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
db_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
httpPath_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
accessToken_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = input.readMessage(
EngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableEngineArgs().ensureBuilderMap().put(
engineArgs__.getKey(), engineArgs__.getValue());
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = input.readMessage(
AsyncEngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableAsyncEngineArgs().ensureBuilderMap().put(
asyncEngineArgs__.getKey(), asyncEngineArgs__.getValue());
bitField0_ |= 0x00000080;
break;
} // case 66
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object host_ = "";
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The host.
*/
public java.lang.String getHost() {
java.lang.Object ref = host_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
host_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The bytes for host.
*/
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @param value The host to set.
* @return This builder for chaining.
*/
public Builder setHost(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
host_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return This builder for chaining.
*/
public Builder clearHost() {
host_ = getDefaultInstance().getHost();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @param value The bytes for host to set.
* @return This builder for chaining.
*/
public Builder setHostBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
host_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object port_ = "";
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The port.
*/
public java.lang.String getPort() {
java.lang.Object ref = port_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
port_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The bytes for port.
*/
public com.google.protobuf.ByteString
getPortBytes() {
java.lang.Object ref = port_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
port_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @param value The port to set.
* @return This builder for chaining.
*/
public Builder setPort(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
port_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return This builder for chaining.
*/
public Builder clearPort() {
port_ = getDefaultInstance().getPort();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @param value The bytes for port to set.
* @return This builder for chaining.
*/
public Builder setPortBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
port_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object db_ = "";
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The db.
*/
public java.lang.String getDb() {
java.lang.Object ref = db_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
db_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The bytes for db.
*/
public com.google.protobuf.ByteString
getDbBytes() {
java.lang.Object ref = db_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
db_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @param value The db to set.
* @return This builder for chaining.
*/
public Builder setDb(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
db_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return This builder for chaining.
*/
public Builder clearDb() {
db_ = getDefaultInstance().getDb();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @param value The bytes for db to set.
* @return This builder for chaining.
*/
public Builder setDbBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
db_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object httpPath_ = "";
/**
* <code>string http_path = 5 [json_name = "httpPath"];</code>
* @return The httpPath.
*/
public java.lang.String getHttpPath() {
java.lang.Object ref = httpPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
httpPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string http_path = 5 [json_name = "httpPath"];</code>
* @return The bytes for httpPath.
*/
public com.google.protobuf.ByteString
getHttpPathBytes() {
java.lang.Object ref = httpPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
httpPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string http_path = 5 [json_name = "httpPath"];</code>
* @param value The httpPath to set.
* @return This builder for chaining.
*/
public Builder setHttpPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
httpPath_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>string http_path = 5 [json_name = "httpPath"];</code>
* @return This builder for chaining.
*/
public Builder clearHttpPath() {
httpPath_ = getDefaultInstance().getHttpPath();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>string http_path = 5 [json_name = "httpPath"];</code>
* @param value The bytes for httpPath to set.
* @return This builder for chaining.
*/
public Builder setHttpPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
httpPath_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object accessToken_ = "";
/**
* <code>string access_token = 6 [json_name = "accessToken"];</code>
* @return The accessToken.
*/
public java.lang.String getAccessToken() {
java.lang.Object ref = accessToken_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accessToken_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string access_token = 6 [json_name = "accessToken"];</code>
* @return The bytes for accessToken.
*/
public com.google.protobuf.ByteString
getAccessTokenBytes() {
java.lang.Object ref = accessToken_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accessToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string access_token = 6 [json_name = "accessToken"];</code>
* @param value The accessToken to set.
* @return This builder for chaining.
*/
public Builder setAccessToken(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
accessToken_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>string access_token = 6 [json_name = "accessToken"];</code>
* @return This builder for chaining.
*/
public Builder clearAccessToken() {
accessToken_ = getDefaultInstance().getAccessToken();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <code>string access_token = 6 [json_name = "accessToken"];</code>
* @param value The bytes for accessToken to set.
* @return This builder for chaining.
*/
public Builder setAccessTokenBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
accessToken_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private static final class EngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return EngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final EngineArgsConverter engineArgsConverter = new EngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> engineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
return engineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableEngineArgs() {
if (engineArgs_ == null) {
engineArgs_ = new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
bitField0_ |= 0x00000040;
onChanged();
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? engineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return engineArgsConverter.build(map.get(key));
}
public Builder clearEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000040);
internalGetMutableEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public Builder removeEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableEngineArgs().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.ScalarValue>
getMutableEngineArgs() {
bitField0_ |= 0x00000040;
return internalGetMutableEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public Builder putEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public Builder putAllEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) entry;
}
private static final class AsyncEngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return AsyncEngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final AsyncEngineArgsConverter asyncEngineArgsConverter = new AsyncEngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> asyncEngineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
return asyncEngineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
asyncEngineArgs_ = new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
bitField0_ |= 0x00000080;
onChanged();
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? asyncEngineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return asyncEngineArgsConverter.build(map.get(key));
}
public Builder clearAsyncEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000080);
internalGetMutableAsyncEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public Builder removeAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableAsyncEngineArgs().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.ScalarValue>
getMutableAsyncEngineArgs() {
bitField0_ |= 0x00000080;
return internalGetMutableAsyncEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAsyncEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000080;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAllAsyncEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000080;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putAsyncEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.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.graph.v1.DatabricksSource)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.DatabricksSource)
private static final ai.chalk.protos.chalk.graph.v1.DatabricksSource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.DatabricksSource();
}
public static ai.chalk.protos.chalk.graph.v1.DatabricksSource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DatabricksSource>
PARSER = new com.google.protobuf.AbstractParser<DatabricksSource>() {
@java.lang.Override
public DatabricksSource 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<DatabricksSource> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DatabricksSource> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabricksSource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/DatabricksSourceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface DatabricksSourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.DatabricksSource)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The host.
*/
java.lang.String getHost();
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The bytes for host.
*/
com.google.protobuf.ByteString
getHostBytes();
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The port.
*/
java.lang.String getPort();
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The bytes for port.
*/
com.google.protobuf.ByteString
getPortBytes();
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The db.
*/
java.lang.String getDb();
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The bytes for db.
*/
com.google.protobuf.ByteString
getDbBytes();
/**
* <code>string http_path = 5 [json_name = "httpPath"];</code>
* @return The httpPath.
*/
java.lang.String getHttpPath();
/**
* <code>string http_path = 5 [json_name = "httpPath"];</code>
* @return The bytes for httpPath.
*/
com.google.protobuf.ByteString
getHttpPathBytes();
/**
* <code>string access_token = 6 [json_name = "accessToken"];</code>
* @return The accessToken.
*/
java.lang.String getAccessToken();
/**
* <code>string access_token = 6 [json_name = "accessToken"];</code>
* @return The bytes for accessToken.
*/
com.google.protobuf.ByteString
getAccessTokenBytes();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
int getEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
boolean containsEngineArgs(
java.lang.String key);
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
int getAsyncEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
boolean containsAsyncEngineArgs(
java.lang.String key);
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key);
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/DynamoDBSource.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.DynamoDBSource}
*/
public final class DynamoDBSource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.DynamoDBSource)
DynamoDBSourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use DynamoDBSource.newBuilder() to construct.
private DynamoDBSource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DynamoDBSource() {
name_ = "";
awsClientIdOverride_ = "";
awsClientSecretOverride_ = "";
awsRegionOverride_ = "";
endpointOverride_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DynamoDBSource();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DynamoDBSource_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 6:
return internalGetEngineArgs();
case 7:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DynamoDBSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.DynamoDBSource.class, ai.chalk.protos.chalk.graph.v1.DynamoDBSource.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AWS_CLIENT_ID_OVERRIDE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object awsClientIdOverride_ = "";
/**
* <code>optional string aws_client_id_override = 2 [json_name = "awsClientIdOverride"];</code>
* @return Whether the awsClientIdOverride field is set.
*/
@java.lang.Override
public boolean hasAwsClientIdOverride() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string aws_client_id_override = 2 [json_name = "awsClientIdOverride"];</code>
* @return The awsClientIdOverride.
*/
@java.lang.Override
public java.lang.String getAwsClientIdOverride() {
java.lang.Object ref = awsClientIdOverride_;
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();
awsClientIdOverride_ = s;
return s;
}
}
/**
* <code>optional string aws_client_id_override = 2 [json_name = "awsClientIdOverride"];</code>
* @return The bytes for awsClientIdOverride.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAwsClientIdOverrideBytes() {
java.lang.Object ref = awsClientIdOverride_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
awsClientIdOverride_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AWS_CLIENT_SECRET_OVERRIDE_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object awsClientSecretOverride_ = "";
/**
* <code>optional string aws_client_secret_override = 3 [json_name = "awsClientSecretOverride"];</code>
* @return Whether the awsClientSecretOverride field is set.
*/
@java.lang.Override
public boolean hasAwsClientSecretOverride() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string aws_client_secret_override = 3 [json_name = "awsClientSecretOverride"];</code>
* @return The awsClientSecretOverride.
*/
@java.lang.Override
public java.lang.String getAwsClientSecretOverride() {
java.lang.Object ref = awsClientSecretOverride_;
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();
awsClientSecretOverride_ = s;
return s;
}
}
/**
* <code>optional string aws_client_secret_override = 3 [json_name = "awsClientSecretOverride"];</code>
* @return The bytes for awsClientSecretOverride.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAwsClientSecretOverrideBytes() {
java.lang.Object ref = awsClientSecretOverride_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
awsClientSecretOverride_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AWS_REGION_OVERRIDE_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object awsRegionOverride_ = "";
/**
* <code>optional string aws_region_override = 4 [json_name = "awsRegionOverride"];</code>
* @return Whether the awsRegionOverride field is set.
*/
@java.lang.Override
public boolean hasAwsRegionOverride() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string aws_region_override = 4 [json_name = "awsRegionOverride"];</code>
* @return The awsRegionOverride.
*/
@java.lang.Override
public java.lang.String getAwsRegionOverride() {
java.lang.Object ref = awsRegionOverride_;
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();
awsRegionOverride_ = s;
return s;
}
}
/**
* <code>optional string aws_region_override = 4 [json_name = "awsRegionOverride"];</code>
* @return The bytes for awsRegionOverride.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAwsRegionOverrideBytes() {
java.lang.Object ref = awsRegionOverride_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
awsRegionOverride_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDPOINT_OVERRIDE_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object endpointOverride_ = "";
/**
* <code>optional string endpoint_override = 5 [json_name = "endpointOverride"];</code>
* @return Whether the endpointOverride field is set.
*/
@java.lang.Override
public boolean hasEndpointOverride() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string endpoint_override = 5 [json_name = "endpointOverride"];</code>
* @return The endpointOverride.
*/
@java.lang.Override
public java.lang.String getEndpointOverride() {
java.lang.Object ref = endpointOverride_;
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();
endpointOverride_ = s;
return s;
}
}
/**
* <code>optional string endpoint_override = 5 [json_name = "endpointOverride"];</code>
* @return The bytes for endpointOverride.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEndpointOverrideBytes() {
java.lang.Object ref = endpointOverride_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endpointOverride_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENGINE_ARGS_FIELD_NUMBER = 6;
private static final class EngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DynamoDBSource_EngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> engineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
EngineArgsDefaultEntryHolder.defaultEntry);
}
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int ASYNC_ENGINE_ARGS_FIELD_NUMBER = 7;
private static final class AsyncEngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DynamoDBSource_AsyncEngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> asyncEngineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, awsClientIdOverride_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, awsClientSecretOverride_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, awsRegionOverride_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, endpointOverride_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetEngineArgs(),
EngineArgsDefaultEntryHolder.defaultEntry,
6);
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetAsyncEngineArgs(),
AsyncEngineArgsDefaultEntryHolder.defaultEntry,
7);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, awsClientIdOverride_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, awsClientSecretOverride_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, awsRegionOverride_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, endpointOverride_);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = EngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, engineArgs__);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetAsyncEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = AsyncEngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, asyncEngineArgs__);
}
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.graph.v1.DynamoDBSource)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.DynamoDBSource other = (ai.chalk.protos.chalk.graph.v1.DynamoDBSource) obj;
if (!getName()
.equals(other.getName())) return false;
if (hasAwsClientIdOverride() != other.hasAwsClientIdOverride()) return false;
if (hasAwsClientIdOverride()) {
if (!getAwsClientIdOverride()
.equals(other.getAwsClientIdOverride())) return false;
}
if (hasAwsClientSecretOverride() != other.hasAwsClientSecretOverride()) return false;
if (hasAwsClientSecretOverride()) {
if (!getAwsClientSecretOverride()
.equals(other.getAwsClientSecretOverride())) return false;
}
if (hasAwsRegionOverride() != other.hasAwsRegionOverride()) return false;
if (hasAwsRegionOverride()) {
if (!getAwsRegionOverride()
.equals(other.getAwsRegionOverride())) return false;
}
if (hasEndpointOverride() != other.hasEndpointOverride()) return false;
if (hasEndpointOverride()) {
if (!getEndpointOverride()
.equals(other.getEndpointOverride())) return false;
}
if (!internalGetEngineArgs().equals(
other.internalGetEngineArgs())) return false;
if (!internalGetAsyncEngineArgs().equals(
other.internalGetAsyncEngineArgs())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (hasAwsClientIdOverride()) {
hash = (37 * hash) + AWS_CLIENT_ID_OVERRIDE_FIELD_NUMBER;
hash = (53 * hash) + getAwsClientIdOverride().hashCode();
}
if (hasAwsClientSecretOverride()) {
hash = (37 * hash) + AWS_CLIENT_SECRET_OVERRIDE_FIELD_NUMBER;
hash = (53 * hash) + getAwsClientSecretOverride().hashCode();
}
if (hasAwsRegionOverride()) {
hash = (37 * hash) + AWS_REGION_OVERRIDE_FIELD_NUMBER;
hash = (53 * hash) + getAwsRegionOverride().hashCode();
}
if (hasEndpointOverride()) {
hash = (37 * hash) + ENDPOINT_OVERRIDE_FIELD_NUMBER;
hash = (53 * hash) + getEndpointOverride().hashCode();
}
if (!internalGetEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetEngineArgs().hashCode();
}
if (!internalGetAsyncEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ASYNC_ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetAsyncEngineArgs().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.DynamoDBSource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DynamoDBSource 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.graph.v1.DynamoDBSource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DynamoDBSource 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.graph.v1.DynamoDBSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.DynamoDBSource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.DynamoDBSource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DynamoDBSource 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.graph.v1.DynamoDBSource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DynamoDBSource 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.graph.v1.DynamoDBSource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.DynamoDBSource 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.graph.v1.DynamoDBSource 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.graph.v1.DynamoDBSource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.DynamoDBSource)
ai.chalk.protos.chalk.graph.v1.DynamoDBSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DynamoDBSource_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 6:
return internalGetEngineArgs();
case 7:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
int number) {
switch (number) {
case 6:
return internalGetMutableEngineArgs();
case 7:
return internalGetMutableAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DynamoDBSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.DynamoDBSource.class, ai.chalk.protos.chalk.graph.v1.DynamoDBSource.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.DynamoDBSource.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
awsClientIdOverride_ = "";
awsClientSecretOverride_ = "";
awsRegionOverride_ = "";
endpointOverride_ = "";
internalGetMutableEngineArgs().clear();
internalGetMutableAsyncEngineArgs().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_DynamoDBSource_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DynamoDBSource getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.DynamoDBSource.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DynamoDBSource build() {
ai.chalk.protos.chalk.graph.v1.DynamoDBSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DynamoDBSource buildPartial() {
ai.chalk.protos.chalk.graph.v1.DynamoDBSource result = new ai.chalk.protos.chalk.graph.v1.DynamoDBSource(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.DynamoDBSource result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.awsClientIdOverride_ = awsClientIdOverride_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.awsClientSecretOverride_ = awsClientSecretOverride_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.awsRegionOverride_ = awsRegionOverride_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.endpointOverride_ = endpointOverride_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.engineArgs_ = internalGetEngineArgs().build(EngineArgsDefaultEntryHolder.defaultEntry);
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.asyncEngineArgs_ = internalGetAsyncEngineArgs().build(AsyncEngineArgsDefaultEntryHolder.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.graph.v1.DynamoDBSource) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.DynamoDBSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.DynamoDBSource other) {
if (other == ai.chalk.protos.chalk.graph.v1.DynamoDBSource.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasAwsClientIdOverride()) {
awsClientIdOverride_ = other.awsClientIdOverride_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasAwsClientSecretOverride()) {
awsClientSecretOverride_ = other.awsClientSecretOverride_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasAwsRegionOverride()) {
awsRegionOverride_ = other.awsRegionOverride_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasEndpointOverride()) {
endpointOverride_ = other.endpointOverride_;
bitField0_ |= 0x00000010;
onChanged();
}
internalGetMutableEngineArgs().mergeFrom(
other.internalGetEngineArgs());
bitField0_ |= 0x00000020;
internalGetMutableAsyncEngineArgs().mergeFrom(
other.internalGetAsyncEngineArgs());
bitField0_ |= 0x00000040;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
awsClientIdOverride_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
awsClientSecretOverride_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
awsRegionOverride_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
endpointOverride_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = input.readMessage(
EngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableEngineArgs().ensureBuilderMap().put(
engineArgs__.getKey(), engineArgs__.getValue());
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = input.readMessage(
AsyncEngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableAsyncEngineArgs().ensureBuilderMap().put(
asyncEngineArgs__.getKey(), asyncEngineArgs__.getValue());
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 name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object awsClientIdOverride_ = "";
/**
* <code>optional string aws_client_id_override = 2 [json_name = "awsClientIdOverride"];</code>
* @return Whether the awsClientIdOverride field is set.
*/
public boolean hasAwsClientIdOverride() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string aws_client_id_override = 2 [json_name = "awsClientIdOverride"];</code>
* @return The awsClientIdOverride.
*/
public java.lang.String getAwsClientIdOverride() {
java.lang.Object ref = awsClientIdOverride_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
awsClientIdOverride_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string aws_client_id_override = 2 [json_name = "awsClientIdOverride"];</code>
* @return The bytes for awsClientIdOverride.
*/
public com.google.protobuf.ByteString
getAwsClientIdOverrideBytes() {
java.lang.Object ref = awsClientIdOverride_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
awsClientIdOverride_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string aws_client_id_override = 2 [json_name = "awsClientIdOverride"];</code>
* @param value The awsClientIdOverride to set.
* @return This builder for chaining.
*/
public Builder setAwsClientIdOverride(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
awsClientIdOverride_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string aws_client_id_override = 2 [json_name = "awsClientIdOverride"];</code>
* @return This builder for chaining.
*/
public Builder clearAwsClientIdOverride() {
awsClientIdOverride_ = getDefaultInstance().getAwsClientIdOverride();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string aws_client_id_override = 2 [json_name = "awsClientIdOverride"];</code>
* @param value The bytes for awsClientIdOverride to set.
* @return This builder for chaining.
*/
public Builder setAwsClientIdOverrideBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
awsClientIdOverride_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object awsClientSecretOverride_ = "";
/**
* <code>optional string aws_client_secret_override = 3 [json_name = "awsClientSecretOverride"];</code>
* @return Whether the awsClientSecretOverride field is set.
*/
public boolean hasAwsClientSecretOverride() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string aws_client_secret_override = 3 [json_name = "awsClientSecretOverride"];</code>
* @return The awsClientSecretOverride.
*/
public java.lang.String getAwsClientSecretOverride() {
java.lang.Object ref = awsClientSecretOverride_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
awsClientSecretOverride_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string aws_client_secret_override = 3 [json_name = "awsClientSecretOverride"];</code>
* @return The bytes for awsClientSecretOverride.
*/
public com.google.protobuf.ByteString
getAwsClientSecretOverrideBytes() {
java.lang.Object ref = awsClientSecretOverride_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
awsClientSecretOverride_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string aws_client_secret_override = 3 [json_name = "awsClientSecretOverride"];</code>
* @param value The awsClientSecretOverride to set.
* @return This builder for chaining.
*/
public Builder setAwsClientSecretOverride(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
awsClientSecretOverride_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string aws_client_secret_override = 3 [json_name = "awsClientSecretOverride"];</code>
* @return This builder for chaining.
*/
public Builder clearAwsClientSecretOverride() {
awsClientSecretOverride_ = getDefaultInstance().getAwsClientSecretOverride();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string aws_client_secret_override = 3 [json_name = "awsClientSecretOverride"];</code>
* @param value The bytes for awsClientSecretOverride to set.
* @return This builder for chaining.
*/
public Builder setAwsClientSecretOverrideBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
awsClientSecretOverride_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object awsRegionOverride_ = "";
/**
* <code>optional string aws_region_override = 4 [json_name = "awsRegionOverride"];</code>
* @return Whether the awsRegionOverride field is set.
*/
public boolean hasAwsRegionOverride() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string aws_region_override = 4 [json_name = "awsRegionOverride"];</code>
* @return The awsRegionOverride.
*/
public java.lang.String getAwsRegionOverride() {
java.lang.Object ref = awsRegionOverride_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
awsRegionOverride_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string aws_region_override = 4 [json_name = "awsRegionOverride"];</code>
* @return The bytes for awsRegionOverride.
*/
public com.google.protobuf.ByteString
getAwsRegionOverrideBytes() {
java.lang.Object ref = awsRegionOverride_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
awsRegionOverride_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string aws_region_override = 4 [json_name = "awsRegionOverride"];</code>
* @param value The awsRegionOverride to set.
* @return This builder for chaining.
*/
public Builder setAwsRegionOverride(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
awsRegionOverride_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional string aws_region_override = 4 [json_name = "awsRegionOverride"];</code>
* @return This builder for chaining.
*/
public Builder clearAwsRegionOverride() {
awsRegionOverride_ = getDefaultInstance().getAwsRegionOverride();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>optional string aws_region_override = 4 [json_name = "awsRegionOverride"];</code>
* @param value The bytes for awsRegionOverride to set.
* @return This builder for chaining.
*/
public Builder setAwsRegionOverrideBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
awsRegionOverride_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object endpointOverride_ = "";
/**
* <code>optional string endpoint_override = 5 [json_name = "endpointOverride"];</code>
* @return Whether the endpointOverride field is set.
*/
public boolean hasEndpointOverride() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string endpoint_override = 5 [json_name = "endpointOverride"];</code>
* @return The endpointOverride.
*/
public java.lang.String getEndpointOverride() {
java.lang.Object ref = endpointOverride_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endpointOverride_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string endpoint_override = 5 [json_name = "endpointOverride"];</code>
* @return The bytes for endpointOverride.
*/
public com.google.protobuf.ByteString
getEndpointOverrideBytes() {
java.lang.Object ref = endpointOverride_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endpointOverride_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string endpoint_override = 5 [json_name = "endpointOverride"];</code>
* @param value The endpointOverride to set.
* @return This builder for chaining.
*/
public Builder setEndpointOverride(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
endpointOverride_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional string endpoint_override = 5 [json_name = "endpointOverride"];</code>
* @return This builder for chaining.
*/
public Builder clearEndpointOverride() {
endpointOverride_ = getDefaultInstance().getEndpointOverride();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>optional string endpoint_override = 5 [json_name = "endpointOverride"];</code>
* @param value The bytes for endpointOverride to set.
* @return This builder for chaining.
*/
public Builder setEndpointOverrideBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
endpointOverride_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private static final class EngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return EngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final EngineArgsConverter engineArgsConverter = new EngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> engineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
return engineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableEngineArgs() {
if (engineArgs_ == null) {
engineArgs_ = new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
bitField0_ |= 0x00000020;
onChanged();
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? engineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return engineArgsConverter.build(map.get(key));
}
public Builder clearEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000020);
internalGetMutableEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
public Builder removeEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableEngineArgs().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.ScalarValue>
getMutableEngineArgs() {
bitField0_ |= 0x00000020;
return internalGetMutableEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
public Builder putEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000020;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
public Builder putAllEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000020;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) entry;
}
private static final class AsyncEngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return AsyncEngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final AsyncEngineArgsConverter asyncEngineArgsConverter = new AsyncEngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> asyncEngineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
return asyncEngineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
asyncEngineArgs_ = new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
bitField0_ |= 0x00000040;
onChanged();
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? asyncEngineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return asyncEngineArgsConverter.build(map.get(key));
}
public Builder clearAsyncEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000040);
internalGetMutableAsyncEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
public Builder removeAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableAsyncEngineArgs().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.ScalarValue>
getMutableAsyncEngineArgs() {
bitField0_ |= 0x00000040;
return internalGetMutableAsyncEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAsyncEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAllAsyncEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putAsyncEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.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.graph.v1.DynamoDBSource)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.DynamoDBSource)
private static final ai.chalk.protos.chalk.graph.v1.DynamoDBSource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.DynamoDBSource();
}
public static ai.chalk.protos.chalk.graph.v1.DynamoDBSource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DynamoDBSource>
PARSER = new com.google.protobuf.AbstractParser<DynamoDBSource>() {
@java.lang.Override
public DynamoDBSource 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<DynamoDBSource> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DynamoDBSource> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DynamoDBSource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/DynamoDBSourceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface DynamoDBSourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.DynamoDBSource)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>optional string aws_client_id_override = 2 [json_name = "awsClientIdOverride"];</code>
* @return Whether the awsClientIdOverride field is set.
*/
boolean hasAwsClientIdOverride();
/**
* <code>optional string aws_client_id_override = 2 [json_name = "awsClientIdOverride"];</code>
* @return The awsClientIdOverride.
*/
java.lang.String getAwsClientIdOverride();
/**
* <code>optional string aws_client_id_override = 2 [json_name = "awsClientIdOverride"];</code>
* @return The bytes for awsClientIdOverride.
*/
com.google.protobuf.ByteString
getAwsClientIdOverrideBytes();
/**
* <code>optional string aws_client_secret_override = 3 [json_name = "awsClientSecretOverride"];</code>
* @return Whether the awsClientSecretOverride field is set.
*/
boolean hasAwsClientSecretOverride();
/**
* <code>optional string aws_client_secret_override = 3 [json_name = "awsClientSecretOverride"];</code>
* @return The awsClientSecretOverride.
*/
java.lang.String getAwsClientSecretOverride();
/**
* <code>optional string aws_client_secret_override = 3 [json_name = "awsClientSecretOverride"];</code>
* @return The bytes for awsClientSecretOverride.
*/
com.google.protobuf.ByteString
getAwsClientSecretOverrideBytes();
/**
* <code>optional string aws_region_override = 4 [json_name = "awsRegionOverride"];</code>
* @return Whether the awsRegionOverride field is set.
*/
boolean hasAwsRegionOverride();
/**
* <code>optional string aws_region_override = 4 [json_name = "awsRegionOverride"];</code>
* @return The awsRegionOverride.
*/
java.lang.String getAwsRegionOverride();
/**
* <code>optional string aws_region_override = 4 [json_name = "awsRegionOverride"];</code>
* @return The bytes for awsRegionOverride.
*/
com.google.protobuf.ByteString
getAwsRegionOverrideBytes();
/**
* <code>optional string endpoint_override = 5 [json_name = "endpointOverride"];</code>
* @return Whether the endpointOverride field is set.
*/
boolean hasEndpointOverride();
/**
* <code>optional string endpoint_override = 5 [json_name = "endpointOverride"];</code>
* @return The endpointOverride.
*/
java.lang.String getEndpointOverride();
/**
* <code>optional string endpoint_override = 5 [json_name = "endpointOverride"];</code>
* @return The bytes for endpointOverride.
*/
com.google.protobuf.ByteString
getEndpointOverrideBytes();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
int getEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
boolean containsEngineArgs(
java.lang.String key);
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 6 [json_name = "engineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
int getAsyncEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
boolean containsAsyncEngineArgs(
java.lang.String key);
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 7 [json_name = "asyncEngineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key);
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FeatureInput.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.FeatureInput}
*/
public final class FeatureInput extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.FeatureInput)
FeatureInputOrBuilder {
private static final long serialVersionUID = 0L;
// Use FeatureInput.newBuilder() to construct.
private FeatureInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FeatureInput() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FeatureInput();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureInput_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FeatureInput.class, ai.chalk.protos.chalk.graph.v1.FeatureInput.Builder.class);
}
private int bitField0_;
public static final int FEATURE_FIELD_NUMBER = 1;
private ai.chalk.protos.chalk.graph.v1.FeatureReference feature_;
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
* @return Whether the feature field is set.
*/
@java.lang.Override
public boolean hasFeature() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
* @return The feature.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReference getFeature() {
return feature_ == null ? ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance() : feature_;
}
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getFeatureOrBuilder() {
return feature_ == null ? ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance() : feature_;
}
public static final int DEFAULT_VALUE_FIELD_NUMBER = 2;
private ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue_;
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
* @return Whether the defaultValue field is set.
*/
@java.lang.Override
public boolean hasDefaultValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
* @return The defaultValue.
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getDefaultValue() {
return defaultValue_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : defaultValue_;
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getDefaultValueOrBuilder() {
return defaultValue_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : defaultValue_;
}
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, getFeature());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getDefaultValue());
}
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, getFeature());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getDefaultValue());
}
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.graph.v1.FeatureInput)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.FeatureInput other = (ai.chalk.protos.chalk.graph.v1.FeatureInput) obj;
if (hasFeature() != other.hasFeature()) return false;
if (hasFeature()) {
if (!getFeature()
.equals(other.getFeature())) return false;
}
if (hasDefaultValue() != other.hasDefaultValue()) return false;
if (hasDefaultValue()) {
if (!getDefaultValue()
.equals(other.getDefaultValue())) 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 (hasFeature()) {
hash = (37 * hash) + FEATURE_FIELD_NUMBER;
hash = (53 * hash) + getFeature().hashCode();
}
if (hasDefaultValue()) {
hash = (37 * hash) + DEFAULT_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getDefaultValue().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.FeatureInput parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureInput 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.graph.v1.FeatureInput parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureInput 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.graph.v1.FeatureInput parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureInput parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureInput parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureInput 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.graph.v1.FeatureInput parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureInput 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.graph.v1.FeatureInput parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureInput 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.graph.v1.FeatureInput 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.graph.v1.FeatureInput}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.FeatureInput)
ai.chalk.protos.chalk.graph.v1.FeatureInputOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureInput_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FeatureInput.class, ai.chalk.protos.chalk.graph.v1.FeatureInput.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.FeatureInput.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFeatureFieldBuilder();
getDefaultValueFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
feature_ = null;
if (featureBuilder_ != null) {
featureBuilder_.dispose();
featureBuilder_ = null;
}
defaultValue_ = null;
if (defaultValueBuilder_ != null) {
defaultValueBuilder_.dispose();
defaultValueBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureInput_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureInput getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.FeatureInput.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureInput build() {
ai.chalk.protos.chalk.graph.v1.FeatureInput result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureInput buildPartial() {
ai.chalk.protos.chalk.graph.v1.FeatureInput result = new ai.chalk.protos.chalk.graph.v1.FeatureInput(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.FeatureInput result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.feature_ = featureBuilder_ == null
? feature_
: featureBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.defaultValue_ = defaultValueBuilder_ == null
? defaultValue_
: defaultValueBuilder_.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.graph.v1.FeatureInput) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.FeatureInput)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.FeatureInput other) {
if (other == ai.chalk.protos.chalk.graph.v1.FeatureInput.getDefaultInstance()) return this;
if (other.hasFeature()) {
mergeFeature(other.getFeature());
}
if (other.hasDefaultValue()) {
mergeDefaultValue(other.getDefaultValue());
}
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);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getDefaultValueFieldBuilder().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.graph.v1.FeatureReference feature_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder> featureBuilder_;
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
* @return Whether the feature field is set.
*/
public boolean hasFeature() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
* @return The feature.
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference getFeature() {
if (featureBuilder_ == null) {
return feature_ == null ? ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance() : feature_;
} else {
return featureBuilder_.getMessage();
}
}
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
*/
public Builder setFeature(ai.chalk.protos.chalk.graph.v1.FeatureReference value) {
if (featureBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
feature_ = value;
} else {
featureBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
*/
public Builder setFeature(
ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (featureBuilder_ == null) {
feature_ = builderForValue.build();
} else {
featureBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
*/
public Builder mergeFeature(ai.chalk.protos.chalk.graph.v1.FeatureReference value) {
if (featureBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
feature_ != null &&
feature_ != ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance()) {
getFeatureBuilder().mergeFrom(value);
} else {
feature_ = value;
}
} else {
featureBuilder_.mergeFrom(value);
}
if (feature_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
*/
public Builder clearFeature() {
bitField0_ = (bitField0_ & ~0x00000001);
feature_ = null;
if (featureBuilder_ != null) {
featureBuilder_.dispose();
featureBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder getFeatureBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getFeatureFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getFeatureOrBuilder() {
if (featureBuilder_ != null) {
return featureBuilder_.getMessageOrBuilder();
} else {
return feature_ == null ?
ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance() : feature_;
}
}
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getFeatureFieldBuilder() {
if (featureBuilder_ == null) {
featureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>(
getFeature(),
getParentForChildren(),
isClean());
feature_ = null;
}
return featureBuilder_;
}
private ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> defaultValueBuilder_;
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
* @return Whether the defaultValue field is set.
*/
public boolean hasDefaultValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
* @return The defaultValue.
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getDefaultValue() {
if (defaultValueBuilder_ == null) {
return defaultValue_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : defaultValue_;
} else {
return defaultValueBuilder_.getMessage();
}
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
*/
public Builder setDefaultValue(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (defaultValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
defaultValue_ = value;
} else {
defaultValueBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
*/
public Builder setDefaultValue(
ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder builderForValue) {
if (defaultValueBuilder_ == null) {
defaultValue_ = builderForValue.build();
} else {
defaultValueBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
*/
public Builder mergeDefaultValue(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (defaultValueBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
defaultValue_ != null &&
defaultValue_ != ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance()) {
getDefaultValueBuilder().mergeFrom(value);
} else {
defaultValue_ = value;
}
} else {
defaultValueBuilder_.mergeFrom(value);
}
if (defaultValue_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
*/
public Builder clearDefaultValue() {
bitField0_ = (bitField0_ & ~0x00000002);
defaultValue_ = null;
if (defaultValueBuilder_ != null) {
defaultValueBuilder_.dispose();
defaultValueBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder getDefaultValueBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getDefaultValueFieldBuilder().getBuilder();
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getDefaultValueOrBuilder() {
if (defaultValueBuilder_ != null) {
return defaultValueBuilder_.getMessageOrBuilder();
} else {
return defaultValue_ == null ?
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : defaultValue_;
}
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder>
getDefaultValueFieldBuilder() {
if (defaultValueBuilder_ == null) {
defaultValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder>(
getDefaultValue(),
getParentForChildren(),
isClean());
defaultValue_ = null;
}
return defaultValueBuilder_;
}
@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.graph.v1.FeatureInput)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.FeatureInput)
private static final ai.chalk.protos.chalk.graph.v1.FeatureInput DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.FeatureInput();
}
public static ai.chalk.protos.chalk.graph.v1.FeatureInput getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FeatureInput>
PARSER = new com.google.protobuf.AbstractParser<FeatureInput>() {
@java.lang.Override
public FeatureInput 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<FeatureInput> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FeatureInput> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureInput getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FeatureInputOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface FeatureInputOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.FeatureInput)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
* @return Whether the feature field is set.
*/
boolean hasFeature();
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
* @return The feature.
*/
ai.chalk.protos.chalk.graph.v1.FeatureReference getFeature();
/**
* <code>.chalk.graph.v1.FeatureReference feature = 1 [json_name = "feature"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getFeatureOrBuilder();
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
* @return Whether the defaultValue field is set.
*/
boolean hasDefaultValue();
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
* @return The defaultValue.
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getDefaultValue();
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 2 [json_name = "defaultValue"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getDefaultValueOrBuilder();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FeatureReference.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.FeatureReference}
*/
public final class FeatureReference extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.FeatureReference)
FeatureReferenceOrBuilder {
private static final long serialVersionUID = 0L;
// Use FeatureReference.newBuilder() to construct.
private FeatureReference(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FeatureReference() {
name_ = "";
namespace_ = "";
path_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FeatureReference();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureReference_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FeatureReference.class, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int 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 PATH_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> path_;
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> getPathList() {
return path_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getPathOrBuilderList() {
return path_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
@java.lang.Override
public int getPathCount() {
return path_.size();
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReference getPath(int index) {
return path_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getPathOrBuilder(
int index) {
return path_.get(index);
}
public static final int DF_FIELD_NUMBER = 4;
private ai.chalk.protos.chalk.graph.v1.DataFrameType df_;
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
* @return Whether the df field is set.
*/
@java.lang.Override
public boolean hasDf() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
* @return The df.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DataFrameType getDf() {
return df_ == null ? ai.chalk.protos.chalk.graph.v1.DataFrameType.getDefaultInstance() : df_;
}
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DataFrameTypeOrBuilder getDfOrBuilder() {
return df_ == null ? ai.chalk.protos.chalk.graph.v1.DataFrameType.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(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_);
}
for (int i = 0; i < path_.size(); i++) {
output.writeMessage(3, path_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(4, 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(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_);
}
for (int i = 0; i < path_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, path_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, 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.graph.v1.FeatureReference)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.FeatureReference other = (ai.chalk.protos.chalk.graph.v1.FeatureReference) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getNamespace()
.equals(other.getNamespace())) return false;
if (!getPathList()
.equals(other.getPathList())) 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) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
if (getPathCount() > 0) {
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPathList().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.graph.v1.FeatureReference parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureReference 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.graph.v1.FeatureReference parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureReference 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.graph.v1.FeatureReference parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureReference parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureReference parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureReference 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.graph.v1.FeatureReference parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureReference 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.graph.v1.FeatureReference parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureReference 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.graph.v1.FeatureReference 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.graph.v1.FeatureReference}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.FeatureReference)
ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureReference_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FeatureReference.class, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.FeatureReference.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPathFieldBuilder();
getDfFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
namespace_ = "";
if (pathBuilder_ == null) {
path_ = java.util.Collections.emptyList();
} else {
path_ = null;
pathBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
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.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureReference_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReference getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReference build() {
ai.chalk.protos.chalk.graph.v1.FeatureReference result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReference buildPartial() {
ai.chalk.protos.chalk.graph.v1.FeatureReference result = new ai.chalk.protos.chalk.graph.v1.FeatureReference(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ai.chalk.protos.chalk.graph.v1.FeatureReference result) {
if (pathBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
path_ = java.util.Collections.unmodifiableList(path_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.path_ = path_;
} else {
result.path_ = pathBuilder_.build();
}
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.FeatureReference result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.namespace_ = namespace_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000008) != 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.graph.v1.FeatureReference) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.FeatureReference)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.FeatureReference other) {
if (other == ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getNamespace().isEmpty()) {
namespace_ = other.namespace_;
bitField0_ |= 0x00000002;
onChanged();
}
if (pathBuilder_ == null) {
if (!other.path_.isEmpty()) {
if (path_.isEmpty()) {
path_ = other.path_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensurePathIsMutable();
path_.addAll(other.path_);
}
onChanged();
}
} else {
if (!other.path_.isEmpty()) {
if (pathBuilder_.isEmpty()) {
pathBuilder_.dispose();
pathBuilder_ = null;
path_ = other.path_;
bitField0_ = (bitField0_ & ~0x00000004);
pathBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPathFieldBuilder() : null;
} else {
pathBuilder_.addAllMessages(other.path_);
}
}
}
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: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
namespace_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
ai.chalk.protos.chalk.graph.v1.FeatureReference m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.FeatureReference.parser(),
extensionRegistry);
if (pathBuilder_ == null) {
ensurePathIsMutable();
path_.add(m);
} else {
pathBuilder_.addMessage(m);
}
break;
} // case 26
case 34: {
input.readMessage(
getDfFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private 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 java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> path_ =
java.util.Collections.emptyList();
private void ensurePathIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
path_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.FeatureReference>(path_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder> pathBuilder_;
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference> getPathList() {
if (pathBuilder_ == null) {
return java.util.Collections.unmodifiableList(path_);
} else {
return pathBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public int getPathCount() {
if (pathBuilder_ == null) {
return path_.size();
} else {
return pathBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference getPath(int index) {
if (pathBuilder_ == null) {
return path_.get(index);
} else {
return pathBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public Builder setPath(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference value) {
if (pathBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePathIsMutable();
path_.set(index, value);
onChanged();
} else {
pathBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public Builder setPath(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (pathBuilder_ == null) {
ensurePathIsMutable();
path_.set(index, builderForValue.build());
onChanged();
} else {
pathBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public Builder addPath(ai.chalk.protos.chalk.graph.v1.FeatureReference value) {
if (pathBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePathIsMutable();
path_.add(value);
onChanged();
} else {
pathBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public Builder addPath(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference value) {
if (pathBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePathIsMutable();
path_.add(index, value);
onChanged();
} else {
pathBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public Builder addPath(
ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (pathBuilder_ == null) {
ensurePathIsMutable();
path_.add(builderForValue.build());
onChanged();
} else {
pathBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public Builder addPath(
int index, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder builderForValue) {
if (pathBuilder_ == null) {
ensurePathIsMutable();
path_.add(index, builderForValue.build());
onChanged();
} else {
pathBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public Builder addAllPath(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.FeatureReference> values) {
if (pathBuilder_ == null) {
ensurePathIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, path_);
onChanged();
} else {
pathBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public Builder clearPath() {
if (pathBuilder_ == null) {
path_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
pathBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public Builder removePath(int index) {
if (pathBuilder_ == null) {
ensurePathIsMutable();
path_.remove(index);
onChanged();
} else {
pathBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder getPathBuilder(
int index) {
return getPathFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getPathOrBuilder(
int index) {
if (pathBuilder_ == null) {
return path_.get(index); } else {
return pathBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getPathOrBuilderList() {
if (pathBuilder_ != null) {
return pathBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(path_);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder addPathBuilder() {
return getPathFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder addPathBuilder(
int index) {
return getPathFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.FeatureReference.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder>
getPathBuilderList() {
return getPathFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getPathFieldBuilder() {
if (pathBuilder_ == null) {
pathBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureReference, ai.chalk.protos.chalk.graph.v1.FeatureReference.Builder, ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>(
path_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
path_ = null;
}
return pathBuilder_;
}
private ai.chalk.protos.chalk.graph.v1.DataFrameType df_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DataFrameType, ai.chalk.protos.chalk.graph.v1.DataFrameType.Builder, ai.chalk.protos.chalk.graph.v1.DataFrameTypeOrBuilder> dfBuilder_;
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
* @return Whether the df field is set.
*/
public boolean hasDf() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
* @return The df.
*/
public ai.chalk.protos.chalk.graph.v1.DataFrameType getDf() {
if (dfBuilder_ == null) {
return df_ == null ? ai.chalk.protos.chalk.graph.v1.DataFrameType.getDefaultInstance() : df_;
} else {
return dfBuilder_.getMessage();
}
}
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
*/
public Builder setDf(ai.chalk.protos.chalk.graph.v1.DataFrameType value) {
if (dfBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
df_ = value;
} else {
dfBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
*/
public Builder setDf(
ai.chalk.protos.chalk.graph.v1.DataFrameType.Builder builderForValue) {
if (dfBuilder_ == null) {
df_ = builderForValue.build();
} else {
dfBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
*/
public Builder mergeDf(ai.chalk.protos.chalk.graph.v1.DataFrameType value) {
if (dfBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
df_ != null &&
df_ != ai.chalk.protos.chalk.graph.v1.DataFrameType.getDefaultInstance()) {
getDfBuilder().mergeFrom(value);
} else {
df_ = value;
}
} else {
dfBuilder_.mergeFrom(value);
}
if (df_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
*/
public Builder clearDf() {
bitField0_ = (bitField0_ & ~0x00000008);
df_ = null;
if (dfBuilder_ != null) {
dfBuilder_.dispose();
dfBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DataFrameType.Builder getDfBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getDfFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DataFrameTypeOrBuilder getDfOrBuilder() {
if (dfBuilder_ != null) {
return dfBuilder_.getMessageOrBuilder();
} else {
return df_ == null ?
ai.chalk.protos.chalk.graph.v1.DataFrameType.getDefaultInstance() : df_;
}
}
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DataFrameType, ai.chalk.protos.chalk.graph.v1.DataFrameType.Builder, ai.chalk.protos.chalk.graph.v1.DataFrameTypeOrBuilder>
getDfFieldBuilder() {
if (dfBuilder_ == null) {
dfBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DataFrameType, ai.chalk.protos.chalk.graph.v1.DataFrameType.Builder, ai.chalk.protos.chalk.graph.v1.DataFrameTypeOrBuilder>(
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.graph.v1.FeatureReference)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.FeatureReference)
private static final ai.chalk.protos.chalk.graph.v1.FeatureReference DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.FeatureReference();
}
public static ai.chalk.protos.chalk.graph.v1.FeatureReference getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FeatureReference>
PARSER = new com.google.protobuf.AbstractParser<FeatureReference>() {
@java.lang.Override
public FeatureReference 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<FeatureReference> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FeatureReference> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureReference getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FeatureReferenceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface FeatureReferenceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.FeatureReference)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>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();
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureReference>
getPathList();
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureReference getPath(int index);
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
int getPathCount();
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder>
getPathOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.FeatureReference path = 3 [json_name = "path"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureReferenceOrBuilder getPathOrBuilder(
int index);
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
* @return Whether the df field is set.
*/
boolean hasDf();
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
* @return The df.
*/
ai.chalk.protos.chalk.graph.v1.DataFrameType getDf();
/**
* <code>.chalk.graph.v1.DataFrameType df = 4 [json_name = "df"];</code>
*/
ai.chalk.protos.chalk.graph.v1.DataFrameTypeOrBuilder getDfOrBuilder();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FeatureSet.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.FeatureSet}
*/
public final class FeatureSet extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.FeatureSet)
FeatureSetOrBuilder {
private static final long serialVersionUID = 0L;
// Use FeatureSet.newBuilder() to construct.
private FeatureSet(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FeatureSet() {
name_ = "";
features_ = java.util.Collections.emptyList();
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
owner_ = "";
doc_ = "";
classPath_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FeatureSet();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureSet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureSet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FeatureSet.class, ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FEATURES_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureType> features_;
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureType> getFeaturesList() {
return features_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureTypeOrBuilder>
getFeaturesOrBuilderList() {
return features_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
@java.lang.Override
public int getFeaturesCount() {
return features_.size();
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureType getFeatures(int index) {
return features_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureTypeOrBuilder getFeaturesOrBuilder(
int index) {
return features_.get(index);
}
public static final int MAX_STALENESS_DURATION_FIELD_NUMBER = 3;
private com.google.protobuf.Duration maxStalenessDuration_;
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
* @return Whether the maxStalenessDuration field is set.
*/
@java.lang.Override
public boolean hasMaxStalenessDuration() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
* @return The maxStalenessDuration.
*/
@java.lang.Override
public com.google.protobuf.Duration getMaxStalenessDuration() {
return maxStalenessDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxStalenessDuration_;
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
*/
@java.lang.Override
public com.google.protobuf.DurationOrBuilder getMaxStalenessDurationOrBuilder() {
return maxStalenessDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxStalenessDuration_;
}
public static final int IS_SINGLETON_FIELD_NUMBER = 4;
private boolean isSingleton_ = false;
/**
* <code>bool is_singleton = 4 [json_name = "isSingleton"];</code>
* @return The isSingleton.
*/
@java.lang.Override
public boolean getIsSingleton() {
return isSingleton_;
}
public static final int TAGS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
public static final int OWNER_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object owner_ = "";
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
@java.lang.Override
public boolean hasOwner() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
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();
owner_ = s;
return s;
}
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DOC_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object doc_ = "";
/**
* <pre>
* The docstring of the class on which the features are defined.
* </pre>
*
* <code>optional string doc = 7 [json_name = "doc"];</code>
* @return Whether the doc field is set.
*/
@java.lang.Override
public boolean hasDoc() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* The docstring of the class on which the features are defined.
* </pre>
*
* <code>optional string doc = 7 [json_name = "doc"];</code>
* @return The doc.
*/
@java.lang.Override
public java.lang.String getDoc() {
java.lang.Object ref = doc_;
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();
doc_ = s;
return s;
}
}
/**
* <pre>
* The docstring of the class on which the features are defined.
* </pre>
*
* <code>optional string doc = 7 [json_name = "doc"];</code>
* @return The bytes for doc.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDocBytes() {
java.lang.Object ref = doc_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
doc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ETL_OFFLINE_TO_ONLINE_FIELD_NUMBER = 8;
private boolean etlOfflineToOnline_ = false;
/**
* <code>optional bool etl_offline_to_online = 8 [json_name = "etlOfflineToOnline"];</code>
* @return Whether the etlOfflineToOnline field is set.
*/
@java.lang.Override
public boolean hasEtlOfflineToOnline() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional bool etl_offline_to_online = 8 [json_name = "etlOfflineToOnline"];</code>
* @return The etlOfflineToOnline.
*/
@java.lang.Override
public boolean getEtlOfflineToOnline() {
return etlOfflineToOnline_;
}
public static final int CLASS_PATH_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object classPath_ = "";
/**
* <code>optional string class_path = 9 [json_name = "classPath"];</code>
* @return Whether the classPath field is set.
*/
@java.lang.Override
public boolean hasClassPath() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string class_path = 9 [json_name = "classPath"];</code>
* @return The classPath.
*/
@java.lang.Override
public java.lang.String getClassPath() {
java.lang.Object ref = classPath_;
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();
classPath_ = s;
return s;
}
}
/**
* <code>optional string class_path = 9 [json_name = "classPath"];</code>
* @return The bytes for classPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClassPathBytes() {
java.lang.Object ref = classPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
classPath_ = 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_);
}
for (int i = 0; i < features_.size(); i++) {
output.writeMessage(2, features_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(3, getMaxStalenessDuration());
}
if (isSingleton_ != false) {
output.writeBool(4, isSingleton_);
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tags_.getRaw(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, owner_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, doc_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBool(8, etlOfflineToOnline_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, classPath_);
}
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_);
}
for (int i = 0; i < features_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, features_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getMaxStalenessDuration());
}
if (isSingleton_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, isSingleton_);
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().size();
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, owner_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, doc_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, etlOfflineToOnline_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, classPath_);
}
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.graph.v1.FeatureSet)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.FeatureSet other = (ai.chalk.protos.chalk.graph.v1.FeatureSet) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getFeaturesList()
.equals(other.getFeaturesList())) return false;
if (hasMaxStalenessDuration() != other.hasMaxStalenessDuration()) return false;
if (hasMaxStalenessDuration()) {
if (!getMaxStalenessDuration()
.equals(other.getMaxStalenessDuration())) return false;
}
if (getIsSingleton()
!= other.getIsSingleton()) return false;
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (hasOwner() != other.hasOwner()) return false;
if (hasOwner()) {
if (!getOwner()
.equals(other.getOwner())) return false;
}
if (hasDoc() != other.hasDoc()) return false;
if (hasDoc()) {
if (!getDoc()
.equals(other.getDoc())) return false;
}
if (hasEtlOfflineToOnline() != other.hasEtlOfflineToOnline()) return false;
if (hasEtlOfflineToOnline()) {
if (getEtlOfflineToOnline()
!= other.getEtlOfflineToOnline()) return false;
}
if (hasClassPath() != other.hasClassPath()) return false;
if (hasClassPath()) {
if (!getClassPath()
.equals(other.getClassPath())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (getFeaturesCount() > 0) {
hash = (37 * hash) + FEATURES_FIELD_NUMBER;
hash = (53 * hash) + getFeaturesList().hashCode();
}
if (hasMaxStalenessDuration()) {
hash = (37 * hash) + MAX_STALENESS_DURATION_FIELD_NUMBER;
hash = (53 * hash) + getMaxStalenessDuration().hashCode();
}
hash = (37 * hash) + IS_SINGLETON_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsSingleton());
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
if (hasDoc()) {
hash = (37 * hash) + DOC_FIELD_NUMBER;
hash = (53 * hash) + getDoc().hashCode();
}
if (hasEtlOfflineToOnline()) {
hash = (37 * hash) + ETL_OFFLINE_TO_ONLINE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEtlOfflineToOnline());
}
if (hasClassPath()) {
hash = (37 * hash) + CLASS_PATH_FIELD_NUMBER;
hash = (53 * hash) + getClassPath().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.FeatureSet parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureSet 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.graph.v1.FeatureSet parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureSet 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.graph.v1.FeatureSet parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureSet parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureSet parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureSet 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.graph.v1.FeatureSet parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureSet 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.graph.v1.FeatureSet parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureSet 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.graph.v1.FeatureSet 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.graph.v1.FeatureSet}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.FeatureSet)
ai.chalk.protos.chalk.graph.v1.FeatureSetOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureSet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureSet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FeatureSet.class, ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.FeatureSet.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFeaturesFieldBuilder();
getMaxStalenessDurationFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
if (featuresBuilder_ == null) {
features_ = java.util.Collections.emptyList();
} else {
features_ = null;
featuresBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
maxStalenessDuration_ = null;
if (maxStalenessDurationBuilder_ != null) {
maxStalenessDurationBuilder_.dispose();
maxStalenessDurationBuilder_ = null;
}
isSingleton_ = false;
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
owner_ = "";
doc_ = "";
etlOfflineToOnline_ = false;
classPath_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureSet_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureSet getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.FeatureSet.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureSet build() {
ai.chalk.protos.chalk.graph.v1.FeatureSet result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureSet buildPartial() {
ai.chalk.protos.chalk.graph.v1.FeatureSet result = new ai.chalk.protos.chalk.graph.v1.FeatureSet(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ai.chalk.protos.chalk.graph.v1.FeatureSet result) {
if (featuresBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
features_ = java.util.Collections.unmodifiableList(features_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.features_ = features_;
} else {
result.features_ = featuresBuilder_.build();
}
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.FeatureSet result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.maxStalenessDuration_ = maxStalenessDurationBuilder_ == null
? maxStalenessDuration_
: maxStalenessDurationBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.isSingleton_ = isSingleton_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
tags_.makeImmutable();
result.tags_ = tags_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.owner_ = owner_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.doc_ = doc_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.etlOfflineToOnline_ = etlOfflineToOnline_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.classPath_ = classPath_;
to_bitField0_ |= 0x00000010;
}
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.graph.v1.FeatureSet) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.FeatureSet)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.FeatureSet other) {
if (other == ai.chalk.protos.chalk.graph.v1.FeatureSet.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (featuresBuilder_ == null) {
if (!other.features_.isEmpty()) {
if (features_.isEmpty()) {
features_ = other.features_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureFeaturesIsMutable();
features_.addAll(other.features_);
}
onChanged();
}
} else {
if (!other.features_.isEmpty()) {
if (featuresBuilder_.isEmpty()) {
featuresBuilder_.dispose();
featuresBuilder_ = null;
features_ = other.features_;
bitField0_ = (bitField0_ & ~0x00000002);
featuresBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFeaturesFieldBuilder() : null;
} else {
featuresBuilder_.addAllMessages(other.features_);
}
}
}
if (other.hasMaxStalenessDuration()) {
mergeMaxStalenessDuration(other.getMaxStalenessDuration());
}
if (other.getIsSingleton() != false) {
setIsSingleton(other.getIsSingleton());
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ |= 0x00000010;
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
if (other.hasOwner()) {
owner_ = other.owner_;
bitField0_ |= 0x00000020;
onChanged();
}
if (other.hasDoc()) {
doc_ = other.doc_;
bitField0_ |= 0x00000040;
onChanged();
}
if (other.hasEtlOfflineToOnline()) {
setEtlOfflineToOnline(other.getEtlOfflineToOnline());
}
if (other.hasClassPath()) {
classPath_ = other.classPath_;
bitField0_ |= 0x00000100;
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
case 18: {
ai.chalk.protos.chalk.graph.v1.FeatureType m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.FeatureType.parser(),
extensionRegistry);
if (featuresBuilder_ == null) {
ensureFeaturesIsMutable();
features_.add(m);
} else {
featuresBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
input.readMessage(
getMaxStalenessDurationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
isSingleton_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
java.lang.String s = input.readStringRequireUtf8();
ensureTagsIsMutable();
tags_.add(s);
break;
} // case 42
case 50: {
owner_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
doc_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 64: {
etlOfflineToOnline_ = input.readBool();
bitField0_ |= 0x00000080;
break;
} // case 64
case 74: {
classPath_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 74
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureType> features_ =
java.util.Collections.emptyList();
private void ensureFeaturesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
features_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.FeatureType>(features_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureType, ai.chalk.protos.chalk.graph.v1.FeatureType.Builder, ai.chalk.protos.chalk.graph.v1.FeatureTypeOrBuilder> featuresBuilder_;
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureType> getFeaturesList() {
if (featuresBuilder_ == null) {
return java.util.Collections.unmodifiableList(features_);
} else {
return featuresBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public int getFeaturesCount() {
if (featuresBuilder_ == null) {
return features_.size();
} else {
return featuresBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureType getFeatures(int index) {
if (featuresBuilder_ == null) {
return features_.get(index);
} else {
return featuresBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public Builder setFeatures(
int index, ai.chalk.protos.chalk.graph.v1.FeatureType value) {
if (featuresBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFeaturesIsMutable();
features_.set(index, value);
onChanged();
} else {
featuresBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public Builder setFeatures(
int index, ai.chalk.protos.chalk.graph.v1.FeatureType.Builder builderForValue) {
if (featuresBuilder_ == null) {
ensureFeaturesIsMutable();
features_.set(index, builderForValue.build());
onChanged();
} else {
featuresBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public Builder addFeatures(ai.chalk.protos.chalk.graph.v1.FeatureType value) {
if (featuresBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFeaturesIsMutable();
features_.add(value);
onChanged();
} else {
featuresBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public Builder addFeatures(
int index, ai.chalk.protos.chalk.graph.v1.FeatureType value) {
if (featuresBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFeaturesIsMutable();
features_.add(index, value);
onChanged();
} else {
featuresBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public Builder addFeatures(
ai.chalk.protos.chalk.graph.v1.FeatureType.Builder builderForValue) {
if (featuresBuilder_ == null) {
ensureFeaturesIsMutable();
features_.add(builderForValue.build());
onChanged();
} else {
featuresBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public Builder addFeatures(
int index, ai.chalk.protos.chalk.graph.v1.FeatureType.Builder builderForValue) {
if (featuresBuilder_ == null) {
ensureFeaturesIsMutable();
features_.add(index, builderForValue.build());
onChanged();
} else {
featuresBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public Builder addAllFeatures(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.FeatureType> values) {
if (featuresBuilder_ == null) {
ensureFeaturesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, features_);
onChanged();
} else {
featuresBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public Builder clearFeatures() {
if (featuresBuilder_ == null) {
features_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
featuresBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public Builder removeFeatures(int index) {
if (featuresBuilder_ == null) {
ensureFeaturesIsMutable();
features_.remove(index);
onChanged();
} else {
featuresBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureType.Builder getFeaturesBuilder(
int index) {
return getFeaturesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureTypeOrBuilder getFeaturesOrBuilder(
int index) {
if (featuresBuilder_ == null) {
return features_.get(index); } else {
return featuresBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureTypeOrBuilder>
getFeaturesOrBuilderList() {
if (featuresBuilder_ != null) {
return featuresBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(features_);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureType.Builder addFeaturesBuilder() {
return getFeaturesFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.FeatureType.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureType.Builder addFeaturesBuilder(
int index) {
return getFeaturesFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.FeatureType.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureType.Builder>
getFeaturesBuilderList() {
return getFeaturesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureType, ai.chalk.protos.chalk.graph.v1.FeatureType.Builder, ai.chalk.protos.chalk.graph.v1.FeatureTypeOrBuilder>
getFeaturesFieldBuilder() {
if (featuresBuilder_ == null) {
featuresBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureType, ai.chalk.protos.chalk.graph.v1.FeatureType.Builder, ai.chalk.protos.chalk.graph.v1.FeatureTypeOrBuilder>(
features_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
features_ = null;
}
return featuresBuilder_;
}
private com.google.protobuf.Duration maxStalenessDuration_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxStalenessDurationBuilder_;
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
* @return Whether the maxStalenessDuration field is set.
*/
public boolean hasMaxStalenessDuration() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
* @return The maxStalenessDuration.
*/
public com.google.protobuf.Duration getMaxStalenessDuration() {
if (maxStalenessDurationBuilder_ == null) {
return maxStalenessDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxStalenessDuration_;
} else {
return maxStalenessDurationBuilder_.getMessage();
}
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
*/
public Builder setMaxStalenessDuration(com.google.protobuf.Duration value) {
if (maxStalenessDurationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxStalenessDuration_ = value;
} else {
maxStalenessDurationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
*/
public Builder setMaxStalenessDuration(
com.google.protobuf.Duration.Builder builderForValue) {
if (maxStalenessDurationBuilder_ == null) {
maxStalenessDuration_ = builderForValue.build();
} else {
maxStalenessDurationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
*/
public Builder mergeMaxStalenessDuration(com.google.protobuf.Duration value) {
if (maxStalenessDurationBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
maxStalenessDuration_ != null &&
maxStalenessDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
getMaxStalenessDurationBuilder().mergeFrom(value);
} else {
maxStalenessDuration_ = value;
}
} else {
maxStalenessDurationBuilder_.mergeFrom(value);
}
if (maxStalenessDuration_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
*/
public Builder clearMaxStalenessDuration() {
bitField0_ = (bitField0_ & ~0x00000004);
maxStalenessDuration_ = null;
if (maxStalenessDurationBuilder_ != null) {
maxStalenessDurationBuilder_.dispose();
maxStalenessDurationBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
*/
public com.google.protobuf.Duration.Builder getMaxStalenessDurationBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getMaxStalenessDurationFieldBuilder().getBuilder();
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
*/
public com.google.protobuf.DurationOrBuilder getMaxStalenessDurationOrBuilder() {
if (maxStalenessDurationBuilder_ != null) {
return maxStalenessDurationBuilder_.getMessageOrBuilder();
} else {
return maxStalenessDuration_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : maxStalenessDuration_;
}
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getMaxStalenessDurationFieldBuilder() {
if (maxStalenessDurationBuilder_ == null) {
maxStalenessDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getMaxStalenessDuration(),
getParentForChildren(),
isClean());
maxStalenessDuration_ = null;
}
return maxStalenessDurationBuilder_;
}
private boolean isSingleton_ ;
/**
* <code>bool is_singleton = 4 [json_name = "isSingleton"];</code>
* @return The isSingleton.
*/
@java.lang.Override
public boolean getIsSingleton() {
return isSingleton_;
}
/**
* <code>bool is_singleton = 4 [json_name = "isSingleton"];</code>
* @param value The isSingleton to set.
* @return This builder for chaining.
*/
public Builder setIsSingleton(boolean value) {
isSingleton_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>bool is_singleton = 4 [json_name = "isSingleton"];</code>
* @return This builder for chaining.
*/
public Builder clearIsSingleton() {
bitField0_ = (bitField0_ & ~0x00000008);
isSingleton_ = false;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureTagsIsMutable() {
if (!tags_.isModifiable()) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
}
bitField0_ |= 0x00000010;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
tags_.makeImmutable();
return tags_;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index to set the value at.
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.set(index, value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param value The tags to add.
* @return This builder for chaining.
*/
public Builder addTags(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param values The tags to add.
* @return This builder for chaining.
*/
public Builder addAllTags(
java.lang.Iterable<java.lang.String> values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return This builder for chaining.
*/
public Builder clearTags() {
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);;
onChanged();
return this;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param value The bytes of the tags to add.
* @return This builder for chaining.
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object owner_ = "";
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
public boolean hasOwner() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
owner_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
owner_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
owner_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object doc_ = "";
/**
* <pre>
* The docstring of the class on which the features are defined.
* </pre>
*
* <code>optional string doc = 7 [json_name = "doc"];</code>
* @return Whether the doc field is set.
*/
public boolean hasDoc() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* The docstring of the class on which the features are defined.
* </pre>
*
* <code>optional string doc = 7 [json_name = "doc"];</code>
* @return The doc.
*/
public java.lang.String getDoc() {
java.lang.Object ref = doc_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
doc_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* The docstring of the class on which the features are defined.
* </pre>
*
* <code>optional string doc = 7 [json_name = "doc"];</code>
* @return The bytes for doc.
*/
public com.google.protobuf.ByteString
getDocBytes() {
java.lang.Object ref = doc_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
doc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* The docstring of the class on which the features are defined.
* </pre>
*
* <code>optional string doc = 7 [json_name = "doc"];</code>
* @param value The doc to set.
* @return This builder for chaining.
*/
public Builder setDoc(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
doc_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <pre>
* The docstring of the class on which the features are defined.
* </pre>
*
* <code>optional string doc = 7 [json_name = "doc"];</code>
* @return This builder for chaining.
*/
public Builder clearDoc() {
doc_ = getDefaultInstance().getDoc();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* <pre>
* The docstring of the class on which the features are defined.
* </pre>
*
* <code>optional string doc = 7 [json_name = "doc"];</code>
* @param value The bytes for doc to set.
* @return This builder for chaining.
*/
public Builder setDocBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
doc_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private boolean etlOfflineToOnline_ ;
/**
* <code>optional bool etl_offline_to_online = 8 [json_name = "etlOfflineToOnline"];</code>
* @return Whether the etlOfflineToOnline field is set.
*/
@java.lang.Override
public boolean hasEtlOfflineToOnline() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional bool etl_offline_to_online = 8 [json_name = "etlOfflineToOnline"];</code>
* @return The etlOfflineToOnline.
*/
@java.lang.Override
public boolean getEtlOfflineToOnline() {
return etlOfflineToOnline_;
}
/**
* <code>optional bool etl_offline_to_online = 8 [json_name = "etlOfflineToOnline"];</code>
* @param value The etlOfflineToOnline to set.
* @return This builder for chaining.
*/
public Builder setEtlOfflineToOnline(boolean value) {
etlOfflineToOnline_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional bool etl_offline_to_online = 8 [json_name = "etlOfflineToOnline"];</code>
* @return This builder for chaining.
*/
public Builder clearEtlOfflineToOnline() {
bitField0_ = (bitField0_ & ~0x00000080);
etlOfflineToOnline_ = false;
onChanged();
return this;
}
private java.lang.Object classPath_ = "";
/**
* <code>optional string class_path = 9 [json_name = "classPath"];</code>
* @return Whether the classPath field is set.
*/
public boolean hasClassPath() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string class_path = 9 [json_name = "classPath"];</code>
* @return The classPath.
*/
public java.lang.String getClassPath() {
java.lang.Object ref = classPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
classPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string class_path = 9 [json_name = "classPath"];</code>
* @return The bytes for classPath.
*/
public com.google.protobuf.ByteString
getClassPathBytes() {
java.lang.Object ref = classPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
classPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string class_path = 9 [json_name = "classPath"];</code>
* @param value The classPath to set.
* @return This builder for chaining.
*/
public Builder setClassPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
classPath_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional string class_path = 9 [json_name = "classPath"];</code>
* @return This builder for chaining.
*/
public Builder clearClassPath() {
classPath_ = getDefaultInstance().getClassPath();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* <code>optional string class_path = 9 [json_name = "classPath"];</code>
* @param value The bytes for classPath to set.
* @return This builder for chaining.
*/
public Builder setClassPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
classPath_ = value;
bitField0_ |= 0x00000100;
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.graph.v1.FeatureSet)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.FeatureSet)
private static final ai.chalk.protos.chalk.graph.v1.FeatureSet DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.FeatureSet();
}
public static ai.chalk.protos.chalk.graph.v1.FeatureSet getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FeatureSet>
PARSER = new com.google.protobuf.AbstractParser<FeatureSet>() {
@java.lang.Override
public FeatureSet 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<FeatureSet> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FeatureSet> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureSet getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FeatureSetOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface FeatureSetOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.FeatureSet)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureType>
getFeaturesList();
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureType getFeatures(int index);
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
int getFeaturesCount();
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureTypeOrBuilder>
getFeaturesOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureTypeOrBuilder getFeaturesOrBuilder(
int index);
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
* @return Whether the maxStalenessDuration field is set.
*/
boolean hasMaxStalenessDuration();
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
* @return The maxStalenessDuration.
*/
com.google.protobuf.Duration getMaxStalenessDuration();
/**
* <code>.google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];</code>
*/
com.google.protobuf.DurationOrBuilder getMaxStalenessDurationOrBuilder();
/**
* <code>bool is_singleton = 4 [json_name = "isSingleton"];</code>
* @return The isSingleton.
*/
boolean getIsSingleton();
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
java.util.List<java.lang.String>
getTagsList();
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return The count of tags.
*/
int getTagsCount();
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
java.lang.String getTags(int index);
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return The owner.
*/
java.lang.String getOwner();
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
/**
* <pre>
* The docstring of the class on which the features are defined.
* </pre>
*
* <code>optional string doc = 7 [json_name = "doc"];</code>
* @return Whether the doc field is set.
*/
boolean hasDoc();
/**
* <pre>
* The docstring of the class on which the features are defined.
* </pre>
*
* <code>optional string doc = 7 [json_name = "doc"];</code>
* @return The doc.
*/
java.lang.String getDoc();
/**
* <pre>
* The docstring of the class on which the features are defined.
* </pre>
*
* <code>optional string doc = 7 [json_name = "doc"];</code>
* @return The bytes for doc.
*/
com.google.protobuf.ByteString
getDocBytes();
/**
* <code>optional bool etl_offline_to_online = 8 [json_name = "etlOfflineToOnline"];</code>
* @return Whether the etlOfflineToOnline field is set.
*/
boolean hasEtlOfflineToOnline();
/**
* <code>optional bool etl_offline_to_online = 8 [json_name = "etlOfflineToOnline"];</code>
* @return The etlOfflineToOnline.
*/
boolean getEtlOfflineToOnline();
/**
* <code>optional string class_path = 9 [json_name = "classPath"];</code>
* @return Whether the classPath field is set.
*/
boolean hasClassPath();
/**
* <code>optional string class_path = 9 [json_name = "classPath"];</code>
* @return The classPath.
*/
java.lang.String getClassPath();
/**
* <code>optional string class_path = 9 [json_name = "classPath"];</code>
* @return The bytes for classPath.
*/
com.google.protobuf.ByteString
getClassPathBytes();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FeatureTimeFeatureType.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.FeatureTimeFeatureType}
*/
public final class FeatureTimeFeatureType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.FeatureTimeFeatureType)
FeatureTimeFeatureTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use FeatureTimeFeatureType.newBuilder() to construct.
private FeatureTimeFeatureType(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FeatureTimeFeatureType() {
name_ = "";
namespace_ = "";
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
description_ = "";
owner_ = "";
attributeName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FeatureTimeFeatureType();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureTimeFeatureType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureTimeFeatureType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.class, ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int 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 IS_AUTOGENERATED_FIELD_NUMBER = 3;
private boolean isAutogenerated_ = false;
/**
* <code>bool is_autogenerated = 3 [json_name = "isAutogenerated"];</code>
* @return The isAutogenerated.
*/
@java.lang.Override
public boolean getIsAutogenerated() {
return isAutogenerated_;
}
public static final int TAGS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
public static final int DESCRIPTION_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object description_ = "";
/**
* <code>optional string description = 5 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
@java.lang.Override
public boolean hasDescription() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string description = 5 [json_name = "description"];</code>
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* <code>optional string description = 5 [json_name = "description"];</code>
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OWNER_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object owner_ = "";
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
@java.lang.Override
public boolean hasOwner() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
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();
owner_ = s;
return s;
}
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ATTRIBUTE_NAME_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object attributeName_ = "";
/**
* <code>string attribute_name = 7 [json_name = "attributeName"];</code>
* @return The attributeName.
*/
@java.lang.Override
public java.lang.String getAttributeName() {
java.lang.Object ref = attributeName_;
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();
attributeName_ = s;
return s;
}
}
/**
* <code>string attribute_name = 7 [json_name = "attributeName"];</code>
* @return The bytes for attributeName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAttributeNameBytes() {
java.lang.Object ref = attributeName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attributeName_ = 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_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_);
}
if (isAutogenerated_ != false) {
output.writeBool(3, isAutogenerated_);
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, tags_.getRaw(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, owner_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, attributeName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_);
}
if (isAutogenerated_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, isAutogenerated_);
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().size();
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, owner_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, attributeName_);
}
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.graph.v1.FeatureTimeFeatureType)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType other = (ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getNamespace()
.equals(other.getNamespace())) return false;
if (getIsAutogenerated()
!= other.getIsAutogenerated()) return false;
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (hasDescription() != other.hasDescription()) return false;
if (hasDescription()) {
if (!getDescription()
.equals(other.getDescription())) return false;
}
if (hasOwner() != other.hasOwner()) return false;
if (hasOwner()) {
if (!getOwner()
.equals(other.getOwner())) return false;
}
if (!getAttributeName()
.equals(other.getAttributeName())) 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 = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
hash = (37 * hash) + IS_AUTOGENERATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsAutogenerated());
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (hasDescription()) {
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
hash = (37 * hash) + ATTRIBUTE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getAttributeName().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType 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.graph.v1.FeatureTimeFeatureType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType 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.graph.v1.FeatureTimeFeatureType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType 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.graph.v1.FeatureTimeFeatureType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType 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.graph.v1.FeatureTimeFeatureType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType 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.graph.v1.FeatureTimeFeatureType 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.graph.v1.FeatureTimeFeatureType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.FeatureTimeFeatureType)
ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureTimeFeatureType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureTimeFeatureType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.class, ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
namespace_ = "";
isAutogenerated_ = false;
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
description_ = "";
owner_ = "";
attributeName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureTimeFeatureType_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType build() {
ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType buildPartial() {
ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType result = new ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.namespace_ = namespace_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.isAutogenerated_ = isAutogenerated_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
tags_.makeImmutable();
result.tags_ = tags_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.description_ = description_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.owner_ = owner_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.attributeName_ = attributeName_;
}
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.graph.v1.FeatureTimeFeatureType) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType other) {
if (other == ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getNamespace().isEmpty()) {
namespace_ = other.namespace_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.getIsAutogenerated() != false) {
setIsAutogenerated(other.getIsAutogenerated());
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ |= 0x00000008;
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
if (other.hasDescription()) {
description_ = other.description_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.hasOwner()) {
owner_ = other.owner_;
bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getAttributeName().isEmpty()) {
attributeName_ = other.attributeName_;
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: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
namespace_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
isAutogenerated_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
java.lang.String s = input.readStringRequireUtf8();
ensureTagsIsMutable();
tags_.add(s);
break;
} // case 34
case 42: {
description_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
owner_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
attributeName_ = 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 name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private 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 boolean isAutogenerated_ ;
/**
* <code>bool is_autogenerated = 3 [json_name = "isAutogenerated"];</code>
* @return The isAutogenerated.
*/
@java.lang.Override
public boolean getIsAutogenerated() {
return isAutogenerated_;
}
/**
* <code>bool is_autogenerated = 3 [json_name = "isAutogenerated"];</code>
* @param value The isAutogenerated to set.
* @return This builder for chaining.
*/
public Builder setIsAutogenerated(boolean value) {
isAutogenerated_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>bool is_autogenerated = 3 [json_name = "isAutogenerated"];</code>
* @return This builder for chaining.
*/
public Builder clearIsAutogenerated() {
bitField0_ = (bitField0_ & ~0x00000004);
isAutogenerated_ = false;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureTagsIsMutable() {
if (!tags_.isModifiable()) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
}
bitField0_ |= 0x00000008;
}
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
tags_.makeImmutable();
return tags_;
}
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @param index The index to set the value at.
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.set(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @param value The tags to add.
* @return This builder for chaining.
*/
public Builder addTags(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @param values The tags to add.
* @return This builder for chaining.
*/
public Builder addAllTags(
java.lang.Iterable<java.lang.String> values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @return This builder for chaining.
*/
public Builder clearTags() {
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);;
onChanged();
return this;
}
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @param value The bytes of the tags to add.
* @return This builder for chaining.
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* <code>optional string description = 5 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string description = 5 [json_name = "description"];</code>
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string description = 5 [json_name = "description"];</code>
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string description = 5 [json_name = "description"];</code>
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
description_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional string description = 5 [json_name = "description"];</code>
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>optional string description = 5 [json_name = "description"];</code>
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
description_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object owner_ = "";
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
public boolean hasOwner() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
owner_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
owner_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
owner_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object attributeName_ = "";
/**
* <code>string attribute_name = 7 [json_name = "attributeName"];</code>
* @return The attributeName.
*/
public java.lang.String getAttributeName() {
java.lang.Object ref = attributeName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attributeName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string attribute_name = 7 [json_name = "attributeName"];</code>
* @return The bytes for attributeName.
*/
public com.google.protobuf.ByteString
getAttributeNameBytes() {
java.lang.Object ref = attributeName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attributeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string attribute_name = 7 [json_name = "attributeName"];</code>
* @param value The attributeName to set.
* @return This builder for chaining.
*/
public Builder setAttributeName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
attributeName_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>string attribute_name = 7 [json_name = "attributeName"];</code>
* @return This builder for chaining.
*/
public Builder clearAttributeName() {
attributeName_ = getDefaultInstance().getAttributeName();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* <code>string attribute_name = 7 [json_name = "attributeName"];</code>
* @param value The bytes for attributeName to set.
* @return This builder for chaining.
*/
public Builder setAttributeNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
attributeName_ = 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.graph.v1.FeatureTimeFeatureType)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.FeatureTimeFeatureType)
private static final ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType();
}
public static ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FeatureTimeFeatureType>
PARSER = new com.google.protobuf.AbstractParser<FeatureTimeFeatureType>() {
@java.lang.Override
public FeatureTimeFeatureType 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<FeatureTimeFeatureType> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FeatureTimeFeatureType> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FeatureTimeFeatureTypeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface FeatureTimeFeatureTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.FeatureTimeFeatureType)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>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();
/**
* <code>bool is_autogenerated = 3 [json_name = "isAutogenerated"];</code>
* @return The isAutogenerated.
*/
boolean getIsAutogenerated();
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
java.util.List<java.lang.String>
getTagsList();
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @return The count of tags.
*/
int getTagsCount();
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
java.lang.String getTags(int index);
/**
* <code>repeated string tags = 4 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
/**
* <code>optional string description = 5 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
* <code>optional string description = 5 [json_name = "description"];</code>
* @return The description.
*/
java.lang.String getDescription();
/**
* <code>optional string description = 5 [json_name = "description"];</code>
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return The owner.
*/
java.lang.String getOwner();
/**
* <code>optional string owner = 6 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
/**
* <code>string attribute_name = 7 [json_name = "attributeName"];</code>
* @return The attributeName.
*/
java.lang.String getAttributeName();
/**
* <code>string attribute_name = 7 [json_name = "attributeName"];</code>
* @return The bytes for attributeName.
*/
com.google.protobuf.ByteString
getAttributeNameBytes();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FeatureType.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.FeatureType}
*/
public final class FeatureType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.FeatureType)
FeatureTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use FeatureType.newBuilder() to construct.
private FeatureType(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FeatureType() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FeatureType();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FeatureType.class, ai.chalk.protos.chalk.graph.v1.FeatureType.Builder.class);
}
private int typeCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object type_;
public enum TypeCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
SCALAR(1),
HAS_ONE(2),
HAS_MANY(3),
FEATURE_TIME(4),
WINDOWED(5),
GROUP_BY(6),
TYPE_NOT_SET(0);
private final int value;
private TypeCase(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 TypeCase valueOf(int value) {
return forNumber(value);
}
public static TypeCase forNumber(int value) {
switch (value) {
case 1: return SCALAR;
case 2: return HAS_ONE;
case 3: return HAS_MANY;
case 4: return FEATURE_TIME;
case 5: return WINDOWED;
case 6: return GROUP_BY;
case 0: return TYPE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public TypeCase
getTypeCase() {
return TypeCase.forNumber(
typeCase_);
}
public static final int SCALAR_FIELD_NUMBER = 1;
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
* @return Whether the scalar field is set.
*/
@java.lang.Override
public boolean hasScalar() {
return typeCase_ == 1;
}
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
* @return The scalar.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ScalarFeatureType getScalar() {
if (typeCase_ == 1) {
return (ai.chalk.protos.chalk.graph.v1.ScalarFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ScalarFeatureTypeOrBuilder getScalarOrBuilder() {
if (typeCase_ == 1) {
return (ai.chalk.protos.chalk.graph.v1.ScalarFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.getDefaultInstance();
}
public static final int HAS_ONE_FIELD_NUMBER = 2;
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
* @return Whether the hasOne field is set.
*/
@java.lang.Override
public boolean hasHasOne() {
return typeCase_ == 2;
}
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
* @return The hasOne.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasOneFeatureType getHasOne() {
if (typeCase_ == 2) {
return (ai.chalk.protos.chalk.graph.v1.HasOneFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasOneFeatureTypeOrBuilder getHasOneOrBuilder() {
if (typeCase_ == 2) {
return (ai.chalk.protos.chalk.graph.v1.HasOneFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.getDefaultInstance();
}
public static final int HAS_MANY_FIELD_NUMBER = 3;
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
* @return Whether the hasMany field is set.
*/
@java.lang.Override
public boolean hasHasMany() {
return typeCase_ == 3;
}
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
* @return The hasMany.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasManyFeatureType getHasMany() {
if (typeCase_ == 3) {
return (ai.chalk.protos.chalk.graph.v1.HasManyFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasManyFeatureTypeOrBuilder getHasManyOrBuilder() {
if (typeCase_ == 3) {
return (ai.chalk.protos.chalk.graph.v1.HasManyFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.getDefaultInstance();
}
public static final int FEATURE_TIME_FIELD_NUMBER = 4;
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
* @return Whether the featureTime field is set.
*/
@java.lang.Override
public boolean hasFeatureTime() {
return typeCase_ == 4;
}
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
* @return The featureTime.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType getFeatureTime() {
if (typeCase_ == 4) {
return (ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureTypeOrBuilder getFeatureTimeOrBuilder() {
if (typeCase_ == 4) {
return (ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.getDefaultInstance();
}
public static final int WINDOWED_FIELD_NUMBER = 5;
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
* @return Whether the windowed field is set.
*/
@java.lang.Override
public boolean hasWindowed() {
return typeCase_ == 5;
}
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
* @return The windowed.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.WindowedFeatureType getWindowed() {
if (typeCase_ == 5) {
return (ai.chalk.protos.chalk.graph.v1.WindowedFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.WindowedFeatureTypeOrBuilder getWindowedOrBuilder() {
if (typeCase_ == 5) {
return (ai.chalk.protos.chalk.graph.v1.WindowedFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.getDefaultInstance();
}
public static final int GROUP_BY_FIELD_NUMBER = 6;
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
* @return Whether the groupBy field is set.
*/
@java.lang.Override
public boolean hasGroupBy() {
return typeCase_ == 6;
}
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
* @return The groupBy.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.GroupByFeatureType getGroupBy() {
if (typeCase_ == 6) {
return (ai.chalk.protos.chalk.graph.v1.GroupByFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.getDefaultInstance();
}
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.GroupByFeatureTypeOrBuilder getGroupByOrBuilder() {
if (typeCase_ == 6) {
return (ai.chalk.protos.chalk.graph.v1.GroupByFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.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 (typeCase_ == 1) {
output.writeMessage(1, (ai.chalk.protos.chalk.graph.v1.ScalarFeatureType) type_);
}
if (typeCase_ == 2) {
output.writeMessage(2, (ai.chalk.protos.chalk.graph.v1.HasOneFeatureType) type_);
}
if (typeCase_ == 3) {
output.writeMessage(3, (ai.chalk.protos.chalk.graph.v1.HasManyFeatureType) type_);
}
if (typeCase_ == 4) {
output.writeMessage(4, (ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType) type_);
}
if (typeCase_ == 5) {
output.writeMessage(5, (ai.chalk.protos.chalk.graph.v1.WindowedFeatureType) type_);
}
if (typeCase_ == 6) {
output.writeMessage(6, (ai.chalk.protos.chalk.graph.v1.GroupByFeatureType) type_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (typeCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (ai.chalk.protos.chalk.graph.v1.ScalarFeatureType) type_);
}
if (typeCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (ai.chalk.protos.chalk.graph.v1.HasOneFeatureType) type_);
}
if (typeCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (ai.chalk.protos.chalk.graph.v1.HasManyFeatureType) type_);
}
if (typeCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType) type_);
}
if (typeCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (ai.chalk.protos.chalk.graph.v1.WindowedFeatureType) type_);
}
if (typeCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (ai.chalk.protos.chalk.graph.v1.GroupByFeatureType) type_);
}
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.graph.v1.FeatureType)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.FeatureType other = (ai.chalk.protos.chalk.graph.v1.FeatureType) obj;
if (!getTypeCase().equals(other.getTypeCase())) return false;
switch (typeCase_) {
case 1:
if (!getScalar()
.equals(other.getScalar())) return false;
break;
case 2:
if (!getHasOne()
.equals(other.getHasOne())) return false;
break;
case 3:
if (!getHasMany()
.equals(other.getHasMany())) return false;
break;
case 4:
if (!getFeatureTime()
.equals(other.getFeatureTime())) return false;
break;
case 5:
if (!getWindowed()
.equals(other.getWindowed())) return false;
break;
case 6:
if (!getGroupBy()
.equals(other.getGroupBy())) 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 (typeCase_) {
case 1:
hash = (37 * hash) + SCALAR_FIELD_NUMBER;
hash = (53 * hash) + getScalar().hashCode();
break;
case 2:
hash = (37 * hash) + HAS_ONE_FIELD_NUMBER;
hash = (53 * hash) + getHasOne().hashCode();
break;
case 3:
hash = (37 * hash) + HAS_MANY_FIELD_NUMBER;
hash = (53 * hash) + getHasMany().hashCode();
break;
case 4:
hash = (37 * hash) + FEATURE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getFeatureTime().hashCode();
break;
case 5:
hash = (37 * hash) + WINDOWED_FIELD_NUMBER;
hash = (53 * hash) + getWindowed().hashCode();
break;
case 6:
hash = (37 * hash) + GROUP_BY_FIELD_NUMBER;
hash = (53 * hash) + getGroupBy().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.FeatureType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureType 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.graph.v1.FeatureType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureType 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.graph.v1.FeatureType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureType 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.graph.v1.FeatureType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureType 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.graph.v1.FeatureType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureType 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.graph.v1.FeatureType 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.graph.v1.FeatureType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.FeatureType)
ai.chalk.protos.chalk.graph.v1.FeatureTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FeatureType.class, ai.chalk.protos.chalk.graph.v1.FeatureType.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.FeatureType.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (scalarBuilder_ != null) {
scalarBuilder_.clear();
}
if (hasOneBuilder_ != null) {
hasOneBuilder_.clear();
}
if (hasManyBuilder_ != null) {
hasManyBuilder_.clear();
}
if (featureTimeBuilder_ != null) {
featureTimeBuilder_.clear();
}
if (windowedBuilder_ != null) {
windowedBuilder_.clear();
}
if (groupByBuilder_ != null) {
groupByBuilder_.clear();
}
typeCase_ = 0;
type_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureType_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureType getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.FeatureType.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureType build() {
ai.chalk.protos.chalk.graph.v1.FeatureType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureType buildPartial() {
ai.chalk.protos.chalk.graph.v1.FeatureType result = new ai.chalk.protos.chalk.graph.v1.FeatureType(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.FeatureType result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(ai.chalk.protos.chalk.graph.v1.FeatureType result) {
result.typeCase_ = typeCase_;
result.type_ = this.type_;
if (typeCase_ == 1 &&
scalarBuilder_ != null) {
result.type_ = scalarBuilder_.build();
}
if (typeCase_ == 2 &&
hasOneBuilder_ != null) {
result.type_ = hasOneBuilder_.build();
}
if (typeCase_ == 3 &&
hasManyBuilder_ != null) {
result.type_ = hasManyBuilder_.build();
}
if (typeCase_ == 4 &&
featureTimeBuilder_ != null) {
result.type_ = featureTimeBuilder_.build();
}
if (typeCase_ == 5 &&
windowedBuilder_ != null) {
result.type_ = windowedBuilder_.build();
}
if (typeCase_ == 6 &&
groupByBuilder_ != null) {
result.type_ = groupByBuilder_.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.graph.v1.FeatureType) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.FeatureType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.FeatureType other) {
if (other == ai.chalk.protos.chalk.graph.v1.FeatureType.getDefaultInstance()) return this;
switch (other.getTypeCase()) {
case SCALAR: {
mergeScalar(other.getScalar());
break;
}
case HAS_ONE: {
mergeHasOne(other.getHasOne());
break;
}
case HAS_MANY: {
mergeHasMany(other.getHasMany());
break;
}
case FEATURE_TIME: {
mergeFeatureTime(other.getFeatureTime());
break;
}
case WINDOWED: {
mergeWindowed(other.getWindowed());
break;
}
case GROUP_BY: {
mergeGroupBy(other.getGroupBy());
break;
}
case TYPE_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(
getScalarFieldBuilder().getBuilder(),
extensionRegistry);
typeCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getHasOneFieldBuilder().getBuilder(),
extensionRegistry);
typeCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getHasManyFieldBuilder().getBuilder(),
extensionRegistry);
typeCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getFeatureTimeFieldBuilder().getBuilder(),
extensionRegistry);
typeCase_ = 4;
break;
} // case 34
case 42: {
input.readMessage(
getWindowedFieldBuilder().getBuilder(),
extensionRegistry);
typeCase_ = 5;
break;
} // case 42
case 50: {
input.readMessage(
getGroupByFieldBuilder().getBuilder(),
extensionRegistry);
typeCase_ = 6;
break;
} // case 50
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 typeCase_ = 0;
private java.lang.Object type_;
public TypeCase
getTypeCase() {
return TypeCase.forNumber(
typeCase_);
}
public Builder clearType() {
typeCase_ = 0;
type_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.ScalarFeatureType, ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.ScalarFeatureTypeOrBuilder> scalarBuilder_;
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
* @return Whether the scalar field is set.
*/
@java.lang.Override
public boolean hasScalar() {
return typeCase_ == 1;
}
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
* @return The scalar.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ScalarFeatureType getScalar() {
if (scalarBuilder_ == null) {
if (typeCase_ == 1) {
return (ai.chalk.protos.chalk.graph.v1.ScalarFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.getDefaultInstance();
} else {
if (typeCase_ == 1) {
return scalarBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
*/
public Builder setScalar(ai.chalk.protos.chalk.graph.v1.ScalarFeatureType value) {
if (scalarBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
} else {
scalarBuilder_.setMessage(value);
}
typeCase_ = 1;
return this;
}
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
*/
public Builder setScalar(
ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.Builder builderForValue) {
if (scalarBuilder_ == null) {
type_ = builderForValue.build();
onChanged();
} else {
scalarBuilder_.setMessage(builderForValue.build());
}
typeCase_ = 1;
return this;
}
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
*/
public Builder mergeScalar(ai.chalk.protos.chalk.graph.v1.ScalarFeatureType value) {
if (scalarBuilder_ == null) {
if (typeCase_ == 1 &&
type_ != ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.getDefaultInstance()) {
type_ = ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.newBuilder((ai.chalk.protos.chalk.graph.v1.ScalarFeatureType) type_)
.mergeFrom(value).buildPartial();
} else {
type_ = value;
}
onChanged();
} else {
if (typeCase_ == 1) {
scalarBuilder_.mergeFrom(value);
} else {
scalarBuilder_.setMessage(value);
}
}
typeCase_ = 1;
return this;
}
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
*/
public Builder clearScalar() {
if (scalarBuilder_ == null) {
if (typeCase_ == 1) {
typeCase_ = 0;
type_ = null;
onChanged();
}
} else {
if (typeCase_ == 1) {
typeCase_ = 0;
type_ = null;
}
scalarBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.Builder getScalarBuilder() {
return getScalarFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ScalarFeatureTypeOrBuilder getScalarOrBuilder() {
if ((typeCase_ == 1) && (scalarBuilder_ != null)) {
return scalarBuilder_.getMessageOrBuilder();
} else {
if (typeCase_ == 1) {
return (ai.chalk.protos.chalk.graph.v1.ScalarFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.ScalarFeatureType, ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.ScalarFeatureTypeOrBuilder>
getScalarFieldBuilder() {
if (scalarBuilder_ == null) {
if (!(typeCase_ == 1)) {
type_ = ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.getDefaultInstance();
}
scalarBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.ScalarFeatureType, ai.chalk.protos.chalk.graph.v1.ScalarFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.ScalarFeatureTypeOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.ScalarFeatureType) type_,
getParentForChildren(),
isClean());
type_ = null;
}
typeCase_ = 1;
onChanged();
return scalarBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.HasOneFeatureType, ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.HasOneFeatureTypeOrBuilder> hasOneBuilder_;
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
* @return Whether the hasOne field is set.
*/
@java.lang.Override
public boolean hasHasOne() {
return typeCase_ == 2;
}
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
* @return The hasOne.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasOneFeatureType getHasOne() {
if (hasOneBuilder_ == null) {
if (typeCase_ == 2) {
return (ai.chalk.protos.chalk.graph.v1.HasOneFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.getDefaultInstance();
} else {
if (typeCase_ == 2) {
return hasOneBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
*/
public Builder setHasOne(ai.chalk.protos.chalk.graph.v1.HasOneFeatureType value) {
if (hasOneBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
} else {
hasOneBuilder_.setMessage(value);
}
typeCase_ = 2;
return this;
}
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
*/
public Builder setHasOne(
ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.Builder builderForValue) {
if (hasOneBuilder_ == null) {
type_ = builderForValue.build();
onChanged();
} else {
hasOneBuilder_.setMessage(builderForValue.build());
}
typeCase_ = 2;
return this;
}
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
*/
public Builder mergeHasOne(ai.chalk.protos.chalk.graph.v1.HasOneFeatureType value) {
if (hasOneBuilder_ == null) {
if (typeCase_ == 2 &&
type_ != ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.getDefaultInstance()) {
type_ = ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.newBuilder((ai.chalk.protos.chalk.graph.v1.HasOneFeatureType) type_)
.mergeFrom(value).buildPartial();
} else {
type_ = value;
}
onChanged();
} else {
if (typeCase_ == 2) {
hasOneBuilder_.mergeFrom(value);
} else {
hasOneBuilder_.setMessage(value);
}
}
typeCase_ = 2;
return this;
}
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
*/
public Builder clearHasOne() {
if (hasOneBuilder_ == null) {
if (typeCase_ == 2) {
typeCase_ = 0;
type_ = null;
onChanged();
}
} else {
if (typeCase_ == 2) {
typeCase_ = 0;
type_ = null;
}
hasOneBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.Builder getHasOneBuilder() {
return getHasOneFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasOneFeatureTypeOrBuilder getHasOneOrBuilder() {
if ((typeCase_ == 2) && (hasOneBuilder_ != null)) {
return hasOneBuilder_.getMessageOrBuilder();
} else {
if (typeCase_ == 2) {
return (ai.chalk.protos.chalk.graph.v1.HasOneFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.HasOneFeatureType, ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.HasOneFeatureTypeOrBuilder>
getHasOneFieldBuilder() {
if (hasOneBuilder_ == null) {
if (!(typeCase_ == 2)) {
type_ = ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.getDefaultInstance();
}
hasOneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.HasOneFeatureType, ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.HasOneFeatureTypeOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.HasOneFeatureType) type_,
getParentForChildren(),
isClean());
type_ = null;
}
typeCase_ = 2;
onChanged();
return hasOneBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.HasManyFeatureType, ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.HasManyFeatureTypeOrBuilder> hasManyBuilder_;
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
* @return Whether the hasMany field is set.
*/
@java.lang.Override
public boolean hasHasMany() {
return typeCase_ == 3;
}
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
* @return The hasMany.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasManyFeatureType getHasMany() {
if (hasManyBuilder_ == null) {
if (typeCase_ == 3) {
return (ai.chalk.protos.chalk.graph.v1.HasManyFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.getDefaultInstance();
} else {
if (typeCase_ == 3) {
return hasManyBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
*/
public Builder setHasMany(ai.chalk.protos.chalk.graph.v1.HasManyFeatureType value) {
if (hasManyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
} else {
hasManyBuilder_.setMessage(value);
}
typeCase_ = 3;
return this;
}
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
*/
public Builder setHasMany(
ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.Builder builderForValue) {
if (hasManyBuilder_ == null) {
type_ = builderForValue.build();
onChanged();
} else {
hasManyBuilder_.setMessage(builderForValue.build());
}
typeCase_ = 3;
return this;
}
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
*/
public Builder mergeHasMany(ai.chalk.protos.chalk.graph.v1.HasManyFeatureType value) {
if (hasManyBuilder_ == null) {
if (typeCase_ == 3 &&
type_ != ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.getDefaultInstance()) {
type_ = ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.newBuilder((ai.chalk.protos.chalk.graph.v1.HasManyFeatureType) type_)
.mergeFrom(value).buildPartial();
} else {
type_ = value;
}
onChanged();
} else {
if (typeCase_ == 3) {
hasManyBuilder_.mergeFrom(value);
} else {
hasManyBuilder_.setMessage(value);
}
}
typeCase_ = 3;
return this;
}
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
*/
public Builder clearHasMany() {
if (hasManyBuilder_ == null) {
if (typeCase_ == 3) {
typeCase_ = 0;
type_ = null;
onChanged();
}
} else {
if (typeCase_ == 3) {
typeCase_ = 0;
type_ = null;
}
hasManyBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.Builder getHasManyBuilder() {
return getHasManyFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasManyFeatureTypeOrBuilder getHasManyOrBuilder() {
if ((typeCase_ == 3) && (hasManyBuilder_ != null)) {
return hasManyBuilder_.getMessageOrBuilder();
} else {
if (typeCase_ == 3) {
return (ai.chalk.protos.chalk.graph.v1.HasManyFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.HasManyFeatureType, ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.HasManyFeatureTypeOrBuilder>
getHasManyFieldBuilder() {
if (hasManyBuilder_ == null) {
if (!(typeCase_ == 3)) {
type_ = ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.getDefaultInstance();
}
hasManyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.HasManyFeatureType, ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.HasManyFeatureTypeOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.HasManyFeatureType) type_,
getParentForChildren(),
isClean());
type_ = null;
}
typeCase_ = 3;
onChanged();
return hasManyBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType, ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureTypeOrBuilder> featureTimeBuilder_;
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
* @return Whether the featureTime field is set.
*/
@java.lang.Override
public boolean hasFeatureTime() {
return typeCase_ == 4;
}
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
* @return The featureTime.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType getFeatureTime() {
if (featureTimeBuilder_ == null) {
if (typeCase_ == 4) {
return (ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.getDefaultInstance();
} else {
if (typeCase_ == 4) {
return featureTimeBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
*/
public Builder setFeatureTime(ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType value) {
if (featureTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
} else {
featureTimeBuilder_.setMessage(value);
}
typeCase_ = 4;
return this;
}
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
*/
public Builder setFeatureTime(
ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.Builder builderForValue) {
if (featureTimeBuilder_ == null) {
type_ = builderForValue.build();
onChanged();
} else {
featureTimeBuilder_.setMessage(builderForValue.build());
}
typeCase_ = 4;
return this;
}
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
*/
public Builder mergeFeatureTime(ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType value) {
if (featureTimeBuilder_ == null) {
if (typeCase_ == 4 &&
type_ != ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.getDefaultInstance()) {
type_ = ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.newBuilder((ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType) type_)
.mergeFrom(value).buildPartial();
} else {
type_ = value;
}
onChanged();
} else {
if (typeCase_ == 4) {
featureTimeBuilder_.mergeFrom(value);
} else {
featureTimeBuilder_.setMessage(value);
}
}
typeCase_ = 4;
return this;
}
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
*/
public Builder clearFeatureTime() {
if (featureTimeBuilder_ == null) {
if (typeCase_ == 4) {
typeCase_ = 0;
type_ = null;
onChanged();
}
} else {
if (typeCase_ == 4) {
typeCase_ = 0;
type_ = null;
}
featureTimeBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.Builder getFeatureTimeBuilder() {
return getFeatureTimeFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureTypeOrBuilder getFeatureTimeOrBuilder() {
if ((typeCase_ == 4) && (featureTimeBuilder_ != null)) {
return featureTimeBuilder_.getMessageOrBuilder();
} else {
if (typeCase_ == 4) {
return (ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType, ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureTypeOrBuilder>
getFeatureTimeFieldBuilder() {
if (featureTimeBuilder_ == null) {
if (!(typeCase_ == 4)) {
type_ = ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.getDefaultInstance();
}
featureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType, ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureTypeOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType) type_,
getParentForChildren(),
isClean());
type_ = null;
}
typeCase_ = 4;
onChanged();
return featureTimeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.WindowedFeatureType, ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.WindowedFeatureTypeOrBuilder> windowedBuilder_;
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
* @return Whether the windowed field is set.
*/
@java.lang.Override
public boolean hasWindowed() {
return typeCase_ == 5;
}
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
* @return The windowed.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.WindowedFeatureType getWindowed() {
if (windowedBuilder_ == null) {
if (typeCase_ == 5) {
return (ai.chalk.protos.chalk.graph.v1.WindowedFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.getDefaultInstance();
} else {
if (typeCase_ == 5) {
return windowedBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
*/
public Builder setWindowed(ai.chalk.protos.chalk.graph.v1.WindowedFeatureType value) {
if (windowedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
} else {
windowedBuilder_.setMessage(value);
}
typeCase_ = 5;
return this;
}
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
*/
public Builder setWindowed(
ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.Builder builderForValue) {
if (windowedBuilder_ == null) {
type_ = builderForValue.build();
onChanged();
} else {
windowedBuilder_.setMessage(builderForValue.build());
}
typeCase_ = 5;
return this;
}
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
*/
public Builder mergeWindowed(ai.chalk.protos.chalk.graph.v1.WindowedFeatureType value) {
if (windowedBuilder_ == null) {
if (typeCase_ == 5 &&
type_ != ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.getDefaultInstance()) {
type_ = ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.newBuilder((ai.chalk.protos.chalk.graph.v1.WindowedFeatureType) type_)
.mergeFrom(value).buildPartial();
} else {
type_ = value;
}
onChanged();
} else {
if (typeCase_ == 5) {
windowedBuilder_.mergeFrom(value);
} else {
windowedBuilder_.setMessage(value);
}
}
typeCase_ = 5;
return this;
}
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
*/
public Builder clearWindowed() {
if (windowedBuilder_ == null) {
if (typeCase_ == 5) {
typeCase_ = 0;
type_ = null;
onChanged();
}
} else {
if (typeCase_ == 5) {
typeCase_ = 0;
type_ = null;
}
windowedBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.Builder getWindowedBuilder() {
return getWindowedFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.WindowedFeatureTypeOrBuilder getWindowedOrBuilder() {
if ((typeCase_ == 5) && (windowedBuilder_ != null)) {
return windowedBuilder_.getMessageOrBuilder();
} else {
if (typeCase_ == 5) {
return (ai.chalk.protos.chalk.graph.v1.WindowedFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.WindowedFeatureType, ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.WindowedFeatureTypeOrBuilder>
getWindowedFieldBuilder() {
if (windowedBuilder_ == null) {
if (!(typeCase_ == 5)) {
type_ = ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.getDefaultInstance();
}
windowedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.WindowedFeatureType, ai.chalk.protos.chalk.graph.v1.WindowedFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.WindowedFeatureTypeOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.WindowedFeatureType) type_,
getParentForChildren(),
isClean());
type_ = null;
}
typeCase_ = 5;
onChanged();
return windowedBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.GroupByFeatureType, ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.GroupByFeatureTypeOrBuilder> groupByBuilder_;
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
* @return Whether the groupBy field is set.
*/
@java.lang.Override
public boolean hasGroupBy() {
return typeCase_ == 6;
}
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
* @return The groupBy.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.GroupByFeatureType getGroupBy() {
if (groupByBuilder_ == null) {
if (typeCase_ == 6) {
return (ai.chalk.protos.chalk.graph.v1.GroupByFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.getDefaultInstance();
} else {
if (typeCase_ == 6) {
return groupByBuilder_.getMessage();
}
return ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
*/
public Builder setGroupBy(ai.chalk.protos.chalk.graph.v1.GroupByFeatureType value) {
if (groupByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
} else {
groupByBuilder_.setMessage(value);
}
typeCase_ = 6;
return this;
}
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
*/
public Builder setGroupBy(
ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.Builder builderForValue) {
if (groupByBuilder_ == null) {
type_ = builderForValue.build();
onChanged();
} else {
groupByBuilder_.setMessage(builderForValue.build());
}
typeCase_ = 6;
return this;
}
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
*/
public Builder mergeGroupBy(ai.chalk.protos.chalk.graph.v1.GroupByFeatureType value) {
if (groupByBuilder_ == null) {
if (typeCase_ == 6 &&
type_ != ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.getDefaultInstance()) {
type_ = ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.newBuilder((ai.chalk.protos.chalk.graph.v1.GroupByFeatureType) type_)
.mergeFrom(value).buildPartial();
} else {
type_ = value;
}
onChanged();
} else {
if (typeCase_ == 6) {
groupByBuilder_.mergeFrom(value);
} else {
groupByBuilder_.setMessage(value);
}
}
typeCase_ = 6;
return this;
}
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
*/
public Builder clearGroupBy() {
if (groupByBuilder_ == null) {
if (typeCase_ == 6) {
typeCase_ = 0;
type_ = null;
onChanged();
}
} else {
if (typeCase_ == 6) {
typeCase_ = 0;
type_ = null;
}
groupByBuilder_.clear();
}
return this;
}
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.Builder getGroupByBuilder() {
return getGroupByFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.GroupByFeatureTypeOrBuilder getGroupByOrBuilder() {
if ((typeCase_ == 6) && (groupByBuilder_ != null)) {
return groupByBuilder_.getMessageOrBuilder();
} else {
if (typeCase_ == 6) {
return (ai.chalk.protos.chalk.graph.v1.GroupByFeatureType) type_;
}
return ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.getDefaultInstance();
}
}
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.GroupByFeatureType, ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.GroupByFeatureTypeOrBuilder>
getGroupByFieldBuilder() {
if (groupByBuilder_ == null) {
if (!(typeCase_ == 6)) {
type_ = ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.getDefaultInstance();
}
groupByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.GroupByFeatureType, ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.Builder, ai.chalk.protos.chalk.graph.v1.GroupByFeatureTypeOrBuilder>(
(ai.chalk.protos.chalk.graph.v1.GroupByFeatureType) type_,
getParentForChildren(),
isClean());
type_ = null;
}
typeCase_ = 6;
onChanged();
return groupByBuilder_;
}
@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.graph.v1.FeatureType)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.FeatureType)
private static final ai.chalk.protos.chalk.graph.v1.FeatureType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.FeatureType();
}
public static ai.chalk.protos.chalk.graph.v1.FeatureType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FeatureType>
PARSER = new com.google.protobuf.AbstractParser<FeatureType>() {
@java.lang.Override
public FeatureType 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<FeatureType> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FeatureType> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FeatureTypeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface FeatureTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.FeatureType)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
* @return Whether the scalar field is set.
*/
boolean hasScalar();
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
* @return The scalar.
*/
ai.chalk.protos.chalk.graph.v1.ScalarFeatureType getScalar();
/**
* <code>.chalk.graph.v1.ScalarFeatureType scalar = 1 [json_name = "scalar"];</code>
*/
ai.chalk.protos.chalk.graph.v1.ScalarFeatureTypeOrBuilder getScalarOrBuilder();
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
* @return Whether the hasOne field is set.
*/
boolean hasHasOne();
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
* @return The hasOne.
*/
ai.chalk.protos.chalk.graph.v1.HasOneFeatureType getHasOne();
/**
* <code>.chalk.graph.v1.HasOneFeatureType has_one = 2 [json_name = "hasOne"];</code>
*/
ai.chalk.protos.chalk.graph.v1.HasOneFeatureTypeOrBuilder getHasOneOrBuilder();
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
* @return Whether the hasMany field is set.
*/
boolean hasHasMany();
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
* @return The hasMany.
*/
ai.chalk.protos.chalk.graph.v1.HasManyFeatureType getHasMany();
/**
* <code>.chalk.graph.v1.HasManyFeatureType has_many = 3 [json_name = "hasMany"];</code>
*/
ai.chalk.protos.chalk.graph.v1.HasManyFeatureTypeOrBuilder getHasManyOrBuilder();
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
* @return Whether the featureTime field is set.
*/
boolean hasFeatureTime();
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
* @return The featureTime.
*/
ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureType getFeatureTime();
/**
* <code>.chalk.graph.v1.FeatureTimeFeatureType feature_time = 4 [json_name = "featureTime"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureTimeFeatureTypeOrBuilder getFeatureTimeOrBuilder();
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
* @return Whether the windowed field is set.
*/
boolean hasWindowed();
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
* @return The windowed.
*/
ai.chalk.protos.chalk.graph.v1.WindowedFeatureType getWindowed();
/**
* <code>.chalk.graph.v1.WindowedFeatureType windowed = 5 [json_name = "windowed"];</code>
*/
ai.chalk.protos.chalk.graph.v1.WindowedFeatureTypeOrBuilder getWindowedOrBuilder();
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
* @return Whether the groupBy field is set.
*/
boolean hasGroupBy();
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
* @return The groupBy.
*/
ai.chalk.protos.chalk.graph.v1.GroupByFeatureType getGroupBy();
/**
* <code>.chalk.graph.v1.GroupByFeatureType group_by = 6 [json_name = "groupBy"];</code>
*/
ai.chalk.protos.chalk.graph.v1.GroupByFeatureTypeOrBuilder getGroupByOrBuilder();
ai.chalk.protos.chalk.graph.v1.FeatureType.TypeCase getTypeCase();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FeatureValidation.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.FeatureValidation}
*/
public final class FeatureValidation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.FeatureValidation)
FeatureValidationOrBuilder {
private static final long serialVersionUID = 0L;
// Use FeatureValidation.newBuilder() to construct.
private FeatureValidation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FeatureValidation() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FeatureValidation();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureValidation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureValidation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FeatureValidation.class, ai.chalk.protos.chalk.graph.v1.FeatureValidation.Builder.class);
}
private int validationCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object validation_;
public enum ValidationCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
MIN(1),
MAX(2),
MIN_LENGTH(3),
MAX_LENGTH(4),
VALIDATION_NOT_SET(0);
private final int value;
private ValidationCase(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 ValidationCase valueOf(int value) {
return forNumber(value);
}
public static ValidationCase forNumber(int value) {
switch (value) {
case 1: return MIN;
case 2: return MAX;
case 3: return MIN_LENGTH;
case 4: return MAX_LENGTH;
case 0: return VALIDATION_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ValidationCase
getValidationCase() {
return ValidationCase.forNumber(
validationCase_);
}
public static final int MIN_FIELD_NUMBER = 1;
/**
* <code>float min = 1 [json_name = "min"];</code>
* @return Whether the min field is set.
*/
@java.lang.Override
public boolean hasMin() {
return validationCase_ == 1;
}
/**
* <code>float min = 1 [json_name = "min"];</code>
* @return The min.
*/
@java.lang.Override
public float getMin() {
if (validationCase_ == 1) {
return (java.lang.Float) validation_;
}
return 0F;
}
public static final int MAX_FIELD_NUMBER = 2;
/**
* <code>float max = 2 [json_name = "max"];</code>
* @return Whether the max field is set.
*/
@java.lang.Override
public boolean hasMax() {
return validationCase_ == 2;
}
/**
* <code>float max = 2 [json_name = "max"];</code>
* @return The max.
*/
@java.lang.Override
public float getMax() {
if (validationCase_ == 2) {
return (java.lang.Float) validation_;
}
return 0F;
}
public static final int MIN_LENGTH_FIELD_NUMBER = 3;
/**
* <code>uint32 min_length = 3 [json_name = "minLength"];</code>
* @return Whether the minLength field is set.
*/
@java.lang.Override
public boolean hasMinLength() {
return validationCase_ == 3;
}
/**
* <code>uint32 min_length = 3 [json_name = "minLength"];</code>
* @return The minLength.
*/
@java.lang.Override
public int getMinLength() {
if (validationCase_ == 3) {
return (java.lang.Integer) validation_;
}
return 0;
}
public static final int MAX_LENGTH_FIELD_NUMBER = 4;
/**
* <code>uint32 max_length = 4 [json_name = "maxLength"];</code>
* @return Whether the maxLength field is set.
*/
@java.lang.Override
public boolean hasMaxLength() {
return validationCase_ == 4;
}
/**
* <code>uint32 max_length = 4 [json_name = "maxLength"];</code>
* @return The maxLength.
*/
@java.lang.Override
public int getMaxLength() {
if (validationCase_ == 4) {
return (java.lang.Integer) validation_;
}
return 0;
}
public static final int STRICT_FIELD_NUMBER = 5;
private boolean strict_ = false;
/**
* <code>bool strict = 5 [json_name = "strict"];</code>
* @return The strict.
*/
@java.lang.Override
public boolean getStrict() {
return strict_;
}
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 (validationCase_ == 1) {
output.writeFloat(
1, (float)((java.lang.Float) validation_));
}
if (validationCase_ == 2) {
output.writeFloat(
2, (float)((java.lang.Float) validation_));
}
if (validationCase_ == 3) {
output.writeUInt32(
3, (int)((java.lang.Integer) validation_));
}
if (validationCase_ == 4) {
output.writeUInt32(
4, (int)((java.lang.Integer) validation_));
}
if (strict_ != false) {
output.writeBool(5, strict_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (validationCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(
1, (float)((java.lang.Float) validation_));
}
if (validationCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(
2, (float)((java.lang.Float) validation_));
}
if (validationCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(
3, (int)((java.lang.Integer) validation_));
}
if (validationCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(
4, (int)((java.lang.Integer) validation_));
}
if (strict_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, strict_);
}
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.graph.v1.FeatureValidation)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.FeatureValidation other = (ai.chalk.protos.chalk.graph.v1.FeatureValidation) obj;
if (getStrict()
!= other.getStrict()) return false;
if (!getValidationCase().equals(other.getValidationCase())) return false;
switch (validationCase_) {
case 1:
if (java.lang.Float.floatToIntBits(getMin())
!= java.lang.Float.floatToIntBits(
other.getMin())) return false;
break;
case 2:
if (java.lang.Float.floatToIntBits(getMax())
!= java.lang.Float.floatToIntBits(
other.getMax())) return false;
break;
case 3:
if (getMinLength()
!= other.getMinLength()) return false;
break;
case 4:
if (getMaxLength()
!= other.getMaxLength()) 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) + STRICT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getStrict());
switch (validationCase_) {
case 1:
hash = (37 * hash) + MIN_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getMin());
break;
case 2:
hash = (37 * hash) + MAX_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getMax());
break;
case 3:
hash = (37 * hash) + MIN_LENGTH_FIELD_NUMBER;
hash = (53 * hash) + getMinLength();
break;
case 4:
hash = (37 * hash) + MAX_LENGTH_FIELD_NUMBER;
hash = (53 * hash) + getMaxLength();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.FeatureValidation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureValidation 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.graph.v1.FeatureValidation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureValidation 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.graph.v1.FeatureValidation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureValidation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureValidation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureValidation 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.graph.v1.FeatureValidation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureValidation 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.graph.v1.FeatureValidation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FeatureValidation 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.graph.v1.FeatureValidation 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.graph.v1.FeatureValidation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.FeatureValidation)
ai.chalk.protos.chalk.graph.v1.FeatureValidationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureValidation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureValidation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FeatureValidation.class, ai.chalk.protos.chalk.graph.v1.FeatureValidation.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.FeatureValidation.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
strict_ = false;
validationCase_ = 0;
validation_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FeatureValidation_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureValidation getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.FeatureValidation.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureValidation build() {
ai.chalk.protos.chalk.graph.v1.FeatureValidation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureValidation buildPartial() {
ai.chalk.protos.chalk.graph.v1.FeatureValidation result = new ai.chalk.protos.chalk.graph.v1.FeatureValidation(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.FeatureValidation result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.strict_ = strict_;
}
}
private void buildPartialOneofs(ai.chalk.protos.chalk.graph.v1.FeatureValidation result) {
result.validationCase_ = validationCase_;
result.validation_ = this.validation_;
}
@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.graph.v1.FeatureValidation) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.FeatureValidation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.FeatureValidation other) {
if (other == ai.chalk.protos.chalk.graph.v1.FeatureValidation.getDefaultInstance()) return this;
if (other.getStrict() != false) {
setStrict(other.getStrict());
}
switch (other.getValidationCase()) {
case MIN: {
setMin(other.getMin());
break;
}
case MAX: {
setMax(other.getMax());
break;
}
case MIN_LENGTH: {
setMinLength(other.getMinLength());
break;
}
case MAX_LENGTH: {
setMaxLength(other.getMaxLength());
break;
}
case VALIDATION_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 13: {
validation_ = input.readFloat();
validationCase_ = 1;
break;
} // case 13
case 21: {
validation_ = input.readFloat();
validationCase_ = 2;
break;
} // case 21
case 24: {
validation_ = input.readUInt32();
validationCase_ = 3;
break;
} // case 24
case 32: {
validation_ = input.readUInt32();
validationCase_ = 4;
break;
} // case 32
case 40: {
strict_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
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 validationCase_ = 0;
private java.lang.Object validation_;
public ValidationCase
getValidationCase() {
return ValidationCase.forNumber(
validationCase_);
}
public Builder clearValidation() {
validationCase_ = 0;
validation_ = null;
onChanged();
return this;
}
private int bitField0_;
/**
* <code>float min = 1 [json_name = "min"];</code>
* @return Whether the min field is set.
*/
public boolean hasMin() {
return validationCase_ == 1;
}
/**
* <code>float min = 1 [json_name = "min"];</code>
* @return The min.
*/
public float getMin() {
if (validationCase_ == 1) {
return (java.lang.Float) validation_;
}
return 0F;
}
/**
* <code>float min = 1 [json_name = "min"];</code>
* @param value The min to set.
* @return This builder for chaining.
*/
public Builder setMin(float value) {
validationCase_ = 1;
validation_ = value;
onChanged();
return this;
}
/**
* <code>float min = 1 [json_name = "min"];</code>
* @return This builder for chaining.
*/
public Builder clearMin() {
if (validationCase_ == 1) {
validationCase_ = 0;
validation_ = null;
onChanged();
}
return this;
}
/**
* <code>float max = 2 [json_name = "max"];</code>
* @return Whether the max field is set.
*/
public boolean hasMax() {
return validationCase_ == 2;
}
/**
* <code>float max = 2 [json_name = "max"];</code>
* @return The max.
*/
public float getMax() {
if (validationCase_ == 2) {
return (java.lang.Float) validation_;
}
return 0F;
}
/**
* <code>float max = 2 [json_name = "max"];</code>
* @param value The max to set.
* @return This builder for chaining.
*/
public Builder setMax(float value) {
validationCase_ = 2;
validation_ = value;
onChanged();
return this;
}
/**
* <code>float max = 2 [json_name = "max"];</code>
* @return This builder for chaining.
*/
public Builder clearMax() {
if (validationCase_ == 2) {
validationCase_ = 0;
validation_ = null;
onChanged();
}
return this;
}
/**
* <code>uint32 min_length = 3 [json_name = "minLength"];</code>
* @return Whether the minLength field is set.
*/
public boolean hasMinLength() {
return validationCase_ == 3;
}
/**
* <code>uint32 min_length = 3 [json_name = "minLength"];</code>
* @return The minLength.
*/
public int getMinLength() {
if (validationCase_ == 3) {
return (java.lang.Integer) validation_;
}
return 0;
}
/**
* <code>uint32 min_length = 3 [json_name = "minLength"];</code>
* @param value The minLength to set.
* @return This builder for chaining.
*/
public Builder setMinLength(int value) {
validationCase_ = 3;
validation_ = value;
onChanged();
return this;
}
/**
* <code>uint32 min_length = 3 [json_name = "minLength"];</code>
* @return This builder for chaining.
*/
public Builder clearMinLength() {
if (validationCase_ == 3) {
validationCase_ = 0;
validation_ = null;
onChanged();
}
return this;
}
/**
* <code>uint32 max_length = 4 [json_name = "maxLength"];</code>
* @return Whether the maxLength field is set.
*/
public boolean hasMaxLength() {
return validationCase_ == 4;
}
/**
* <code>uint32 max_length = 4 [json_name = "maxLength"];</code>
* @return The maxLength.
*/
public int getMaxLength() {
if (validationCase_ == 4) {
return (java.lang.Integer) validation_;
}
return 0;
}
/**
* <code>uint32 max_length = 4 [json_name = "maxLength"];</code>
* @param value The maxLength to set.
* @return This builder for chaining.
*/
public Builder setMaxLength(int value) {
validationCase_ = 4;
validation_ = value;
onChanged();
return this;
}
/**
* <code>uint32 max_length = 4 [json_name = "maxLength"];</code>
* @return This builder for chaining.
*/
public Builder clearMaxLength() {
if (validationCase_ == 4) {
validationCase_ = 0;
validation_ = null;
onChanged();
}
return this;
}
private boolean strict_ ;
/**
* <code>bool strict = 5 [json_name = "strict"];</code>
* @return The strict.
*/
@java.lang.Override
public boolean getStrict() {
return strict_;
}
/**
* <code>bool strict = 5 [json_name = "strict"];</code>
* @param value The strict to set.
* @return This builder for chaining.
*/
public Builder setStrict(boolean value) {
strict_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>bool strict = 5 [json_name = "strict"];</code>
* @return This builder for chaining.
*/
public Builder clearStrict() {
bitField0_ = (bitField0_ & ~0x00000010);
strict_ = 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.graph.v1.FeatureValidation)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.FeatureValidation)
private static final ai.chalk.protos.chalk.graph.v1.FeatureValidation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.FeatureValidation();
}
public static ai.chalk.protos.chalk.graph.v1.FeatureValidation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FeatureValidation>
PARSER = new com.google.protobuf.AbstractParser<FeatureValidation>() {
@java.lang.Override
public FeatureValidation 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<FeatureValidation> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FeatureValidation> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureValidation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FeatureValidationOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface FeatureValidationOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.FeatureValidation)
com.google.protobuf.MessageOrBuilder {
/**
* <code>float min = 1 [json_name = "min"];</code>
* @return Whether the min field is set.
*/
boolean hasMin();
/**
* <code>float min = 1 [json_name = "min"];</code>
* @return The min.
*/
float getMin();
/**
* <code>float max = 2 [json_name = "max"];</code>
* @return Whether the max field is set.
*/
boolean hasMax();
/**
* <code>float max = 2 [json_name = "max"];</code>
* @return The max.
*/
float getMax();
/**
* <code>uint32 min_length = 3 [json_name = "minLength"];</code>
* @return Whether the minLength field is set.
*/
boolean hasMinLength();
/**
* <code>uint32 min_length = 3 [json_name = "minLength"];</code>
* @return The minLength.
*/
int getMinLength();
/**
* <code>uint32 max_length = 4 [json_name = "maxLength"];</code>
* @return Whether the maxLength field is set.
*/
boolean hasMaxLength();
/**
* <code>uint32 max_length = 4 [json_name = "maxLength"];</code>
* @return The maxLength.
*/
int getMaxLength();
/**
* <code>bool strict = 5 [json_name = "strict"];</code>
* @return The strict.
*/
boolean getStrict();
ai.chalk.protos.chalk.graph.v1.FeatureValidation.ValidationCase getValidationCase();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FunctionReference.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.FunctionReference}
*/
public final class FunctionReference extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.FunctionReference)
FunctionReferenceOrBuilder {
private static final long serialVersionUID = 0L;
// Use FunctionReference.newBuilder() to construct.
private FunctionReference(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FunctionReference() {
name_ = "";
module_ = "";
fileName_ = "";
functionDefinition_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FunctionReference();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FunctionReference_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FunctionReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FunctionReference.class, ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MODULE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object module_ = "";
/**
* <code>string module = 2 [json_name = "module"];</code>
* @return The module.
*/
@java.lang.Override
public java.lang.String getModule() {
java.lang.Object ref = module_;
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();
module_ = s;
return s;
}
}
/**
* <code>string module = 2 [json_name = "module"];</code>
* @return The bytes for module.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getModuleBytes() {
java.lang.Object ref = module_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
module_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILE_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object fileName_ = "";
/**
* <code>string file_name = 3 [json_name = "fileName"];</code>
* @return The fileName.
*/
@java.lang.Override
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
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();
fileName_ = s;
return s;
}
}
/**
* <code>string file_name = 3 [json_name = "fileName"];</code>
* @return The bytes for fileName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FUNCTION_DEFINITION_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object functionDefinition_ = "";
/**
* <code>string function_definition = 4 [json_name = "functionDefinition"];</code>
* @return The functionDefinition.
*/
@java.lang.Override
public java.lang.String getFunctionDefinition() {
java.lang.Object ref = functionDefinition_;
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();
functionDefinition_ = s;
return s;
}
}
/**
* <code>string function_definition = 4 [json_name = "functionDefinition"];</code>
* @return The bytes for functionDefinition.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFunctionDefinitionBytes() {
java.lang.Object ref = functionDefinition_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
functionDefinition_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCE_LINE_FIELD_NUMBER = 5;
private int sourceLine_ = 0;
/**
* <code>optional int32 source_line = 5 [json_name = "sourceLine"];</code>
* @return Whether the sourceLine field is set.
*/
@java.lang.Override
public boolean hasSourceLine() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int32 source_line = 5 [json_name = "sourceLine"];</code>
* @return The sourceLine.
*/
@java.lang.Override
public int getSourceLine() {
return sourceLine_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(module_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, module_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fileName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionDefinition_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, functionDefinition_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(5, sourceLine_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(module_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, module_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fileName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionDefinition_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, functionDefinition_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, sourceLine_);
}
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.graph.v1.FunctionReference)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.FunctionReference other = (ai.chalk.protos.chalk.graph.v1.FunctionReference) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getModule()
.equals(other.getModule())) return false;
if (!getFileName()
.equals(other.getFileName())) return false;
if (!getFunctionDefinition()
.equals(other.getFunctionDefinition())) return false;
if (hasSourceLine() != other.hasSourceLine()) return false;
if (hasSourceLine()) {
if (getSourceLine()
!= other.getSourceLine()) 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 = (37 * hash) + MODULE_FIELD_NUMBER;
hash = (53 * hash) + getModule().hashCode();
hash = (37 * hash) + FILE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
hash = (37 * hash) + FUNCTION_DEFINITION_FIELD_NUMBER;
hash = (53 * hash) + getFunctionDefinition().hashCode();
if (hasSourceLine()) {
hash = (37 * hash) + SOURCE_LINE_FIELD_NUMBER;
hash = (53 * hash) + getSourceLine();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.FunctionReference parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FunctionReference 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.graph.v1.FunctionReference parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FunctionReference 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.graph.v1.FunctionReference parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.FunctionReference parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.FunctionReference parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FunctionReference 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.graph.v1.FunctionReference parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FunctionReference 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.graph.v1.FunctionReference parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.FunctionReference 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.graph.v1.FunctionReference 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.graph.v1.FunctionReference}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.FunctionReference)
ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FunctionReference_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FunctionReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.FunctionReference.class, ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.FunctionReference.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
module_ = "";
fileName_ = "";
functionDefinition_ = "";
sourceLine_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_FunctionReference_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FunctionReference getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FunctionReference build() {
ai.chalk.protos.chalk.graph.v1.FunctionReference result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FunctionReference buildPartial() {
ai.chalk.protos.chalk.graph.v1.FunctionReference result = new ai.chalk.protos.chalk.graph.v1.FunctionReference(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.FunctionReference result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.module_ = module_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.fileName_ = fileName_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.functionDefinition_ = functionDefinition_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.sourceLine_ = sourceLine_;
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.graph.v1.FunctionReference) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.FunctionReference)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.FunctionReference other) {
if (other == ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getModule().isEmpty()) {
module_ = other.module_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getFileName().isEmpty()) {
fileName_ = other.fileName_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getFunctionDefinition().isEmpty()) {
functionDefinition_ = other.functionDefinition_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasSourceLine()) {
setSourceLine(other.getSourceLine());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
module_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
fileName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
functionDefinition_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
sourceLine_ = input.readInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object module_ = "";
/**
* <code>string module = 2 [json_name = "module"];</code>
* @return The module.
*/
public java.lang.String getModule() {
java.lang.Object ref = module_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
module_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string module = 2 [json_name = "module"];</code>
* @return The bytes for module.
*/
public com.google.protobuf.ByteString
getModuleBytes() {
java.lang.Object ref = module_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
module_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string module = 2 [json_name = "module"];</code>
* @param value The module to set.
* @return This builder for chaining.
*/
public Builder setModule(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
module_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>string module = 2 [json_name = "module"];</code>
* @return This builder for chaining.
*/
public Builder clearModule() {
module_ = getDefaultInstance().getModule();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>string module = 2 [json_name = "module"];</code>
* @param value The bytes for module to set.
* @return This builder for chaining.
*/
public Builder setModuleBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
module_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object fileName_ = "";
/**
* <code>string file_name = 3 [json_name = "fileName"];</code>
* @return The fileName.
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fileName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string file_name = 3 [json_name = "fileName"];</code>
* @return The bytes for fileName.
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string file_name = 3 [json_name = "fileName"];</code>
* @param value The fileName to set.
* @return This builder for chaining.
*/
public Builder setFileName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
fileName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>string file_name = 3 [json_name = "fileName"];</code>
* @return This builder for chaining.
*/
public Builder clearFileName() {
fileName_ = getDefaultInstance().getFileName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>string file_name = 3 [json_name = "fileName"];</code>
* @param value The bytes for fileName to set.
* @return This builder for chaining.
*/
public Builder setFileNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
fileName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object functionDefinition_ = "";
/**
* <code>string function_definition = 4 [json_name = "functionDefinition"];</code>
* @return The functionDefinition.
*/
public java.lang.String getFunctionDefinition() {
java.lang.Object ref = functionDefinition_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
functionDefinition_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string function_definition = 4 [json_name = "functionDefinition"];</code>
* @return The bytes for functionDefinition.
*/
public com.google.protobuf.ByteString
getFunctionDefinitionBytes() {
java.lang.Object ref = functionDefinition_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
functionDefinition_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string function_definition = 4 [json_name = "functionDefinition"];</code>
* @param value The functionDefinition to set.
* @return This builder for chaining.
*/
public Builder setFunctionDefinition(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
functionDefinition_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>string function_definition = 4 [json_name = "functionDefinition"];</code>
* @return This builder for chaining.
*/
public Builder clearFunctionDefinition() {
functionDefinition_ = getDefaultInstance().getFunctionDefinition();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>string function_definition = 4 [json_name = "functionDefinition"];</code>
* @param value The bytes for functionDefinition to set.
* @return This builder for chaining.
*/
public Builder setFunctionDefinitionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
functionDefinition_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private int sourceLine_ ;
/**
* <code>optional int32 source_line = 5 [json_name = "sourceLine"];</code>
* @return Whether the sourceLine field is set.
*/
@java.lang.Override
public boolean hasSourceLine() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int32 source_line = 5 [json_name = "sourceLine"];</code>
* @return The sourceLine.
*/
@java.lang.Override
public int getSourceLine() {
return sourceLine_;
}
/**
* <code>optional int32 source_line = 5 [json_name = "sourceLine"];</code>
* @param value The sourceLine to set.
* @return This builder for chaining.
*/
public Builder setSourceLine(int value) {
sourceLine_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int32 source_line = 5 [json_name = "sourceLine"];</code>
* @return This builder for chaining.
*/
public Builder clearSourceLine() {
bitField0_ = (bitField0_ & ~0x00000010);
sourceLine_ = 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.graph.v1.FunctionReference)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.FunctionReference)
private static final ai.chalk.protos.chalk.graph.v1.FunctionReference DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.FunctionReference();
}
public static ai.chalk.protos.chalk.graph.v1.FunctionReference getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FunctionReference>
PARSER = new com.google.protobuf.AbstractParser<FunctionReference>() {
@java.lang.Override
public FunctionReference 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<FunctionReference> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FunctionReference> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FunctionReference getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/FunctionReferenceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface FunctionReferenceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.FunctionReference)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>string module = 2 [json_name = "module"];</code>
* @return The module.
*/
java.lang.String getModule();
/**
* <code>string module = 2 [json_name = "module"];</code>
* @return The bytes for module.
*/
com.google.protobuf.ByteString
getModuleBytes();
/**
* <code>string file_name = 3 [json_name = "fileName"];</code>
* @return The fileName.
*/
java.lang.String getFileName();
/**
* <code>string file_name = 3 [json_name = "fileName"];</code>
* @return The bytes for fileName.
*/
com.google.protobuf.ByteString
getFileNameBytes();
/**
* <code>string function_definition = 4 [json_name = "functionDefinition"];</code>
* @return The functionDefinition.
*/
java.lang.String getFunctionDefinition();
/**
* <code>string function_definition = 4 [json_name = "functionDefinition"];</code>
* @return The bytes for functionDefinition.
*/
com.google.protobuf.ByteString
getFunctionDefinitionBytes();
/**
* <code>optional int32 source_line = 5 [json_name = "sourceLine"];</code>
* @return Whether the sourceLine field is set.
*/
boolean hasSourceLine();
/**
* <code>optional int32 source_line = 5 [json_name = "sourceLine"];</code>
* @return The sourceLine.
*/
int getSourceLine();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/Graph.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.Graph}
*/
public final class Graph extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.Graph)
GraphOrBuilder {
private static final long serialVersionUID = 0L;
// Use Graph.newBuilder() to construct.
private Graph(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Graph() {
featureSets_ = java.util.Collections.emptyList();
resolvers_ = java.util.Collections.emptyList();
streamResolvers_ = java.util.Collections.emptyList();
sinkResolvers_ = java.util.Collections.emptyList();
databaseSources_ = java.util.Collections.emptyList();
streamSources_ = java.util.Collections.emptyList();
namedQueries_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Graph();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_Graph_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_Graph_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.Graph.class, ai.chalk.protos.chalk.graph.v1.Graph.Builder.class);
}
public static final int FEATURE_SETS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureSet> featureSets_;
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureSet> getFeatureSetsList() {
return featureSets_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureSetOrBuilder>
getFeatureSetsOrBuilderList() {
return featureSets_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
@java.lang.Override
public int getFeatureSetsCount() {
return featureSets_.size();
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureSet getFeatureSets(int index) {
return featureSets_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureSetOrBuilder getFeatureSetsOrBuilder(
int index) {
return featureSets_.get(index);
}
public static final int RESOLVERS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.Resolver> resolvers_;
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.Resolver> getResolversList() {
return resolvers_;
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.ResolverOrBuilder>
getResolversOrBuilderList() {
return resolvers_;
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
@java.lang.Override
public int getResolversCount() {
return resolvers_.size();
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.Resolver getResolvers(int index) {
return resolvers_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ResolverOrBuilder getResolversOrBuilder(
int index) {
return resolvers_.get(index);
}
public static final int STREAM_RESOLVERS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.StreamResolver> streamResolvers_;
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.StreamResolver> getStreamResolversList() {
return streamResolvers_;
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.StreamResolverOrBuilder>
getStreamResolversOrBuilderList() {
return streamResolvers_;
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
@java.lang.Override
public int getStreamResolversCount() {
return streamResolvers_.size();
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.StreamResolver getStreamResolvers(int index) {
return streamResolvers_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.StreamResolverOrBuilder getStreamResolversOrBuilder(
int index) {
return streamResolvers_.get(index);
}
public static final int SINK_RESOLVERS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.SinkResolver> sinkResolvers_;
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.SinkResolver> getSinkResolversList() {
return sinkResolvers_;
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.SinkResolverOrBuilder>
getSinkResolversOrBuilderList() {
return sinkResolvers_;
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
@java.lang.Override
public int getSinkResolversCount() {
return sinkResolvers_.size();
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SinkResolver getSinkResolvers(int index) {
return sinkResolvers_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SinkResolverOrBuilder getSinkResolversOrBuilder(
int index) {
return sinkResolvers_.get(index);
}
public static final int DATABASE_SOURCES_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.DatabaseSource> databaseSources_;
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.DatabaseSource> getDatabaseSourcesList() {
return databaseSources_;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.DatabaseSourceOrBuilder>
getDatabaseSourcesOrBuilderList() {
return databaseSources_;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
@java.lang.Override
public int getDatabaseSourcesCount() {
return databaseSources_.size();
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSource getDatabaseSources(int index) {
return databaseSources_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceOrBuilder getDatabaseSourcesOrBuilder(
int index) {
return databaseSources_.get(index);
}
public static final int STREAM_SOURCES_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.StreamSource> streamSources_;
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.StreamSource> getStreamSourcesList() {
return streamSources_;
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.StreamSourceOrBuilder>
getStreamSourcesOrBuilderList() {
return streamSources_;
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
@java.lang.Override
public int getStreamSourcesCount() {
return streamSources_.size();
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.StreamSource getStreamSources(int index) {
return streamSources_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.StreamSourceOrBuilder getStreamSourcesOrBuilder(
int index) {
return streamSources_.get(index);
}
public static final int NAMED_QUERIES_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.NamedQuery> namedQueries_;
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.NamedQuery> getNamedQueriesList() {
return namedQueries_;
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.NamedQueryOrBuilder>
getNamedQueriesOrBuilderList() {
return namedQueries_;
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
@java.lang.Override
public int getNamedQueriesCount() {
return namedQueries_.size();
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.NamedQuery getNamedQueries(int index) {
return namedQueries_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.NamedQueryOrBuilder getNamedQueriesOrBuilder(
int index) {
return namedQueries_.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 < featureSets_.size(); i++) {
output.writeMessage(1, featureSets_.get(i));
}
for (int i = 0; i < resolvers_.size(); i++) {
output.writeMessage(2, resolvers_.get(i));
}
for (int i = 0; i < streamResolvers_.size(); i++) {
output.writeMessage(3, streamResolvers_.get(i));
}
for (int i = 0; i < sinkResolvers_.size(); i++) {
output.writeMessage(4, sinkResolvers_.get(i));
}
for (int i = 0; i < databaseSources_.size(); i++) {
output.writeMessage(5, databaseSources_.get(i));
}
for (int i = 0; i < streamSources_.size(); i++) {
output.writeMessage(6, streamSources_.get(i));
}
for (int i = 0; i < namedQueries_.size(); i++) {
output.writeMessage(7, namedQueries_.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 < featureSets_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, featureSets_.get(i));
}
for (int i = 0; i < resolvers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, resolvers_.get(i));
}
for (int i = 0; i < streamResolvers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, streamResolvers_.get(i));
}
for (int i = 0; i < sinkResolvers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, sinkResolvers_.get(i));
}
for (int i = 0; i < databaseSources_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, databaseSources_.get(i));
}
for (int i = 0; i < streamSources_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, streamSources_.get(i));
}
for (int i = 0; i < namedQueries_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, namedQueries_.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.graph.v1.Graph)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.Graph other = (ai.chalk.protos.chalk.graph.v1.Graph) obj;
if (!getFeatureSetsList()
.equals(other.getFeatureSetsList())) return false;
if (!getResolversList()
.equals(other.getResolversList())) return false;
if (!getStreamResolversList()
.equals(other.getStreamResolversList())) return false;
if (!getSinkResolversList()
.equals(other.getSinkResolversList())) return false;
if (!getDatabaseSourcesList()
.equals(other.getDatabaseSourcesList())) return false;
if (!getStreamSourcesList()
.equals(other.getStreamSourcesList())) return false;
if (!getNamedQueriesList()
.equals(other.getNamedQueriesList())) 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 (getFeatureSetsCount() > 0) {
hash = (37 * hash) + FEATURE_SETS_FIELD_NUMBER;
hash = (53 * hash) + getFeatureSetsList().hashCode();
}
if (getResolversCount() > 0) {
hash = (37 * hash) + RESOLVERS_FIELD_NUMBER;
hash = (53 * hash) + getResolversList().hashCode();
}
if (getStreamResolversCount() > 0) {
hash = (37 * hash) + STREAM_RESOLVERS_FIELD_NUMBER;
hash = (53 * hash) + getStreamResolversList().hashCode();
}
if (getSinkResolversCount() > 0) {
hash = (37 * hash) + SINK_RESOLVERS_FIELD_NUMBER;
hash = (53 * hash) + getSinkResolversList().hashCode();
}
if (getDatabaseSourcesCount() > 0) {
hash = (37 * hash) + DATABASE_SOURCES_FIELD_NUMBER;
hash = (53 * hash) + getDatabaseSourcesList().hashCode();
}
if (getStreamSourcesCount() > 0) {
hash = (37 * hash) + STREAM_SOURCES_FIELD_NUMBER;
hash = (53 * hash) + getStreamSourcesList().hashCode();
}
if (getNamedQueriesCount() > 0) {
hash = (37 * hash) + NAMED_QUERIES_FIELD_NUMBER;
hash = (53 * hash) + getNamedQueriesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.Graph parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.Graph 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.graph.v1.Graph parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.Graph 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.graph.v1.Graph parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.Graph parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.Graph parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.Graph 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.graph.v1.Graph parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.Graph 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.graph.v1.Graph parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.Graph 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.graph.v1.Graph 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.graph.v1.Graph}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.Graph)
ai.chalk.protos.chalk.graph.v1.GraphOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_Graph_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_Graph_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.Graph.class, ai.chalk.protos.chalk.graph.v1.Graph.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.Graph.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (featureSetsBuilder_ == null) {
featureSets_ = java.util.Collections.emptyList();
} else {
featureSets_ = null;
featureSetsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (resolversBuilder_ == null) {
resolvers_ = java.util.Collections.emptyList();
} else {
resolvers_ = null;
resolversBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (streamResolversBuilder_ == null) {
streamResolvers_ = java.util.Collections.emptyList();
} else {
streamResolvers_ = null;
streamResolversBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (sinkResolversBuilder_ == null) {
sinkResolvers_ = java.util.Collections.emptyList();
} else {
sinkResolvers_ = null;
sinkResolversBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (databaseSourcesBuilder_ == null) {
databaseSources_ = java.util.Collections.emptyList();
} else {
databaseSources_ = null;
databaseSourcesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
if (streamSourcesBuilder_ == null) {
streamSources_ = java.util.Collections.emptyList();
} else {
streamSources_ = null;
streamSourcesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
if (namedQueriesBuilder_ == null) {
namedQueries_ = java.util.Collections.emptyList();
} else {
namedQueries_ = null;
namedQueriesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_Graph_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.Graph getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.Graph.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.Graph build() {
ai.chalk.protos.chalk.graph.v1.Graph result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.Graph buildPartial() {
ai.chalk.protos.chalk.graph.v1.Graph result = new ai.chalk.protos.chalk.graph.v1.Graph(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ai.chalk.protos.chalk.graph.v1.Graph result) {
if (featureSetsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
featureSets_ = java.util.Collections.unmodifiableList(featureSets_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.featureSets_ = featureSets_;
} else {
result.featureSets_ = featureSetsBuilder_.build();
}
if (resolversBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
resolvers_ = java.util.Collections.unmodifiableList(resolvers_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.resolvers_ = resolvers_;
} else {
result.resolvers_ = resolversBuilder_.build();
}
if (streamResolversBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
streamResolvers_ = java.util.Collections.unmodifiableList(streamResolvers_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.streamResolvers_ = streamResolvers_;
} else {
result.streamResolvers_ = streamResolversBuilder_.build();
}
if (sinkResolversBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
sinkResolvers_ = java.util.Collections.unmodifiableList(sinkResolvers_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.sinkResolvers_ = sinkResolvers_;
} else {
result.sinkResolvers_ = sinkResolversBuilder_.build();
}
if (databaseSourcesBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
databaseSources_ = java.util.Collections.unmodifiableList(databaseSources_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.databaseSources_ = databaseSources_;
} else {
result.databaseSources_ = databaseSourcesBuilder_.build();
}
if (streamSourcesBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
streamSources_ = java.util.Collections.unmodifiableList(streamSources_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.streamSources_ = streamSources_;
} else {
result.streamSources_ = streamSourcesBuilder_.build();
}
if (namedQueriesBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0)) {
namedQueries_ = java.util.Collections.unmodifiableList(namedQueries_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.namedQueries_ = namedQueries_;
} else {
result.namedQueries_ = namedQueriesBuilder_.build();
}
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.Graph 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.graph.v1.Graph) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.Graph)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.Graph other) {
if (other == ai.chalk.protos.chalk.graph.v1.Graph.getDefaultInstance()) return this;
if (featureSetsBuilder_ == null) {
if (!other.featureSets_.isEmpty()) {
if (featureSets_.isEmpty()) {
featureSets_ = other.featureSets_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFeatureSetsIsMutable();
featureSets_.addAll(other.featureSets_);
}
onChanged();
}
} else {
if (!other.featureSets_.isEmpty()) {
if (featureSetsBuilder_.isEmpty()) {
featureSetsBuilder_.dispose();
featureSetsBuilder_ = null;
featureSets_ = other.featureSets_;
bitField0_ = (bitField0_ & ~0x00000001);
featureSetsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFeatureSetsFieldBuilder() : null;
} else {
featureSetsBuilder_.addAllMessages(other.featureSets_);
}
}
}
if (resolversBuilder_ == null) {
if (!other.resolvers_.isEmpty()) {
if (resolvers_.isEmpty()) {
resolvers_ = other.resolvers_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureResolversIsMutable();
resolvers_.addAll(other.resolvers_);
}
onChanged();
}
} else {
if (!other.resolvers_.isEmpty()) {
if (resolversBuilder_.isEmpty()) {
resolversBuilder_.dispose();
resolversBuilder_ = null;
resolvers_ = other.resolvers_;
bitField0_ = (bitField0_ & ~0x00000002);
resolversBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getResolversFieldBuilder() : null;
} else {
resolversBuilder_.addAllMessages(other.resolvers_);
}
}
}
if (streamResolversBuilder_ == null) {
if (!other.streamResolvers_.isEmpty()) {
if (streamResolvers_.isEmpty()) {
streamResolvers_ = other.streamResolvers_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureStreamResolversIsMutable();
streamResolvers_.addAll(other.streamResolvers_);
}
onChanged();
}
} else {
if (!other.streamResolvers_.isEmpty()) {
if (streamResolversBuilder_.isEmpty()) {
streamResolversBuilder_.dispose();
streamResolversBuilder_ = null;
streamResolvers_ = other.streamResolvers_;
bitField0_ = (bitField0_ & ~0x00000004);
streamResolversBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStreamResolversFieldBuilder() : null;
} else {
streamResolversBuilder_.addAllMessages(other.streamResolvers_);
}
}
}
if (sinkResolversBuilder_ == null) {
if (!other.sinkResolvers_.isEmpty()) {
if (sinkResolvers_.isEmpty()) {
sinkResolvers_ = other.sinkResolvers_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureSinkResolversIsMutable();
sinkResolvers_.addAll(other.sinkResolvers_);
}
onChanged();
}
} else {
if (!other.sinkResolvers_.isEmpty()) {
if (sinkResolversBuilder_.isEmpty()) {
sinkResolversBuilder_.dispose();
sinkResolversBuilder_ = null;
sinkResolvers_ = other.sinkResolvers_;
bitField0_ = (bitField0_ & ~0x00000008);
sinkResolversBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSinkResolversFieldBuilder() : null;
} else {
sinkResolversBuilder_.addAllMessages(other.sinkResolvers_);
}
}
}
if (databaseSourcesBuilder_ == null) {
if (!other.databaseSources_.isEmpty()) {
if (databaseSources_.isEmpty()) {
databaseSources_ = other.databaseSources_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureDatabaseSourcesIsMutable();
databaseSources_.addAll(other.databaseSources_);
}
onChanged();
}
} else {
if (!other.databaseSources_.isEmpty()) {
if (databaseSourcesBuilder_.isEmpty()) {
databaseSourcesBuilder_.dispose();
databaseSourcesBuilder_ = null;
databaseSources_ = other.databaseSources_;
bitField0_ = (bitField0_ & ~0x00000010);
databaseSourcesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDatabaseSourcesFieldBuilder() : null;
} else {
databaseSourcesBuilder_.addAllMessages(other.databaseSources_);
}
}
}
if (streamSourcesBuilder_ == null) {
if (!other.streamSources_.isEmpty()) {
if (streamSources_.isEmpty()) {
streamSources_ = other.streamSources_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureStreamSourcesIsMutable();
streamSources_.addAll(other.streamSources_);
}
onChanged();
}
} else {
if (!other.streamSources_.isEmpty()) {
if (streamSourcesBuilder_.isEmpty()) {
streamSourcesBuilder_.dispose();
streamSourcesBuilder_ = null;
streamSources_ = other.streamSources_;
bitField0_ = (bitField0_ & ~0x00000020);
streamSourcesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStreamSourcesFieldBuilder() : null;
} else {
streamSourcesBuilder_.addAllMessages(other.streamSources_);
}
}
}
if (namedQueriesBuilder_ == null) {
if (!other.namedQueries_.isEmpty()) {
if (namedQueries_.isEmpty()) {
namedQueries_ = other.namedQueries_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureNamedQueriesIsMutable();
namedQueries_.addAll(other.namedQueries_);
}
onChanged();
}
} else {
if (!other.namedQueries_.isEmpty()) {
if (namedQueriesBuilder_.isEmpty()) {
namedQueriesBuilder_.dispose();
namedQueriesBuilder_ = null;
namedQueries_ = other.namedQueries_;
bitField0_ = (bitField0_ & ~0x00000040);
namedQueriesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getNamedQueriesFieldBuilder() : null;
} else {
namedQueriesBuilder_.addAllMessages(other.namedQueries_);
}
}
}
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.graph.v1.FeatureSet m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.FeatureSet.parser(),
extensionRegistry);
if (featureSetsBuilder_ == null) {
ensureFeatureSetsIsMutable();
featureSets_.add(m);
} else {
featureSetsBuilder_.addMessage(m);
}
break;
} // case 10
case 18: {
ai.chalk.protos.chalk.graph.v1.Resolver m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.Resolver.parser(),
extensionRegistry);
if (resolversBuilder_ == null) {
ensureResolversIsMutable();
resolvers_.add(m);
} else {
resolversBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
ai.chalk.protos.chalk.graph.v1.StreamResolver m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.StreamResolver.parser(),
extensionRegistry);
if (streamResolversBuilder_ == null) {
ensureStreamResolversIsMutable();
streamResolvers_.add(m);
} else {
streamResolversBuilder_.addMessage(m);
}
break;
} // case 26
case 34: {
ai.chalk.protos.chalk.graph.v1.SinkResolver m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.SinkResolver.parser(),
extensionRegistry);
if (sinkResolversBuilder_ == null) {
ensureSinkResolversIsMutable();
sinkResolvers_.add(m);
} else {
sinkResolversBuilder_.addMessage(m);
}
break;
} // case 34
case 42: {
ai.chalk.protos.chalk.graph.v1.DatabaseSource m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.DatabaseSource.parser(),
extensionRegistry);
if (databaseSourcesBuilder_ == null) {
ensureDatabaseSourcesIsMutable();
databaseSources_.add(m);
} else {
databaseSourcesBuilder_.addMessage(m);
}
break;
} // case 42
case 50: {
ai.chalk.protos.chalk.graph.v1.StreamSource m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.StreamSource.parser(),
extensionRegistry);
if (streamSourcesBuilder_ == null) {
ensureStreamSourcesIsMutable();
streamSources_.add(m);
} else {
streamSourcesBuilder_.addMessage(m);
}
break;
} // case 50
case 58: {
ai.chalk.protos.chalk.graph.v1.NamedQuery m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.NamedQuery.parser(),
extensionRegistry);
if (namedQueriesBuilder_ == null) {
ensureNamedQueriesIsMutable();
namedQueries_.add(m);
} else {
namedQueriesBuilder_.addMessage(m);
}
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.util.List<ai.chalk.protos.chalk.graph.v1.FeatureSet> featureSets_ =
java.util.Collections.emptyList();
private void ensureFeatureSetsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
featureSets_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.FeatureSet>(featureSets_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureSet, ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder, ai.chalk.protos.chalk.graph.v1.FeatureSetOrBuilder> featureSetsBuilder_;
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureSet> getFeatureSetsList() {
if (featureSetsBuilder_ == null) {
return java.util.Collections.unmodifiableList(featureSets_);
} else {
return featureSetsBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public int getFeatureSetsCount() {
if (featureSetsBuilder_ == null) {
return featureSets_.size();
} else {
return featureSetsBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureSet getFeatureSets(int index) {
if (featureSetsBuilder_ == null) {
return featureSets_.get(index);
} else {
return featureSetsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public Builder setFeatureSets(
int index, ai.chalk.protos.chalk.graph.v1.FeatureSet value) {
if (featureSetsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFeatureSetsIsMutable();
featureSets_.set(index, value);
onChanged();
} else {
featureSetsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public Builder setFeatureSets(
int index, ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder builderForValue) {
if (featureSetsBuilder_ == null) {
ensureFeatureSetsIsMutable();
featureSets_.set(index, builderForValue.build());
onChanged();
} else {
featureSetsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public Builder addFeatureSets(ai.chalk.protos.chalk.graph.v1.FeatureSet value) {
if (featureSetsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFeatureSetsIsMutable();
featureSets_.add(value);
onChanged();
} else {
featureSetsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public Builder addFeatureSets(
int index, ai.chalk.protos.chalk.graph.v1.FeatureSet value) {
if (featureSetsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFeatureSetsIsMutable();
featureSets_.add(index, value);
onChanged();
} else {
featureSetsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public Builder addFeatureSets(
ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder builderForValue) {
if (featureSetsBuilder_ == null) {
ensureFeatureSetsIsMutable();
featureSets_.add(builderForValue.build());
onChanged();
} else {
featureSetsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public Builder addFeatureSets(
int index, ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder builderForValue) {
if (featureSetsBuilder_ == null) {
ensureFeatureSetsIsMutable();
featureSets_.add(index, builderForValue.build());
onChanged();
} else {
featureSetsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public Builder addAllFeatureSets(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.FeatureSet> values) {
if (featureSetsBuilder_ == null) {
ensureFeatureSetsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, featureSets_);
onChanged();
} else {
featureSetsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public Builder clearFeatureSets() {
if (featureSetsBuilder_ == null) {
featureSets_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
featureSetsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public Builder removeFeatureSets(int index) {
if (featureSetsBuilder_ == null) {
ensureFeatureSetsIsMutable();
featureSets_.remove(index);
onChanged();
} else {
featureSetsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder getFeatureSetsBuilder(
int index) {
return getFeatureSetsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureSetOrBuilder getFeatureSetsOrBuilder(
int index) {
if (featureSetsBuilder_ == null) {
return featureSets_.get(index); } else {
return featureSetsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureSetOrBuilder>
getFeatureSetsOrBuilderList() {
if (featureSetsBuilder_ != null) {
return featureSetsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(featureSets_);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder addFeatureSetsBuilder() {
return getFeatureSetsFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.FeatureSet.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder addFeatureSetsBuilder(
int index) {
return getFeatureSetsFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.FeatureSet.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder>
getFeatureSetsBuilderList() {
return getFeatureSetsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureSet, ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder, ai.chalk.protos.chalk.graph.v1.FeatureSetOrBuilder>
getFeatureSetsFieldBuilder() {
if (featureSetsBuilder_ == null) {
featureSetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureSet, ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder, ai.chalk.protos.chalk.graph.v1.FeatureSetOrBuilder>(
featureSets_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
featureSets_ = null;
}
return featureSetsBuilder_;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.Resolver> resolvers_ =
java.util.Collections.emptyList();
private void ensureResolversIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
resolvers_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.Resolver>(resolvers_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.Resolver, ai.chalk.protos.chalk.graph.v1.Resolver.Builder, ai.chalk.protos.chalk.graph.v1.ResolverOrBuilder> resolversBuilder_;
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.Resolver> getResolversList() {
if (resolversBuilder_ == null) {
return java.util.Collections.unmodifiableList(resolvers_);
} else {
return resolversBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public int getResolversCount() {
if (resolversBuilder_ == null) {
return resolvers_.size();
} else {
return resolversBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.Resolver getResolvers(int index) {
if (resolversBuilder_ == null) {
return resolvers_.get(index);
} else {
return resolversBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public Builder setResolvers(
int index, ai.chalk.protos.chalk.graph.v1.Resolver value) {
if (resolversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResolversIsMutable();
resolvers_.set(index, value);
onChanged();
} else {
resolversBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public Builder setResolvers(
int index, ai.chalk.protos.chalk.graph.v1.Resolver.Builder builderForValue) {
if (resolversBuilder_ == null) {
ensureResolversIsMutable();
resolvers_.set(index, builderForValue.build());
onChanged();
} else {
resolversBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public Builder addResolvers(ai.chalk.protos.chalk.graph.v1.Resolver value) {
if (resolversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResolversIsMutable();
resolvers_.add(value);
onChanged();
} else {
resolversBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public Builder addResolvers(
int index, ai.chalk.protos.chalk.graph.v1.Resolver value) {
if (resolversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResolversIsMutable();
resolvers_.add(index, value);
onChanged();
} else {
resolversBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public Builder addResolvers(
ai.chalk.protos.chalk.graph.v1.Resolver.Builder builderForValue) {
if (resolversBuilder_ == null) {
ensureResolversIsMutable();
resolvers_.add(builderForValue.build());
onChanged();
} else {
resolversBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public Builder addResolvers(
int index, ai.chalk.protos.chalk.graph.v1.Resolver.Builder builderForValue) {
if (resolversBuilder_ == null) {
ensureResolversIsMutable();
resolvers_.add(index, builderForValue.build());
onChanged();
} else {
resolversBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public Builder addAllResolvers(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.Resolver> values) {
if (resolversBuilder_ == null) {
ensureResolversIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, resolvers_);
onChanged();
} else {
resolversBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public Builder clearResolvers() {
if (resolversBuilder_ == null) {
resolvers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
resolversBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public Builder removeResolvers(int index) {
if (resolversBuilder_ == null) {
ensureResolversIsMutable();
resolvers_.remove(index);
onChanged();
} else {
resolversBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.Resolver.Builder getResolversBuilder(
int index) {
return getResolversFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ResolverOrBuilder getResolversOrBuilder(
int index) {
if (resolversBuilder_ == null) {
return resolvers_.get(index); } else {
return resolversBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.ResolverOrBuilder>
getResolversOrBuilderList() {
if (resolversBuilder_ != null) {
return resolversBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(resolvers_);
}
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.Resolver.Builder addResolversBuilder() {
return getResolversFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.Resolver.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.Resolver.Builder addResolversBuilder(
int index) {
return getResolversFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.Resolver.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.Resolver.Builder>
getResolversBuilderList() {
return getResolversFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.Resolver, ai.chalk.protos.chalk.graph.v1.Resolver.Builder, ai.chalk.protos.chalk.graph.v1.ResolverOrBuilder>
getResolversFieldBuilder() {
if (resolversBuilder_ == null) {
resolversBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.Resolver, ai.chalk.protos.chalk.graph.v1.Resolver.Builder, ai.chalk.protos.chalk.graph.v1.ResolverOrBuilder>(
resolvers_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
resolvers_ = null;
}
return resolversBuilder_;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.StreamResolver> streamResolvers_ =
java.util.Collections.emptyList();
private void ensureStreamResolversIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
streamResolvers_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.StreamResolver>(streamResolvers_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.StreamResolver, ai.chalk.protos.chalk.graph.v1.StreamResolver.Builder, ai.chalk.protos.chalk.graph.v1.StreamResolverOrBuilder> streamResolversBuilder_;
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.StreamResolver> getStreamResolversList() {
if (streamResolversBuilder_ == null) {
return java.util.Collections.unmodifiableList(streamResolvers_);
} else {
return streamResolversBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public int getStreamResolversCount() {
if (streamResolversBuilder_ == null) {
return streamResolvers_.size();
} else {
return streamResolversBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.StreamResolver getStreamResolvers(int index) {
if (streamResolversBuilder_ == null) {
return streamResolvers_.get(index);
} else {
return streamResolversBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public Builder setStreamResolvers(
int index, ai.chalk.protos.chalk.graph.v1.StreamResolver value) {
if (streamResolversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStreamResolversIsMutable();
streamResolvers_.set(index, value);
onChanged();
} else {
streamResolversBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public Builder setStreamResolvers(
int index, ai.chalk.protos.chalk.graph.v1.StreamResolver.Builder builderForValue) {
if (streamResolversBuilder_ == null) {
ensureStreamResolversIsMutable();
streamResolvers_.set(index, builderForValue.build());
onChanged();
} else {
streamResolversBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public Builder addStreamResolvers(ai.chalk.protos.chalk.graph.v1.StreamResolver value) {
if (streamResolversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStreamResolversIsMutable();
streamResolvers_.add(value);
onChanged();
} else {
streamResolversBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public Builder addStreamResolvers(
int index, ai.chalk.protos.chalk.graph.v1.StreamResolver value) {
if (streamResolversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStreamResolversIsMutable();
streamResolvers_.add(index, value);
onChanged();
} else {
streamResolversBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public Builder addStreamResolvers(
ai.chalk.protos.chalk.graph.v1.StreamResolver.Builder builderForValue) {
if (streamResolversBuilder_ == null) {
ensureStreamResolversIsMutable();
streamResolvers_.add(builderForValue.build());
onChanged();
} else {
streamResolversBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public Builder addStreamResolvers(
int index, ai.chalk.protos.chalk.graph.v1.StreamResolver.Builder builderForValue) {
if (streamResolversBuilder_ == null) {
ensureStreamResolversIsMutable();
streamResolvers_.add(index, builderForValue.build());
onChanged();
} else {
streamResolversBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public Builder addAllStreamResolvers(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.StreamResolver> values) {
if (streamResolversBuilder_ == null) {
ensureStreamResolversIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, streamResolvers_);
onChanged();
} else {
streamResolversBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public Builder clearStreamResolvers() {
if (streamResolversBuilder_ == null) {
streamResolvers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
streamResolversBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public Builder removeStreamResolvers(int index) {
if (streamResolversBuilder_ == null) {
ensureStreamResolversIsMutable();
streamResolvers_.remove(index);
onChanged();
} else {
streamResolversBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.StreamResolver.Builder getStreamResolversBuilder(
int index) {
return getStreamResolversFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.StreamResolverOrBuilder getStreamResolversOrBuilder(
int index) {
if (streamResolversBuilder_ == null) {
return streamResolvers_.get(index); } else {
return streamResolversBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.StreamResolverOrBuilder>
getStreamResolversOrBuilderList() {
if (streamResolversBuilder_ != null) {
return streamResolversBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(streamResolvers_);
}
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.StreamResolver.Builder addStreamResolversBuilder() {
return getStreamResolversFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.StreamResolver.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.StreamResolver.Builder addStreamResolversBuilder(
int index) {
return getStreamResolversFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.StreamResolver.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.StreamResolver.Builder>
getStreamResolversBuilderList() {
return getStreamResolversFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.StreamResolver, ai.chalk.protos.chalk.graph.v1.StreamResolver.Builder, ai.chalk.protos.chalk.graph.v1.StreamResolverOrBuilder>
getStreamResolversFieldBuilder() {
if (streamResolversBuilder_ == null) {
streamResolversBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.StreamResolver, ai.chalk.protos.chalk.graph.v1.StreamResolver.Builder, ai.chalk.protos.chalk.graph.v1.StreamResolverOrBuilder>(
streamResolvers_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
streamResolvers_ = null;
}
return streamResolversBuilder_;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.SinkResolver> sinkResolvers_ =
java.util.Collections.emptyList();
private void ensureSinkResolversIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
sinkResolvers_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.SinkResolver>(sinkResolvers_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SinkResolver, ai.chalk.protos.chalk.graph.v1.SinkResolver.Builder, ai.chalk.protos.chalk.graph.v1.SinkResolverOrBuilder> sinkResolversBuilder_;
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.SinkResolver> getSinkResolversList() {
if (sinkResolversBuilder_ == null) {
return java.util.Collections.unmodifiableList(sinkResolvers_);
} else {
return sinkResolversBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public int getSinkResolversCount() {
if (sinkResolversBuilder_ == null) {
return sinkResolvers_.size();
} else {
return sinkResolversBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.SinkResolver getSinkResolvers(int index) {
if (sinkResolversBuilder_ == null) {
return sinkResolvers_.get(index);
} else {
return sinkResolversBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public Builder setSinkResolvers(
int index, ai.chalk.protos.chalk.graph.v1.SinkResolver value) {
if (sinkResolversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSinkResolversIsMutable();
sinkResolvers_.set(index, value);
onChanged();
} else {
sinkResolversBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public Builder setSinkResolvers(
int index, ai.chalk.protos.chalk.graph.v1.SinkResolver.Builder builderForValue) {
if (sinkResolversBuilder_ == null) {
ensureSinkResolversIsMutable();
sinkResolvers_.set(index, builderForValue.build());
onChanged();
} else {
sinkResolversBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public Builder addSinkResolvers(ai.chalk.protos.chalk.graph.v1.SinkResolver value) {
if (sinkResolversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSinkResolversIsMutable();
sinkResolvers_.add(value);
onChanged();
} else {
sinkResolversBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public Builder addSinkResolvers(
int index, ai.chalk.protos.chalk.graph.v1.SinkResolver value) {
if (sinkResolversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSinkResolversIsMutable();
sinkResolvers_.add(index, value);
onChanged();
} else {
sinkResolversBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public Builder addSinkResolvers(
ai.chalk.protos.chalk.graph.v1.SinkResolver.Builder builderForValue) {
if (sinkResolversBuilder_ == null) {
ensureSinkResolversIsMutable();
sinkResolvers_.add(builderForValue.build());
onChanged();
} else {
sinkResolversBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public Builder addSinkResolvers(
int index, ai.chalk.protos.chalk.graph.v1.SinkResolver.Builder builderForValue) {
if (sinkResolversBuilder_ == null) {
ensureSinkResolversIsMutable();
sinkResolvers_.add(index, builderForValue.build());
onChanged();
} else {
sinkResolversBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public Builder addAllSinkResolvers(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.SinkResolver> values) {
if (sinkResolversBuilder_ == null) {
ensureSinkResolversIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sinkResolvers_);
onChanged();
} else {
sinkResolversBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public Builder clearSinkResolvers() {
if (sinkResolversBuilder_ == null) {
sinkResolvers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
sinkResolversBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public Builder removeSinkResolvers(int index) {
if (sinkResolversBuilder_ == null) {
ensureSinkResolversIsMutable();
sinkResolvers_.remove(index);
onChanged();
} else {
sinkResolversBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.SinkResolver.Builder getSinkResolversBuilder(
int index) {
return getSinkResolversFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.SinkResolverOrBuilder getSinkResolversOrBuilder(
int index) {
if (sinkResolversBuilder_ == null) {
return sinkResolvers_.get(index); } else {
return sinkResolversBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.SinkResolverOrBuilder>
getSinkResolversOrBuilderList() {
if (sinkResolversBuilder_ != null) {
return sinkResolversBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sinkResolvers_);
}
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.SinkResolver.Builder addSinkResolversBuilder() {
return getSinkResolversFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.SinkResolver.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.SinkResolver.Builder addSinkResolversBuilder(
int index) {
return getSinkResolversFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.SinkResolver.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.SinkResolver.Builder>
getSinkResolversBuilderList() {
return getSinkResolversFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SinkResolver, ai.chalk.protos.chalk.graph.v1.SinkResolver.Builder, ai.chalk.protos.chalk.graph.v1.SinkResolverOrBuilder>
getSinkResolversFieldBuilder() {
if (sinkResolversBuilder_ == null) {
sinkResolversBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SinkResolver, ai.chalk.protos.chalk.graph.v1.SinkResolver.Builder, ai.chalk.protos.chalk.graph.v1.SinkResolverOrBuilder>(
sinkResolvers_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
sinkResolvers_ = null;
}
return sinkResolversBuilder_;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.DatabaseSource> databaseSources_ =
java.util.Collections.emptyList();
private void ensureDatabaseSourcesIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
databaseSources_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.DatabaseSource>(databaseSources_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DatabaseSource, ai.chalk.protos.chalk.graph.v1.DatabaseSource.Builder, ai.chalk.protos.chalk.graph.v1.DatabaseSourceOrBuilder> databaseSourcesBuilder_;
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.DatabaseSource> getDatabaseSourcesList() {
if (databaseSourcesBuilder_ == null) {
return java.util.Collections.unmodifiableList(databaseSources_);
} else {
return databaseSourcesBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public int getDatabaseSourcesCount() {
if (databaseSourcesBuilder_ == null) {
return databaseSources_.size();
} else {
return databaseSourcesBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DatabaseSource getDatabaseSources(int index) {
if (databaseSourcesBuilder_ == null) {
return databaseSources_.get(index);
} else {
return databaseSourcesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public Builder setDatabaseSources(
int index, ai.chalk.protos.chalk.graph.v1.DatabaseSource value) {
if (databaseSourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDatabaseSourcesIsMutable();
databaseSources_.set(index, value);
onChanged();
} else {
databaseSourcesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public Builder setDatabaseSources(
int index, ai.chalk.protos.chalk.graph.v1.DatabaseSource.Builder builderForValue) {
if (databaseSourcesBuilder_ == null) {
ensureDatabaseSourcesIsMutable();
databaseSources_.set(index, builderForValue.build());
onChanged();
} else {
databaseSourcesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public Builder addDatabaseSources(ai.chalk.protos.chalk.graph.v1.DatabaseSource value) {
if (databaseSourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDatabaseSourcesIsMutable();
databaseSources_.add(value);
onChanged();
} else {
databaseSourcesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public Builder addDatabaseSources(
int index, ai.chalk.protos.chalk.graph.v1.DatabaseSource value) {
if (databaseSourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDatabaseSourcesIsMutable();
databaseSources_.add(index, value);
onChanged();
} else {
databaseSourcesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public Builder addDatabaseSources(
ai.chalk.protos.chalk.graph.v1.DatabaseSource.Builder builderForValue) {
if (databaseSourcesBuilder_ == null) {
ensureDatabaseSourcesIsMutable();
databaseSources_.add(builderForValue.build());
onChanged();
} else {
databaseSourcesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public Builder addDatabaseSources(
int index, ai.chalk.protos.chalk.graph.v1.DatabaseSource.Builder builderForValue) {
if (databaseSourcesBuilder_ == null) {
ensureDatabaseSourcesIsMutable();
databaseSources_.add(index, builderForValue.build());
onChanged();
} else {
databaseSourcesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public Builder addAllDatabaseSources(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.DatabaseSource> values) {
if (databaseSourcesBuilder_ == null) {
ensureDatabaseSourcesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, databaseSources_);
onChanged();
} else {
databaseSourcesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public Builder clearDatabaseSources() {
if (databaseSourcesBuilder_ == null) {
databaseSources_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
databaseSourcesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public Builder removeDatabaseSources(int index) {
if (databaseSourcesBuilder_ == null) {
ensureDatabaseSourcesIsMutable();
databaseSources_.remove(index);
onChanged();
} else {
databaseSourcesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DatabaseSource.Builder getDatabaseSourcesBuilder(
int index) {
return getDatabaseSourcesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceOrBuilder getDatabaseSourcesOrBuilder(
int index) {
if (databaseSourcesBuilder_ == null) {
return databaseSources_.get(index); } else {
return databaseSourcesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.DatabaseSourceOrBuilder>
getDatabaseSourcesOrBuilderList() {
if (databaseSourcesBuilder_ != null) {
return databaseSourcesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(databaseSources_);
}
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DatabaseSource.Builder addDatabaseSourcesBuilder() {
return getDatabaseSourcesFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.DatabaseSource.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DatabaseSource.Builder addDatabaseSourcesBuilder(
int index) {
return getDatabaseSourcesFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.DatabaseSource.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.DatabaseSource.Builder>
getDatabaseSourcesBuilderList() {
return getDatabaseSourcesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DatabaseSource, ai.chalk.protos.chalk.graph.v1.DatabaseSource.Builder, ai.chalk.protos.chalk.graph.v1.DatabaseSourceOrBuilder>
getDatabaseSourcesFieldBuilder() {
if (databaseSourcesBuilder_ == null) {
databaseSourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DatabaseSource, ai.chalk.protos.chalk.graph.v1.DatabaseSource.Builder, ai.chalk.protos.chalk.graph.v1.DatabaseSourceOrBuilder>(
databaseSources_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
databaseSources_ = null;
}
return databaseSourcesBuilder_;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.StreamSource> streamSources_ =
java.util.Collections.emptyList();
private void ensureStreamSourcesIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
streamSources_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.StreamSource>(streamSources_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.StreamSource, ai.chalk.protos.chalk.graph.v1.StreamSource.Builder, ai.chalk.protos.chalk.graph.v1.StreamSourceOrBuilder> streamSourcesBuilder_;
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.StreamSource> getStreamSourcesList() {
if (streamSourcesBuilder_ == null) {
return java.util.Collections.unmodifiableList(streamSources_);
} else {
return streamSourcesBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public int getStreamSourcesCount() {
if (streamSourcesBuilder_ == null) {
return streamSources_.size();
} else {
return streamSourcesBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.StreamSource getStreamSources(int index) {
if (streamSourcesBuilder_ == null) {
return streamSources_.get(index);
} else {
return streamSourcesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public Builder setStreamSources(
int index, ai.chalk.protos.chalk.graph.v1.StreamSource value) {
if (streamSourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStreamSourcesIsMutable();
streamSources_.set(index, value);
onChanged();
} else {
streamSourcesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public Builder setStreamSources(
int index, ai.chalk.protos.chalk.graph.v1.StreamSource.Builder builderForValue) {
if (streamSourcesBuilder_ == null) {
ensureStreamSourcesIsMutable();
streamSources_.set(index, builderForValue.build());
onChanged();
} else {
streamSourcesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public Builder addStreamSources(ai.chalk.protos.chalk.graph.v1.StreamSource value) {
if (streamSourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStreamSourcesIsMutable();
streamSources_.add(value);
onChanged();
} else {
streamSourcesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public Builder addStreamSources(
int index, ai.chalk.protos.chalk.graph.v1.StreamSource value) {
if (streamSourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStreamSourcesIsMutable();
streamSources_.add(index, value);
onChanged();
} else {
streamSourcesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public Builder addStreamSources(
ai.chalk.protos.chalk.graph.v1.StreamSource.Builder builderForValue) {
if (streamSourcesBuilder_ == null) {
ensureStreamSourcesIsMutable();
streamSources_.add(builderForValue.build());
onChanged();
} else {
streamSourcesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public Builder addStreamSources(
int index, ai.chalk.protos.chalk.graph.v1.StreamSource.Builder builderForValue) {
if (streamSourcesBuilder_ == null) {
ensureStreamSourcesIsMutable();
streamSources_.add(index, builderForValue.build());
onChanged();
} else {
streamSourcesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public Builder addAllStreamSources(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.StreamSource> values) {
if (streamSourcesBuilder_ == null) {
ensureStreamSourcesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, streamSources_);
onChanged();
} else {
streamSourcesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public Builder clearStreamSources() {
if (streamSourcesBuilder_ == null) {
streamSources_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
streamSourcesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public Builder removeStreamSources(int index) {
if (streamSourcesBuilder_ == null) {
ensureStreamSourcesIsMutable();
streamSources_.remove(index);
onChanged();
} else {
streamSourcesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.StreamSource.Builder getStreamSourcesBuilder(
int index) {
return getStreamSourcesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.StreamSourceOrBuilder getStreamSourcesOrBuilder(
int index) {
if (streamSourcesBuilder_ == null) {
return streamSources_.get(index); } else {
return streamSourcesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.StreamSourceOrBuilder>
getStreamSourcesOrBuilderList() {
if (streamSourcesBuilder_ != null) {
return streamSourcesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(streamSources_);
}
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.StreamSource.Builder addStreamSourcesBuilder() {
return getStreamSourcesFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.StreamSource.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.StreamSource.Builder addStreamSourcesBuilder(
int index) {
return getStreamSourcesFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.StreamSource.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.StreamSource.Builder>
getStreamSourcesBuilderList() {
return getStreamSourcesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.StreamSource, ai.chalk.protos.chalk.graph.v1.StreamSource.Builder, ai.chalk.protos.chalk.graph.v1.StreamSourceOrBuilder>
getStreamSourcesFieldBuilder() {
if (streamSourcesBuilder_ == null) {
streamSourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.StreamSource, ai.chalk.protos.chalk.graph.v1.StreamSource.Builder, ai.chalk.protos.chalk.graph.v1.StreamSourceOrBuilder>(
streamSources_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
streamSources_ = null;
}
return streamSourcesBuilder_;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.NamedQuery> namedQueries_ =
java.util.Collections.emptyList();
private void ensureNamedQueriesIsMutable() {
if (!((bitField0_ & 0x00000040) != 0)) {
namedQueries_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.NamedQuery>(namedQueries_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.NamedQuery, ai.chalk.protos.chalk.graph.v1.NamedQuery.Builder, ai.chalk.protos.chalk.graph.v1.NamedQueryOrBuilder> namedQueriesBuilder_;
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.NamedQuery> getNamedQueriesList() {
if (namedQueriesBuilder_ == null) {
return java.util.Collections.unmodifiableList(namedQueries_);
} else {
return namedQueriesBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public int getNamedQueriesCount() {
if (namedQueriesBuilder_ == null) {
return namedQueries_.size();
} else {
return namedQueriesBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.NamedQuery getNamedQueries(int index) {
if (namedQueriesBuilder_ == null) {
return namedQueries_.get(index);
} else {
return namedQueriesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public Builder setNamedQueries(
int index, ai.chalk.protos.chalk.graph.v1.NamedQuery value) {
if (namedQueriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNamedQueriesIsMutable();
namedQueries_.set(index, value);
onChanged();
} else {
namedQueriesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public Builder setNamedQueries(
int index, ai.chalk.protos.chalk.graph.v1.NamedQuery.Builder builderForValue) {
if (namedQueriesBuilder_ == null) {
ensureNamedQueriesIsMutable();
namedQueries_.set(index, builderForValue.build());
onChanged();
} else {
namedQueriesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public Builder addNamedQueries(ai.chalk.protos.chalk.graph.v1.NamedQuery value) {
if (namedQueriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNamedQueriesIsMutable();
namedQueries_.add(value);
onChanged();
} else {
namedQueriesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public Builder addNamedQueries(
int index, ai.chalk.protos.chalk.graph.v1.NamedQuery value) {
if (namedQueriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNamedQueriesIsMutable();
namedQueries_.add(index, value);
onChanged();
} else {
namedQueriesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public Builder addNamedQueries(
ai.chalk.protos.chalk.graph.v1.NamedQuery.Builder builderForValue) {
if (namedQueriesBuilder_ == null) {
ensureNamedQueriesIsMutable();
namedQueries_.add(builderForValue.build());
onChanged();
} else {
namedQueriesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public Builder addNamedQueries(
int index, ai.chalk.protos.chalk.graph.v1.NamedQuery.Builder builderForValue) {
if (namedQueriesBuilder_ == null) {
ensureNamedQueriesIsMutable();
namedQueries_.add(index, builderForValue.build());
onChanged();
} else {
namedQueriesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public Builder addAllNamedQueries(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.NamedQuery> values) {
if (namedQueriesBuilder_ == null) {
ensureNamedQueriesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, namedQueries_);
onChanged();
} else {
namedQueriesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public Builder clearNamedQueries() {
if (namedQueriesBuilder_ == null) {
namedQueries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
namedQueriesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public Builder removeNamedQueries(int index) {
if (namedQueriesBuilder_ == null) {
ensureNamedQueriesIsMutable();
namedQueries_.remove(index);
onChanged();
} else {
namedQueriesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.NamedQuery.Builder getNamedQueriesBuilder(
int index) {
return getNamedQueriesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.NamedQueryOrBuilder getNamedQueriesOrBuilder(
int index) {
if (namedQueriesBuilder_ == null) {
return namedQueries_.get(index); } else {
return namedQueriesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.NamedQueryOrBuilder>
getNamedQueriesOrBuilderList() {
if (namedQueriesBuilder_ != null) {
return namedQueriesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(namedQueries_);
}
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.NamedQuery.Builder addNamedQueriesBuilder() {
return getNamedQueriesFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.NamedQuery.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.NamedQuery.Builder addNamedQueriesBuilder(
int index) {
return getNamedQueriesFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.NamedQuery.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.NamedQuery.Builder>
getNamedQueriesBuilderList() {
return getNamedQueriesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.NamedQuery, ai.chalk.protos.chalk.graph.v1.NamedQuery.Builder, ai.chalk.protos.chalk.graph.v1.NamedQueryOrBuilder>
getNamedQueriesFieldBuilder() {
if (namedQueriesBuilder_ == null) {
namedQueriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.NamedQuery, ai.chalk.protos.chalk.graph.v1.NamedQuery.Builder, ai.chalk.protos.chalk.graph.v1.NamedQueryOrBuilder>(
namedQueries_,
((bitField0_ & 0x00000040) != 0),
getParentForChildren(),
isClean());
namedQueries_ = null;
}
return namedQueriesBuilder_;
}
@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.graph.v1.Graph)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.Graph)
private static final ai.chalk.protos.chalk.graph.v1.Graph DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.Graph();
}
public static ai.chalk.protos.chalk.graph.v1.Graph getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Graph>
PARSER = new com.google.protobuf.AbstractParser<Graph>() {
@java.lang.Override
public Graph 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<Graph> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Graph> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.Graph getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/GraphOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface GraphOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.Graph)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureSet>
getFeatureSetsList();
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureSet getFeatureSets(int index);
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
int getFeatureSetsCount();
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureSetOrBuilder>
getFeatureSetsOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.FeatureSet feature_sets = 1 [json_name = "featureSets"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureSetOrBuilder getFeatureSetsOrBuilder(
int index);
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.Resolver>
getResolversList();
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
ai.chalk.protos.chalk.graph.v1.Resolver getResolvers(int index);
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
int getResolversCount();
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.ResolverOrBuilder>
getResolversOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.Resolver resolvers = 2 [json_name = "resolvers"];</code>
*/
ai.chalk.protos.chalk.graph.v1.ResolverOrBuilder getResolversOrBuilder(
int index);
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.StreamResolver>
getStreamResolversList();
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
ai.chalk.protos.chalk.graph.v1.StreamResolver getStreamResolvers(int index);
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
int getStreamResolversCount();
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.StreamResolverOrBuilder>
getStreamResolversOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.StreamResolver stream_resolvers = 3 [json_name = "streamResolvers"];</code>
*/
ai.chalk.protos.chalk.graph.v1.StreamResolverOrBuilder getStreamResolversOrBuilder(
int index);
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.SinkResolver>
getSinkResolversList();
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
ai.chalk.protos.chalk.graph.v1.SinkResolver getSinkResolvers(int index);
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
int getSinkResolversCount();
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.SinkResolverOrBuilder>
getSinkResolversOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.SinkResolver sink_resolvers = 4 [json_name = "sinkResolvers"];</code>
*/
ai.chalk.protos.chalk.graph.v1.SinkResolverOrBuilder getSinkResolversOrBuilder(
int index);
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.DatabaseSource>
getDatabaseSourcesList();
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
ai.chalk.protos.chalk.graph.v1.DatabaseSource getDatabaseSources(int index);
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
int getDatabaseSourcesCount();
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.DatabaseSourceOrBuilder>
getDatabaseSourcesOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.DatabaseSource database_sources = 5 [json_name = "databaseSources"];</code>
*/
ai.chalk.protos.chalk.graph.v1.DatabaseSourceOrBuilder getDatabaseSourcesOrBuilder(
int index);
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.StreamSource>
getStreamSourcesList();
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
ai.chalk.protos.chalk.graph.v1.StreamSource getStreamSources(int index);
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
int getStreamSourcesCount();
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.StreamSourceOrBuilder>
getStreamSourcesOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.StreamSource stream_sources = 6 [json_name = "streamSources"];</code>
*/
ai.chalk.protos.chalk.graph.v1.StreamSourceOrBuilder getStreamSourcesOrBuilder(
int index);
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.NamedQuery>
getNamedQueriesList();
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
ai.chalk.protos.chalk.graph.v1.NamedQuery getNamedQueries(int index);
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
int getNamedQueriesCount();
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.NamedQueryOrBuilder>
getNamedQueriesOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.NamedQuery named_queries = 7 [json_name = "namedQueries"];</code>
*/
ai.chalk.protos.chalk.graph.v1.NamedQueryOrBuilder getNamedQueriesOrBuilder(
int index);
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/GraphProto.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public final class GraphProto {
private GraphProto() {}
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_graph_v1_Graph_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_Graph_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_NamedQuery_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_NamedQuery_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_NamedQuery_MetaEntry_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_NamedQuery_MetaEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_NamedQuery_StalenessEntry_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_NamedQuery_StalenessEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_NamedQuery_PlannerOptionsEntry_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_NamedQuery_PlannerOptionsEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_FeatureSet_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_FeatureSet_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_FeatureType_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_FeatureType_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_FeatureReference_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_FeatureReference_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_DataFrameType_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_DataFrameType_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_GroupByFeatureType_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_GroupByFeatureType_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_ScalarFeatureType_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_ScalarFeatureType_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_HasOneFeatureType_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_HasOneFeatureType_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_HasManyFeatureType_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_HasManyFeatureType_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_FeatureTimeFeatureType_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_FeatureTimeFeatureType_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_WindowedFeatureType_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_WindowedFeatureType_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_WindowAggregation_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_WindowAggregation_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_WindowInfo_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_WindowInfo_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_FeatureInput_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_FeatureInput_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_ResolverInput_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_ResolverInput_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_ResolverOutput_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_ResolverOutput_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_Resolver_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_Resolver_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_SinkResolver_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_SinkResolver_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_ParseInfo_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_ParseInfo_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_StreamResolver_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_StreamResolver_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_ResolverState_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_ResolverState_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_StreamResolverParam_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_StreamResolverParam_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_StreamResolverParamMessageWindow_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_StreamResolverParamMessageWindow_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_StreamResolverParamMessage_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_StreamResolverParamMessage_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_FunctionReference_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_FunctionReference_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_SourceFileReference_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_SourceFileReference_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_StreamKey_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_StreamKey_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_CronFilterWithFeatureArgs_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_CronFilterWithFeatureArgs_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_Schedule_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_Schedule_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_FeatureValidation_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_FeatureValidation_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_VersionInfo_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_VersionInfo_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_chalk_graph_v1_StrictValidation_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_chalk_graph_v1_StrictValidation_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/graph/v1/graph.proto\022\016chalk.grap" +
"h.v1\032\032chalk/arrow/v1/arrow.proto\032$chalk/" +
"expression/v1/expression.proto\032\034chalk/gr" +
"aph/v1/sources.proto\032\026chalk/lsp/v1/lsp.p" +
"roto\032\036google/protobuf/duration.proto\032\037go" +
"ogle/protobuf/timestamp.proto\"\337\003\n\005Graph\022" +
"=\n\014feature_sets\030\001 \003(\0132\032.chalk.graph.v1.F" +
"eatureSetR\013featureSets\0226\n\tresolvers\030\002 \003(" +
"\0132\030.chalk.graph.v1.ResolverR\tresolvers\022I" +
"\n\020stream_resolvers\030\003 \003(\0132\036.chalk.graph.v" +
"1.StreamResolverR\017streamResolvers\022C\n\016sin" +
"k_resolvers\030\004 \003(\0132\034.chalk.graph.v1.SinkR" +
"esolverR\rsinkResolvers\022I\n\020database_sourc" +
"es\030\005 \003(\0132\036.chalk.graph.v1.DatabaseSource" +
"R\017databaseSources\022C\n\016stream_sources\030\006 \003(" +
"\0132\034.chalk.graph.v1.StreamSourceR\rstreamS" +
"ources\022?\n\rnamed_queries\030\007 \003(\0132\032.chalk.gr" +
"aph.v1.NamedQueryR\014namedQueries\"\374\006\n\nName" +
"dQuery\022\022\n\004name\030\001 \001(\tR\004name\022(\n\rquery_vers" +
"ion\030\002 \001(\tH\000R\014queryVersion\210\001\001\022\024\n\005input\030\003 " +
"\003(\tR\005input\022\026\n\006output\030\004 \003(\tR\006output\022\022\n\004ta" +
"gs\030\005 \003(\tR\004tags\022%\n\013description\030\006 \001(\tH\001R\013d" +
"escription\210\001\001\022\031\n\005owner\030\007 \001(\tH\002R\005owner\210\001\001" +
"\0228\n\004meta\030\010 \003(\0132$.chalk.graph.v1.NamedQue" +
"ry.MetaEntryR\004meta\022G\n\tstaleness\030\t \003(\0132)." +
"chalk.graph.v1.NamedQuery.StalenessEntry" +
"R\tstaleness\022W\n\017planner_options\030\n \003(\0132..c" +
"halk.graph.v1.NamedQuery.PlannerOptionsE" +
"ntryR\016plannerOptions\022\033\n\tfile_name\030\013 \001(\tR" +
"\010fileName\022(\n\rdeployment_id\030\014 \001(\tH\003R\014depl" +
"oymentId\210\001\001\022\\\n\025source_file_reference\030\r \001" +
"(\0132#.chalk.graph.v1.SourceFileReferenceH" +
"\004R\023sourceFileReference\210\001\001\0327\n\tMetaEntry\022\020" +
"\n\003key\030\001 \001(\tR\003key\022\024\n\005value\030\002 \001(\tR\005value:\002" +
"8\001\032W\n\016StalenessEntry\022\020\n\003key\030\001 \001(\tR\003key\022/" +
"\n\005value\030\002 \001(\0132\031.google.protobuf.Duration" +
"R\005value:\0028\001\032A\n\023PlannerOptionsEntry\022\020\n\003ke" +
"y\030\001 \001(\tR\003key\022\024\n\005value\030\002 \001(\tR\005value:\0028\001B\020" +
"\n\016_query_versionB\016\n\014_descriptionB\010\n\006_own" +
"erB\020\n\016_deployment_idB\030\n\026_source_file_ref" +
"erence\"\252\003\n\nFeatureSet\022\022\n\004name\030\001 \001(\tR\004nam" +
"e\0227\n\010features\030\002 \003(\0132\033.chalk.graph.v1.Fea" +
"tureTypeR\010features\022O\n\026max_staleness_dura" +
"tion\030\003 \001(\0132\031.google.protobuf.DurationR\024m" +
"axStalenessDuration\022!\n\014is_singleton\030\004 \001(" +
"\010R\013isSingleton\022\022\n\004tags\030\005 \003(\tR\004tags\022\031\n\005ow" +
"ner\030\006 \001(\tH\000R\005owner\210\001\001\022\025\n\003doc\030\007 \001(\tH\001R\003do" +
"c\210\001\001\0226\n\025etl_offline_to_online\030\010 \001(\010H\002R\022e" +
"tlOfflineToOnline\210\001\001\022\"\n\nclass_path\030\t \001(\t" +
"H\003R\tclassPath\210\001\001B\010\n\006_ownerB\006\n\004_docB\030\n\026_e" +
"tl_offline_to_onlineB\r\n\013_class_path\"\242\003\n\013" +
"FeatureType\022;\n\006scalar\030\001 \001(\0132!.chalk.grap" +
"h.v1.ScalarFeatureTypeH\000R\006scalar\022<\n\007has_" +
"one\030\002 \001(\0132!.chalk.graph.v1.HasOneFeature" +
"TypeH\000R\006hasOne\022?\n\010has_many\030\003 \001(\0132\".chalk" +
".graph.v1.HasManyFeatureTypeH\000R\007hasMany\022" +
"K\n\014feature_time\030\004 \001(\0132&.chalk.graph.v1.F" +
"eatureTimeFeatureTypeH\000R\013featureTime\022A\n\010" +
"windowed\030\005 \001(\0132#.chalk.graph.v1.Windowed" +
"FeatureTypeH\000R\010windowed\022?\n\010group_by\030\006 \001(" +
"\0132\".chalk.graph.v1.GroupByFeatureTypeH\000R" +
"\007groupByB\006\n\004type\"\251\001\n\020FeatureReference\022\022\n" +
"\004name\030\001 \001(\tR\004name\022\034\n\tnamespace\030\002 \001(\tR\tna" +
"mespace\0224\n\004path\030\003 \003(\0132 .chalk.graph.v1.F" +
"eatureReferenceR\004path\022-\n\002df\030\004 \001(\0132\035.chal" +
"k.graph.v1.DataFrameTypeR\002df\"\263\002\n\rDataFra" +
"meType\022%\n\016root_namespace\030\001 \001(\tR\rrootName" +
"space\022K\n\020required_columns\030\002 \003(\0132 .chalk." +
"graph.v1.FeatureReferenceR\017requiredColum" +
"ns\022K\n\020optional_columns\030\003 \003(\0132 .chalk.gra" +
"ph.v1.FeatureReferenceR\017optionalColumns\022" +
"<\n\006filter\030\004 \001(\0132$.chalk.expression.v1.Lo" +
"gicalExprNodeR\006filter\022\031\n\005limit\030\005 \001(\004H\000R\005" +
"limit\210\001\001B\010\n\006_limit\"\325\005\n\022GroupByFeatureTyp" +
"e\022\022\n\004name\030\001 \001(\tR\004name\022\034\n\tnamespace\030\002 \001(\t" +
"R\tnamespace\022\037\n\013is_nullable\030\003 \001(\010R\nisNull" +
"able\022.\n\020internal_version\030\004 \001(\004H\000R\017intern" +
"alVersion\210\001\001\0228\n\narrow_type\030\005 \001(\0132\031.chalk" +
".arrow.v1.ArrowTypeR\tarrowType\022C\n\013aggreg" +
"ation\030\006 \001(\0132!.chalk.graph.v1.WindowAggre" +
"gationR\013aggregation\022D\n\020window_durations\030" +
"\007 \003(\0132\031.google.protobuf.DurationR\017window" +
"Durations\022D\n\nexpression\030\010 \001(\0132$.chalk.ex" +
"pression.v1.LogicalExprNodeR\nexpression\022" +
"@\n\rdefault_value\030\t \001(\0132\033.chalk.arrow.v1." +
"ScalarValueR\014defaultValue\022\022\n\004tags\030\n \003(\tR" +
"\004tags\022%\n\013description\030\013 \001(\tH\001R\013descriptio" +
"n\210\001\001\022\031\n\005owner\030\014 \001(\tH\002R\005owner\210\001\001\022C\n\013valid" +
"ations\030\r \003(\0132!.chalk.graph.v1.FeatureVal" +
"idationR\013validations\022%\n\016attribute_name\030\016" +
" \001(\tR\rattributeNameB\023\n\021_internal_version" +
"B\016\n\014_descriptionB\010\n\006_owner\"\372\t\n\021ScalarFea" +
"tureType\022\022\n\004name\030\001 \001(\tR\004name\022\034\n\tnamespac" +
"e\030\002 \001(\tR\tnamespace\022)\n\020is_autogenerated\030\003" +
" \001(\010R\017isAutogenerated\022\035\n\nno_display\030\004 \001(" +
"\010R\tnoDisplay\022\035\n\nis_primary\030\005 \001(\010R\tisPrim" +
"ary\022\037\n\013is_nullable\030\006 \001(\010R\nisNullable\022.\n\020" +
"internal_version\030\007 \001(\004H\000R\017internalVersio" +
"n\210\001\001\022O\n\026max_staleness_duration\030\010 \001(\0132\031.g" +
"oogle.protobuf.DurationR\024maxStalenessDur" +
"ation\022K\n\024offline_ttl_duration\030\n \001(\0132\031.go" +
"ogle.protobuf.DurationR\022offlineTtlDurati" +
"on\0228\n\narrow_type\030\013 \001(\0132\031.chalk.arrow.v1." +
"ArrowTypeR\tarrowType\0225\n\007version\030\014 \001(\0132\033." +
"chalk.graph.v1.VersionInfoR\007version\022;\n\013w" +
"indow_info\030\r \001(\0132\032.chalk.graph.v1.Window" +
"InfoR\nwindowInfo\022@\n\rdefault_value\030\016 \001(\0132" +
"\033.chalk.arrow.v1.ScalarValueR\014defaultVal" +
"ue\022\022\n\004tags\030\017 \003(\tR\004tags\022%\n\013description\030\020 " +
"\001(\tH\001R\013description\210\001\001\022\031\n\005owner\030\021 \001(\tH\002R\005" +
"owner\210\001\001\022D\n\nexpression\030\022 \001(\0132$.chalk.exp" +
"ression.v1.LogicalExprNodeR\nexpression\022C" +
"\n\013validations\030\023 \003(\0132!.chalk.graph.v1.Fea" +
"tureValidationR\013validations\022;\n\010last_for\030" +
"\024 \001(\0132 .chalk.graph.v1.FeatureReferenceR" +
"\007lastFor\0226\n\025etl_offline_to_online\030\025 \001(\010H" +
"\003R\022etlOfflineToOnline\210\001\001\022:\n\031is_distance_" +
"pseudofeature\030\026 \001(\010R\027isDistancePseudofea" +
"ture\022%\n\016attribute_name\030\027 \001(\tR\rattributeN" +
"ame\022#\n\ris_deprecated\030\030 \001(\010R\014isDeprecated" +
"\022D\n\016cache_strategy\030\031 \001(\0162\035.chalk.graph.v" +
"1.CacheStrategyR\rcacheStrategyB\023\n\021_inter" +
"nal_versionB\016\n\014_descriptionB\010\n\006_ownerB\030\n" +
"\026_etl_offline_to_online\"\217\003\n\021HasOneFeatur" +
"eType\022\022\n\004name\030\001 \001(\tR\004name\022\034\n\tnamespace\030\002" +
" \001(\tR\tnamespace\022+\n\021foreign_namespace\030\003 \001" +
"(\tR\020foreignNamespace\0228\n\004join\030\004 \001(\0132$.cha" +
"lk.expression.v1.LogicalExprNodeR\004join\022\037" +
"\n\013is_nullable\030\005 \001(\010R\nisNullable\022)\n\020is_au" +
"togenerated\030\006 \001(\010R\017isAutogenerated\022\022\n\004ta" +
"gs\030\007 \003(\tR\004tags\022%\n\013description\030\010 \001(\tH\000R\013d" +
"escription\210\001\001\022\031\n\005owner\030\t \001(\tH\001R\005owner\210\001\001" +
"\022%\n\016attribute_name\030\n \001(\tR\rattributeNameB" +
"\016\n\014_descriptionB\010\n\006_owner\"\300\003\n\022HasManyFea" +
"tureType\022\022\n\004name\030\001 \001(\tR\004name\022\034\n\tnamespac" +
"e\030\002 \001(\tR\tnamespace\022+\n\021foreign_namespace\030" +
"\003 \001(\tR\020foreignNamespace\0228\n\004join\030\004 \001(\0132$." +
"chalk.expression.v1.LogicalExprNodeR\004joi" +
"n\022)\n\020is_autogenerated\030\005 \001(\010R\017isAutogener" +
"ated\022O\n\026max_staleness_duration\030\006 \001(\0132\031.g" +
"oogle.protobuf.DurationR\024maxStalenessDur" +
"ation\022\022\n\004tags\030\007 \003(\tR\004tags\022%\n\013description" +
"\030\010 \001(\tH\000R\013description\210\001\001\022\031\n\005owner\030\t \001(\tH" +
"\001R\005owner\210\001\001\022%\n\016attribute_name\030\n \001(\tR\ratt" +
"ributeNameB\016\n\014_descriptionB\010\n\006_owner\"\214\002\n" +
"\026FeatureTimeFeatureType\022\022\n\004name\030\001 \001(\tR\004n" +
"ame\022\034\n\tnamespace\030\002 \001(\tR\tnamespace\022)\n\020is_" +
"autogenerated\030\003 \001(\010R\017isAutogenerated\022\022\n\004" +
"tags\030\004 \003(\tR\004tags\022%\n\013description\030\005 \001(\tH\000R" +
"\013description\210\001\001\022\031\n\005owner\030\006 \001(\tH\001R\005owner\210" +
"\001\001\022%\n\016attribute_name\030\007 \001(\tR\rattributeNam" +
"eB\016\n\014_descriptionB\010\n\006_owner\"\337\001\n\023Windowed" +
"FeatureType\022\022\n\004name\030\001 \001(\tR\004name\022\034\n\tnames" +
"pace\030\002 \001(\tR\tnamespace\022)\n\020is_autogenerate" +
"d\030\003 \001(\010R\017isAutogenerated\022D\n\020window_durat" +
"ions\030\004 \003(\0132\031.google.protobuf.DurationR\017w" +
"indowDurations\022%\n\016attribute_name\030\005 \001(\tR\r" +
"attributeName\"\352\007\n\021WindowAggregation\022\034\n\tn" +
"amespace\030\001 \001(\tR\tnamespace\022;\n\010group_by\030\002 " +
"\003(\0132 .chalk.graph.v1.FeatureReferenceR\007g" +
"roupBy\022B\n\017bucket_duration\030\003 \001(\0132\031.google" +
".protobuf.DurationR\016bucketDuration\022 \n\013ag" +
"gregation\030\004 \001(\tR\013aggregation\022H\n\014aggregat" +
"e_on\030\005 \001(\0132 .chalk.graph.v1.FeatureRefer" +
"enceH\000R\013aggregateOn\210\001\001\0228\n\narrow_type\030\006 \001" +
"(\0132\031.chalk.arrow.v1.ArrowTypeR\tarrowType" +
"\022>\n\007filters\030\007 \003(\0132$.chalk.expression.v1." +
"LogicalExprNodeR\007filters\0220\n\021backfill_res" +
"olver\030\010 \001(\tH\001R\020backfillResolver\210\001\001\022\\\n\032ba" +
"ckfill_lookback_duration\030\t \001(\0132\031.google." +
"protobuf.DurationH\002R\030backfillLookbackDur" +
"ation\210\001\001\022O\n\023backfill_start_time\030\n \001(\0132\032." +
"google.protobuf.TimestampH\003R\021backfillSta" +
"rtTime\210\001\001\0224\n\023continuous_resolver\030\013 \001(\tH\004" +
"R\022continuousResolver\210\001\001\022\\\n\032continuous_bu" +
"ffer_duration\030\014 \001(\0132\031.google.protobuf.Du" +
"rationH\005R\030continuousBufferDuration\210\001\001\0220\n" +
"\021backfill_schedule\030\r \001(\tH\006R\020backfillSche" +
"dule\210\001\001B\017\n\r_aggregate_onB\024\n\022_backfill_re" +
"solverB\035\n\033_backfill_lookback_durationB\026\n" +
"\024_backfill_start_timeB\026\n\024_continuous_res" +
"olverB\035\n\033_continuous_buffer_durationB\024\n\022" +
"_backfill_schedule\"\235\001\n\nWindowInfo\0225\n\010dur" +
"ation\030\001 \001(\0132\031.google.protobuf.DurationR\010" +
"duration\022H\n\013aggregation\030\002 \001(\0132!.chalk.gr" +
"aph.v1.WindowAggregationH\000R\013aggregation\210" +
"\001\001B\016\n\014_aggregation\"\214\001\n\014FeatureInput\022:\n\007f" +
"eature\030\001 \001(\0132 .chalk.graph.v1.FeatureRef" +
"erenceR\007feature\022@\n\rdefault_value\030\002 \001(\0132\033" +
".chalk.arrow.v1.ScalarValueR\014defaultValu" +
"e\"\277\001\n\rResolverInput\0228\n\007feature\030\001 \001(\0132\034.c" +
"halk.graph.v1.FeatureInputH\000R\007feature\022/\n" +
"\002df\030\002 \001(\0132\035.chalk.graph.v1.DataFrameType" +
"H\000R\002df\0225\n\005state\030\003 \001(\0132\035.chalk.graph.v1.R" +
"esolverStateH\000R\005stateB\014\n\nannotation\"\215\001\n\016" +
"ResolverOutput\022<\n\007feature\030\001 \001(\0132 .chalk." +
"graph.v1.FeatureReferenceH\000R\007feature\022/\n\002" +
"df\030\002 \001(\0132\035.chalk.graph.v1.DataFrameTypeH" +
"\000R\002dfB\014\n\nannotation\"\261\007\n\010Resolver\022\020\n\003fqn\030" +
"\001 \001(\tR\003fqn\0220\n\004kind\030\002 \001(\0162\034.chalk.graph.v" +
"1.ResolverKindR\004kind\0225\n\006inputs\030\003 \003(\0132\035.c" +
"halk.graph.v1.ResolverInputR\006inputs\0228\n\007o" +
"utputs\030\004 \003(\0132\036.chalk.graph.v1.ResolverOu" +
"tputR\007outputs\022!\n\014is_generator\030\005 \001(\010R\013isG" +
"enerator\022J\n\014data_sources\030\006 \003(\0132\'.chalk.g" +
"raph.v1.DatabaseSourceReferenceR\013dataSou" +
"rces\022&\n\014machine_type\030\007 \001(\tH\000R\013machineTyp" +
"e\210\001\001\022\022\n\004tags\030\010 \003(\tR\004tags\022\031\n\005owner\030\t \001(\tH" +
"\001R\005owner\210\001\001\022\025\n\003doc\030\n \001(\tH\002R\003doc\210\001\001\022\"\n\014en" +
"vironments\030\013 \003(\tR\014environments\022D\n\020timeou" +
"t_duration\030\014 \001(\0132\031.google.protobuf.Durat" +
"ionR\017timeoutDuration\0224\n\010schedule\030\r \001(\0132\030" +
".chalk.graph.v1.ScheduleR\010schedule\0228\n\004wh" +
"en\030\016 \001(\0132$.chalk.expression.v1.LogicalEx" +
"prNodeR\004when\022J\n\013cron_filter\030\017 \001(\0132).chal" +
"k.graph.v1.CronFilterWithFeatureArgsR\ncr" +
"onFilter\022=\n\010function\030\020 \001(\0132!.chalk.graph" +
".v1.FunctionReferenceR\010function\022A\n\rresou" +
"rce_hint\030\021 \001(\0162\034.chalk.graph.v1.Resource" +
"HintR\014resourceHint\022\033\n\tis_static\030\022 \001(\010R\010i" +
"sStatic\022\036\n\010is_total\030\023 \001(\010H\003R\007isTotal\210\001\001B" +
"\017\n\r_machine_typeB\010\n\006_ownerB\006\n\004_docB\013\n\t_i" +
"s_total\"\215\006\n\014SinkResolver\022\020\n\003fqn\030\001 \001(\tR\003f" +
"qn\0225\n\006inputs\030\002 \003(\0132\035.chalk.graph.v1.Reso" +
"lverInputR\006inputs\022$\n\013buffer_size\030\003 \001(\004H\001" +
"R\nbufferSize\210\001\001\022F\n\021debounce_duration\030\004 \001" +
"(\0132\031.google.protobuf.DurationR\020debounceD" +
"uration\022G\n\022max_delay_duration\030\005 \001(\0132\031.go" +
"ogle.protobuf.DurationR\020maxDelayDuration" +
"\022\026\n\006upsert\030\006 \001(\010R\006upsert\022L\n\rstream_sourc" +
"e\030\007 \001(\0132%.chalk.graph.v1.StreamSourceRef" +
"erenceH\000R\014streamSource\022R\n\017database_sourc" +
"e\030\010 \001(\0132\'.chalk.graph.v1.DatabaseSourceR" +
"eferenceH\000R\016databaseSource\022&\n\014machine_ty" +
"pe\030\t \001(\tH\002R\013machineType\210\001\001\022\025\n\003doc\030\n \001(\tH" +
"\003R\003doc\210\001\001\022\031\n\005owner\030\013 \001(\tH\004R\005owner\210\001\001\022\"\n\014" +
"environments\030\014 \003(\tR\014environments\022D\n\020time" +
"out_duration\030\r \001(\0132\031.google.protobuf.Dur" +
"ationR\017timeoutDuration\022=\n\010function\030\016 \001(\013" +
"2!.chalk.graph.v1.FunctionReferenceR\010fun" +
"ctionB\r\n\013integrationB\016\n\014_buffer_sizeB\017\n\r" +
"_machine_typeB\006\n\004_docB\010\n\006_owner\"\315\002\n\tPars" +
"eInfo\022H\n\016parse_function\030\001 \001(\0132!.chalk.gr" +
"aph.v1.FunctionReferenceR\rparseFunction\022" +
"T\n\031parse_function_input_type\030\002 \001(\0132\031.cha" +
"lk.arrow.v1.ArrowTypeR\026parseFunctionInpu" +
"tType\022V\n\032parse_function_output_type\030\003 \001(" +
"\0132\031.chalk.arrow.v1.ArrowTypeR\027parseFunct" +
"ionOutputType\022H\n!is_parse_function_outpu" +
"t_optional\030\004 \001(\010R\035isParseFunctionOutputO" +
"ptional\"\267\006\n\016StreamResolver\022\020\n\003fqn\030\001 \001(\tR" +
"\003fqn\022;\n\006params\030\002 \003(\0132#.chalk.graph.v1.St" +
"reamResolverParamR\006params\0228\n\007outputs\030\003 \003" +
"(\0132\036.chalk.graph.v1.ResolverOutputR\007outp" +
"uts\022B\n\017explicit_schema\030\004 \001(\0132\031.chalk.arr" +
"ow.v1.ArrowTypeR\016explicitSchema\022-\n\004keys\030" +
"\005 \003(\0132\031.chalk.graph.v1.StreamKeyR\004keys\022=" +
"\n\006source\030\006 \001(\0132%.chalk.graph.v1.StreamSo" +
"urceReferenceR\006source\0228\n\nparse_info\030\007 \001(" +
"\0132\031.chalk.graph.v1.ParseInfoR\tparseInfo\022" +
".\n\004mode\030\010 \001(\0162\032.chalk.graph.v1.WindowMod" +
"eR\004mode\022\"\n\014environments\030\t \003(\tR\014environme" +
"nts\022D\n\020timeout_duration\030\n \001(\0132\031.google.p" +
"rotobuf.DurationR\017timeoutDuration\022=\n\030tim" +
"estamp_attribute_name\030\013 \001(\tH\000R\026timestamp" +
"AttributeName\210\001\001\022\031\n\005owner\030\014 \001(\tH\001R\005owner" +
"\210\001\001\022\025\n\003doc\030\r \001(\tH\002R\003doc\210\001\001\022&\n\014machine_ty" +
"pe\030\016 \001(\tH\003R\013machineType\210\001\001\022=\n\010function\030\017" +
" \001(\0132!.chalk.graph.v1.FunctionReferenceR" +
"\010functionB\033\n\031_timestamp_attribute_nameB\010" +
"\n\006_ownerB\006\n\004_docB\017\n\r_machine_type\"\200\001\n\rRe" +
"solverState\0225\n\007initial\030\001 \001(\0132\033.chalk.arr" +
"ow.v1.ScalarValueR\007initial\0228\n\narrow_type" +
"\030\002 \001(\0132\031.chalk.arrow.v1.ArrowTypeR\tarrow" +
"Type\"\367\001\n\023StreamResolverParam\022F\n\007message\030" +
"\001 \001(\0132*.chalk.graph.v1.StreamResolverPar" +
"amMessageH\000R\007message\022Y\n\016message_window\030\002" +
" \001(\01320.chalk.graph.v1.StreamResolverPara" +
"mMessageWindowH\000R\rmessageWindow\0225\n\005state" +
"\030\003 \001(\0132\035.chalk.graph.v1.ResolverStateH\000R" +
"\005stateB\006\n\004type\"p\n StreamResolverParamMes" +
"sageWindow\022\022\n\004name\030\001 \001(\tR\004name\0228\n\narrow_" +
"type\030\002 \001(\0132\031.chalk.arrow.v1.ArrowTypeR\ta" +
"rrowType\"j\n\032StreamResolverParamMessage\022\022" +
"\n\004name\030\001 \001(\tR\004name\0228\n\narrow_type\030\002 \001(\0132\031" +
".chalk.arrow.v1.ArrowTypeR\tarrowType\"\303\001\n" +
"\021FunctionReference\022\022\n\004name\030\001 \001(\tR\004name\022\026" +
"\n\006module\030\002 \001(\tR\006module\022\033\n\tfile_name\030\003 \001(" +
"\tR\010fileName\022/\n\023function_definition\030\004 \001(\t" +
"R\022functionDefinition\022$\n\013source_line\030\005 \001(" +
"\005H\000R\nsourceLine\210\001\001B\016\n\014_source_line\"\177\n\023So" +
"urceFileReference\022)\n\005range\030\001 \001(\0132\023.chalk" +
".lsp.v1.RangeR\005range\022\027\n\004code\030\002 \001(\tH\000R\004co" +
"de\210\001\001\022\033\n\tfile_name\030\003 \001(\tR\010fileNameB\007\n\005_c" +
"ode\"Y\n\tStreamKey\022\020\n\003key\030\001 \001(\tR\003key\022:\n\007fe" +
"ature\030\002 \001(\0132 .chalk.graph.v1.FeatureRefe" +
"renceR\007feature\"\214\001\n\031CronFilterWithFeature" +
"Args\0229\n\006filter\030\001 \001(\0132!.chalk.graph.v1.Fu" +
"nctionReferenceR\006filter\0224\n\004args\030\002 \003(\0132 ." +
"chalk.graph.v1.FeatureReferenceR\004args\"\341\001" +
"\n\010Schedule\022\032\n\007crontab\030\001 \001(\tH\000R\007crontab\0227" +
"\n\010duration\030\002 \001(\0132\031.google.protobuf.Durat" +
"ionH\000R\010duration\0229\n\006filter\030\003 \001(\0132!.chalk." +
"graph.v1.FunctionReferenceR\006filter\0229\n\006sa" +
"mple\030\004 \001(\0132!.chalk.graph.v1.FunctionRefe" +
"renceR\006sampleB\n\n\010schedule\"\243\001\n\021FeatureVal" +
"idation\022\022\n\003min\030\001 \001(\002H\000R\003min\022\022\n\003max\030\002 \001(\002" +
"H\000R\003max\022\037\n\nmin_length\030\003 \001(\rH\000R\tminLength" +
"\022\037\n\nmax_length\030\004 \001(\rH\000R\tmaxLength\022\026\n\006str" +
"ict\030\005 \001(\010R\006strictB\014\n\nvalidation\"A\n\013Versi" +
"onInfo\022\030\n\007default\030\001 \001(\rR\007default\022\030\n\007maxi" +
"mum\030\002 \001(\rR\007maximum\"\223\001\n\020StrictValidation\022" +
":\n\007feature\030\001 \001(\0132 .chalk.graph.v1.Featur" +
"eReferenceR\007feature\022C\n\013validations\030\002 \003(\013" +
"2!.chalk.graph.v1.FeatureValidationR\013val" +
"idations*\204\001\n\rCacheStrategy\022\036\n\032CACHE_STRA" +
"TEGY_UNSPECIFIED\020\000\022\026\n\022CACHE_STRATEGY_ALL" +
"\020\001\022\033\n\027CACHE_STRATEGY_NO_NULLS\020\002\022\036\n\032CACHE" +
"_STRATEGY_EVICT_NULLS\020\003*b\n\014ResolverKind\022" +
"\035\n\031RESOLVER_KIND_UNSPECIFIED\020\000\022\030\n\024RESOLV" +
"ER_KIND_ONLINE\020\001\022\031\n\025RESOLVER_KIND_OFFLIN" +
"E\020\002*Z\n\014ResourceHint\022\035\n\031RESOURCE_HINT_UNS" +
"PECIFIED\020\000\022\025\n\021RESOURCE_HINT_CPU\020\001\022\024\n\020RES" +
"OURCE_HINT_IO\020\002*t\n\nWindowMode\022\033\n\027WINDOW_" +
"MODE_UNSPECIFIED\020\000\022\032\n\026WINDOW_MODE_CONTIN" +
"UOUS\020\001\022\030\n\024WINDOW_MODE_TUMBLING\020\002\022\023\n\017WIND" +
"OW_MODE_CDC\020\003B\206\001\n\036ai.chalk.protos.chalk." +
"graph.v1B\nGraphProtoP\001\242\002\003CGX\252\002\016Chalk.Gra" +
"ph.V1\312\002\016Chalk\\Graph\\V1\342\002\032Chalk\\Graph\\V1\\" +
"GPBMetadata\352\002\020Chalk::Graph::V1b\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.expression.v1.ExpressionProto.getDescriptor(),
ai.chalk.protos.chalk.graph.v1.SourcesProto.getDescriptor(),
ai.chalk.protos.chalk.lsp.v1.LspProto.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_chalk_graph_v1_Graph_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_chalk_graph_v1_Graph_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_Graph_descriptor,
new java.lang.String[] { "FeatureSets", "Resolvers", "StreamResolvers", "SinkResolvers", "DatabaseSources", "StreamSources", "NamedQueries", });
internal_static_chalk_graph_v1_NamedQuery_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_chalk_graph_v1_NamedQuery_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_NamedQuery_descriptor,
new java.lang.String[] { "Name", "QueryVersion", "Input", "Output", "Tags", "Description", "Owner", "Meta", "Staleness", "PlannerOptions", "FileName", "DeploymentId", "SourceFileReference", });
internal_static_chalk_graph_v1_NamedQuery_MetaEntry_descriptor =
internal_static_chalk_graph_v1_NamedQuery_descriptor.getNestedTypes().get(0);
internal_static_chalk_graph_v1_NamedQuery_MetaEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_NamedQuery_MetaEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_chalk_graph_v1_NamedQuery_StalenessEntry_descriptor =
internal_static_chalk_graph_v1_NamedQuery_descriptor.getNestedTypes().get(1);
internal_static_chalk_graph_v1_NamedQuery_StalenessEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_NamedQuery_StalenessEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_chalk_graph_v1_NamedQuery_PlannerOptionsEntry_descriptor =
internal_static_chalk_graph_v1_NamedQuery_descriptor.getNestedTypes().get(2);
internal_static_chalk_graph_v1_NamedQuery_PlannerOptionsEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_NamedQuery_PlannerOptionsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_chalk_graph_v1_FeatureSet_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_chalk_graph_v1_FeatureSet_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_FeatureSet_descriptor,
new java.lang.String[] { "Name", "Features", "MaxStalenessDuration", "IsSingleton", "Tags", "Owner", "Doc", "EtlOfflineToOnline", "ClassPath", });
internal_static_chalk_graph_v1_FeatureType_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_chalk_graph_v1_FeatureType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_FeatureType_descriptor,
new java.lang.String[] { "Scalar", "HasOne", "HasMany", "FeatureTime", "Windowed", "GroupBy", "Type", });
internal_static_chalk_graph_v1_FeatureReference_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_chalk_graph_v1_FeatureReference_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_FeatureReference_descriptor,
new java.lang.String[] { "Name", "Namespace", "Path", "Df", });
internal_static_chalk_graph_v1_DataFrameType_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_chalk_graph_v1_DataFrameType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_DataFrameType_descriptor,
new java.lang.String[] { "RootNamespace", "RequiredColumns", "OptionalColumns", "Filter", "Limit", });
internal_static_chalk_graph_v1_GroupByFeatureType_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_chalk_graph_v1_GroupByFeatureType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_GroupByFeatureType_descriptor,
new java.lang.String[] { "Name", "Namespace", "IsNullable", "InternalVersion", "ArrowType", "Aggregation", "WindowDurations", "Expression", "DefaultValue", "Tags", "Description", "Owner", "Validations", "AttributeName", });
internal_static_chalk_graph_v1_ScalarFeatureType_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_chalk_graph_v1_ScalarFeatureType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_ScalarFeatureType_descriptor,
new java.lang.String[] { "Name", "Namespace", "IsAutogenerated", "NoDisplay", "IsPrimary", "IsNullable", "InternalVersion", "MaxStalenessDuration", "OfflineTtlDuration", "ArrowType", "Version", "WindowInfo", "DefaultValue", "Tags", "Description", "Owner", "Expression", "Validations", "LastFor", "EtlOfflineToOnline", "IsDistancePseudofeature", "AttributeName", "IsDeprecated", "CacheStrategy", });
internal_static_chalk_graph_v1_HasOneFeatureType_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_chalk_graph_v1_HasOneFeatureType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_HasOneFeatureType_descriptor,
new java.lang.String[] { "Name", "Namespace", "ForeignNamespace", "Join", "IsNullable", "IsAutogenerated", "Tags", "Description", "Owner", "AttributeName", });
internal_static_chalk_graph_v1_HasManyFeatureType_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_chalk_graph_v1_HasManyFeatureType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_HasManyFeatureType_descriptor,
new java.lang.String[] { "Name", "Namespace", "ForeignNamespace", "Join", "IsAutogenerated", "MaxStalenessDuration", "Tags", "Description", "Owner", "AttributeName", });
internal_static_chalk_graph_v1_FeatureTimeFeatureType_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_chalk_graph_v1_FeatureTimeFeatureType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_FeatureTimeFeatureType_descriptor,
new java.lang.String[] { "Name", "Namespace", "IsAutogenerated", "Tags", "Description", "Owner", "AttributeName", });
internal_static_chalk_graph_v1_WindowedFeatureType_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_chalk_graph_v1_WindowedFeatureType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_WindowedFeatureType_descriptor,
new java.lang.String[] { "Name", "Namespace", "IsAutogenerated", "WindowDurations", "AttributeName", });
internal_static_chalk_graph_v1_WindowAggregation_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_chalk_graph_v1_WindowAggregation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_WindowAggregation_descriptor,
new java.lang.String[] { "Namespace", "GroupBy", "BucketDuration", "Aggregation", "AggregateOn", "ArrowType", "Filters", "BackfillResolver", "BackfillLookbackDuration", "BackfillStartTime", "ContinuousResolver", "ContinuousBufferDuration", "BackfillSchedule", });
internal_static_chalk_graph_v1_WindowInfo_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_chalk_graph_v1_WindowInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_WindowInfo_descriptor,
new java.lang.String[] { "Duration", "Aggregation", });
internal_static_chalk_graph_v1_FeatureInput_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_chalk_graph_v1_FeatureInput_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_FeatureInput_descriptor,
new java.lang.String[] { "Feature", "DefaultValue", });
internal_static_chalk_graph_v1_ResolverInput_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_chalk_graph_v1_ResolverInput_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_ResolverInput_descriptor,
new java.lang.String[] { "Feature", "Df", "State", "Annotation", });
internal_static_chalk_graph_v1_ResolverOutput_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_chalk_graph_v1_ResolverOutput_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_ResolverOutput_descriptor,
new java.lang.String[] { "Feature", "Df", "Annotation", });
internal_static_chalk_graph_v1_Resolver_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_chalk_graph_v1_Resolver_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_Resolver_descriptor,
new java.lang.String[] { "Fqn", "Kind", "Inputs", "Outputs", "IsGenerator", "DataSources", "MachineType", "Tags", "Owner", "Doc", "Environments", "TimeoutDuration", "Schedule", "When", "CronFilter", "Function", "ResourceHint", "IsStatic", "IsTotal", });
internal_static_chalk_graph_v1_SinkResolver_descriptor =
getDescriptor().getMessageTypes().get(18);
internal_static_chalk_graph_v1_SinkResolver_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_SinkResolver_descriptor,
new java.lang.String[] { "Fqn", "Inputs", "BufferSize", "DebounceDuration", "MaxDelayDuration", "Upsert", "StreamSource", "DatabaseSource", "MachineType", "Doc", "Owner", "Environments", "TimeoutDuration", "Function", "Integration", });
internal_static_chalk_graph_v1_ParseInfo_descriptor =
getDescriptor().getMessageTypes().get(19);
internal_static_chalk_graph_v1_ParseInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_ParseInfo_descriptor,
new java.lang.String[] { "ParseFunction", "ParseFunctionInputType", "ParseFunctionOutputType", "IsParseFunctionOutputOptional", });
internal_static_chalk_graph_v1_StreamResolver_descriptor =
getDescriptor().getMessageTypes().get(20);
internal_static_chalk_graph_v1_StreamResolver_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_StreamResolver_descriptor,
new java.lang.String[] { "Fqn", "Params", "Outputs", "ExplicitSchema", "Keys", "Source", "ParseInfo", "Mode", "Environments", "TimeoutDuration", "TimestampAttributeName", "Owner", "Doc", "MachineType", "Function", });
internal_static_chalk_graph_v1_ResolverState_descriptor =
getDescriptor().getMessageTypes().get(21);
internal_static_chalk_graph_v1_ResolverState_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_ResolverState_descriptor,
new java.lang.String[] { "Initial", "ArrowType", });
internal_static_chalk_graph_v1_StreamResolverParam_descriptor =
getDescriptor().getMessageTypes().get(22);
internal_static_chalk_graph_v1_StreamResolverParam_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_StreamResolverParam_descriptor,
new java.lang.String[] { "Message", "MessageWindow", "State", "Type", });
internal_static_chalk_graph_v1_StreamResolverParamMessageWindow_descriptor =
getDescriptor().getMessageTypes().get(23);
internal_static_chalk_graph_v1_StreamResolverParamMessageWindow_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_StreamResolverParamMessageWindow_descriptor,
new java.lang.String[] { "Name", "ArrowType", });
internal_static_chalk_graph_v1_StreamResolverParamMessage_descriptor =
getDescriptor().getMessageTypes().get(24);
internal_static_chalk_graph_v1_StreamResolverParamMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_StreamResolverParamMessage_descriptor,
new java.lang.String[] { "Name", "ArrowType", });
internal_static_chalk_graph_v1_FunctionReference_descriptor =
getDescriptor().getMessageTypes().get(25);
internal_static_chalk_graph_v1_FunctionReference_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_FunctionReference_descriptor,
new java.lang.String[] { "Name", "Module", "FileName", "FunctionDefinition", "SourceLine", });
internal_static_chalk_graph_v1_SourceFileReference_descriptor =
getDescriptor().getMessageTypes().get(26);
internal_static_chalk_graph_v1_SourceFileReference_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_SourceFileReference_descriptor,
new java.lang.String[] { "Range", "Code", "FileName", });
internal_static_chalk_graph_v1_StreamKey_descriptor =
getDescriptor().getMessageTypes().get(27);
internal_static_chalk_graph_v1_StreamKey_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_StreamKey_descriptor,
new java.lang.String[] { "Key", "Feature", });
internal_static_chalk_graph_v1_CronFilterWithFeatureArgs_descriptor =
getDescriptor().getMessageTypes().get(28);
internal_static_chalk_graph_v1_CronFilterWithFeatureArgs_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_CronFilterWithFeatureArgs_descriptor,
new java.lang.String[] { "Filter", "Args", });
internal_static_chalk_graph_v1_Schedule_descriptor =
getDescriptor().getMessageTypes().get(29);
internal_static_chalk_graph_v1_Schedule_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_Schedule_descriptor,
new java.lang.String[] { "Crontab", "Duration", "Filter", "Sample", "Schedule", });
internal_static_chalk_graph_v1_FeatureValidation_descriptor =
getDescriptor().getMessageTypes().get(30);
internal_static_chalk_graph_v1_FeatureValidation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_FeatureValidation_descriptor,
new java.lang.String[] { "Min", "Max", "MinLength", "MaxLength", "Strict", "Validation", });
internal_static_chalk_graph_v1_VersionInfo_descriptor =
getDescriptor().getMessageTypes().get(31);
internal_static_chalk_graph_v1_VersionInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_VersionInfo_descriptor,
new java.lang.String[] { "Default", "Maximum", });
internal_static_chalk_graph_v1_StrictValidation_descriptor =
getDescriptor().getMessageTypes().get(32);
internal_static_chalk_graph_v1_StrictValidation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_chalk_graph_v1_StrictValidation_descriptor,
new java.lang.String[] { "Feature", "Validations", });
ai.chalk.protos.chalk.arrow.v1.ArrowProto.getDescriptor();
ai.chalk.protos.chalk.expression.v1.ExpressionProto.getDescriptor();
ai.chalk.protos.chalk.graph.v1.SourcesProto.getDescriptor();
ai.chalk.protos.chalk.lsp.v1.LspProto.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/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/GroupByFeatureType.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.GroupByFeatureType}
*/
public final class GroupByFeatureType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.GroupByFeatureType)
GroupByFeatureTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use GroupByFeatureType.newBuilder() to construct.
private GroupByFeatureType(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GroupByFeatureType() {
name_ = "";
namespace_ = "";
windowDurations_ = java.util.Collections.emptyList();
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
description_ = "";
owner_ = "";
validations_ = java.util.Collections.emptyList();
attributeName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GroupByFeatureType();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_GroupByFeatureType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_GroupByFeatureType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.class, ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int 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 IS_NULLABLE_FIELD_NUMBER = 3;
private boolean isNullable_ = false;
/**
* <code>bool is_nullable = 3 [json_name = "isNullable"];</code>
* @return The isNullable.
*/
@java.lang.Override
public boolean getIsNullable() {
return isNullable_;
}
public static final int INTERNAL_VERSION_FIELD_NUMBER = 4;
private long internalVersion_ = 0L;
/**
* <code>optional uint64 internal_version = 4 [json_name = "internalVersion"];</code>
* @return Whether the internalVersion field is set.
*/
@java.lang.Override
public boolean hasInternalVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional uint64 internal_version = 4 [json_name = "internalVersion"];</code>
* @return The internalVersion.
*/
@java.lang.Override
public long getInternalVersion() {
return internalVersion_;
}
public static final int ARROW_TYPE_FIELD_NUMBER = 5;
private ai.chalk.protos.chalk.arrow.v1.ArrowType arrowType_;
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
* @return Whether the arrowType field is set.
*/
@java.lang.Override
public boolean hasArrowType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
* @return The arrowType.
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ArrowType getArrowType() {
return arrowType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : arrowType_;
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getArrowTypeOrBuilder() {
return arrowType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : arrowType_;
}
public static final int AGGREGATION_FIELD_NUMBER = 6;
private ai.chalk.protos.chalk.graph.v1.WindowAggregation aggregation_;
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
* @return Whether the aggregation field is set.
*/
@java.lang.Override
public boolean hasAggregation() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
* @return The aggregation.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.WindowAggregation getAggregation() {
return aggregation_ == null ? ai.chalk.protos.chalk.graph.v1.WindowAggregation.getDefaultInstance() : aggregation_;
}
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.WindowAggregationOrBuilder getAggregationOrBuilder() {
return aggregation_ == null ? ai.chalk.protos.chalk.graph.v1.WindowAggregation.getDefaultInstance() : aggregation_;
}
public static final int WINDOW_DURATIONS_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private java.util.List<com.google.protobuf.Duration> windowDurations_;
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
@java.lang.Override
public java.util.List<com.google.protobuf.Duration> getWindowDurationsList() {
return windowDurations_;
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
@java.lang.Override
public java.util.List<? extends com.google.protobuf.DurationOrBuilder>
getWindowDurationsOrBuilderList() {
return windowDurations_;
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
@java.lang.Override
public int getWindowDurationsCount() {
return windowDurations_.size();
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
@java.lang.Override
public com.google.protobuf.Duration getWindowDurations(int index) {
return windowDurations_.get(index);
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
@java.lang.Override
public com.google.protobuf.DurationOrBuilder getWindowDurationsOrBuilder(
int index) {
return windowDurations_.get(index);
}
public static final int EXPRESSION_FIELD_NUMBER = 8;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expression_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
* @return Whether the expression field is set.
*/
@java.lang.Override
public boolean hasExpression() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
* @return The expression.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpression() {
return expression_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expression_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExpressionOrBuilder() {
return expression_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expression_;
}
public static final int DEFAULT_VALUE_FIELD_NUMBER = 9;
private ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue_;
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
* @return Whether the defaultValue field is set.
*/
@java.lang.Override
public boolean hasDefaultValue() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
* @return The defaultValue.
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getDefaultValue() {
return defaultValue_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : defaultValue_;
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getDefaultValueOrBuilder() {
return defaultValue_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : defaultValue_;
}
public static final int TAGS_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
public static final int DESCRIPTION_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private volatile java.lang.Object description_ = "";
/**
* <code>optional string description = 11 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
@java.lang.Override
public boolean hasDescription() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional string description = 11 [json_name = "description"];</code>
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* <code>optional string description = 11 [json_name = "description"];</code>
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OWNER_FIELD_NUMBER = 12;
@SuppressWarnings("serial")
private volatile java.lang.Object owner_ = "";
/**
* <code>optional string owner = 12 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
@java.lang.Override
public boolean hasOwner() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional string owner = 12 [json_name = "owner"];</code>
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
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();
owner_ = s;
return s;
}
}
/**
* <code>optional string owner = 12 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALIDATIONS_FIELD_NUMBER = 13;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureValidation> validations_;
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureValidation> getValidationsList() {
return validations_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureValidationOrBuilder>
getValidationsOrBuilderList() {
return validations_;
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
@java.lang.Override
public int getValidationsCount() {
return validations_.size();
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureValidation getValidations(int index) {
return validations_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FeatureValidationOrBuilder getValidationsOrBuilder(
int index) {
return validations_.get(index);
}
public static final int ATTRIBUTE_NAME_FIELD_NUMBER = 14;
@SuppressWarnings("serial")
private volatile java.lang.Object attributeName_ = "";
/**
* <code>string attribute_name = 14 [json_name = "attributeName"];</code>
* @return The attributeName.
*/
@java.lang.Override
public java.lang.String getAttributeName() {
java.lang.Object ref = attributeName_;
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();
attributeName_ = s;
return s;
}
}
/**
* <code>string attribute_name = 14 [json_name = "attributeName"];</code>
* @return The bytes for attributeName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAttributeNameBytes() {
java.lang.Object ref = attributeName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attributeName_ = 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_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_);
}
if (isNullable_ != false) {
output.writeBool(3, isNullable_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt64(4, internalVersion_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(5, getArrowType());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(6, getAggregation());
}
for (int i = 0; i < windowDurations_.size(); i++) {
output.writeMessage(7, windowDurations_.get(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(8, getExpression());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(9, getDefaultValue());
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, tags_.getRaw(i));
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, description_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, owner_);
}
for (int i = 0; i < validations_.size(); i++) {
output.writeMessage(13, validations_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, attributeName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_);
}
if (isNullable_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, isNullable_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, internalVersion_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getArrowType());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getAggregation());
}
for (int i = 0; i < windowDurations_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, windowDurations_.get(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getExpression());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getDefaultValue());
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().size();
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, description_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, owner_);
}
for (int i = 0; i < validations_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, validations_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, attributeName_);
}
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.graph.v1.GroupByFeatureType)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.GroupByFeatureType other = (ai.chalk.protos.chalk.graph.v1.GroupByFeatureType) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getNamespace()
.equals(other.getNamespace())) return false;
if (getIsNullable()
!= other.getIsNullable()) return false;
if (hasInternalVersion() != other.hasInternalVersion()) return false;
if (hasInternalVersion()) {
if (getInternalVersion()
!= other.getInternalVersion()) return false;
}
if (hasArrowType() != other.hasArrowType()) return false;
if (hasArrowType()) {
if (!getArrowType()
.equals(other.getArrowType())) return false;
}
if (hasAggregation() != other.hasAggregation()) return false;
if (hasAggregation()) {
if (!getAggregation()
.equals(other.getAggregation())) return false;
}
if (!getWindowDurationsList()
.equals(other.getWindowDurationsList())) return false;
if (hasExpression() != other.hasExpression()) return false;
if (hasExpression()) {
if (!getExpression()
.equals(other.getExpression())) return false;
}
if (hasDefaultValue() != other.hasDefaultValue()) return false;
if (hasDefaultValue()) {
if (!getDefaultValue()
.equals(other.getDefaultValue())) return false;
}
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (hasDescription() != other.hasDescription()) return false;
if (hasDescription()) {
if (!getDescription()
.equals(other.getDescription())) return false;
}
if (hasOwner() != other.hasOwner()) return false;
if (hasOwner()) {
if (!getOwner()
.equals(other.getOwner())) return false;
}
if (!getValidationsList()
.equals(other.getValidationsList())) return false;
if (!getAttributeName()
.equals(other.getAttributeName())) 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 = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
hash = (37 * hash) + IS_NULLABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsNullable());
if (hasInternalVersion()) {
hash = (37 * hash) + INTERNAL_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInternalVersion());
}
if (hasArrowType()) {
hash = (37 * hash) + ARROW_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getArrowType().hashCode();
}
if (hasAggregation()) {
hash = (37 * hash) + AGGREGATION_FIELD_NUMBER;
hash = (53 * hash) + getAggregation().hashCode();
}
if (getWindowDurationsCount() > 0) {
hash = (37 * hash) + WINDOW_DURATIONS_FIELD_NUMBER;
hash = (53 * hash) + getWindowDurationsList().hashCode();
}
if (hasExpression()) {
hash = (37 * hash) + EXPRESSION_FIELD_NUMBER;
hash = (53 * hash) + getExpression().hashCode();
}
if (hasDefaultValue()) {
hash = (37 * hash) + DEFAULT_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getDefaultValue().hashCode();
}
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (hasDescription()) {
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
if (getValidationsCount() > 0) {
hash = (37 * hash) + VALIDATIONS_FIELD_NUMBER;
hash = (53 * hash) + getValidationsList().hashCode();
}
hash = (37 * hash) + ATTRIBUTE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getAttributeName().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.GroupByFeatureType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.GroupByFeatureType 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.graph.v1.GroupByFeatureType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.GroupByFeatureType 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.graph.v1.GroupByFeatureType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.GroupByFeatureType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.GroupByFeatureType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.GroupByFeatureType 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.graph.v1.GroupByFeatureType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.GroupByFeatureType 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.graph.v1.GroupByFeatureType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.GroupByFeatureType 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.graph.v1.GroupByFeatureType 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.graph.v1.GroupByFeatureType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.GroupByFeatureType)
ai.chalk.protos.chalk.graph.v1.GroupByFeatureTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_GroupByFeatureType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_GroupByFeatureType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.class, ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getArrowTypeFieldBuilder();
getAggregationFieldBuilder();
getWindowDurationsFieldBuilder();
getExpressionFieldBuilder();
getDefaultValueFieldBuilder();
getValidationsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
namespace_ = "";
isNullable_ = false;
internalVersion_ = 0L;
arrowType_ = null;
if (arrowTypeBuilder_ != null) {
arrowTypeBuilder_.dispose();
arrowTypeBuilder_ = null;
}
aggregation_ = null;
if (aggregationBuilder_ != null) {
aggregationBuilder_.dispose();
aggregationBuilder_ = null;
}
if (windowDurationsBuilder_ == null) {
windowDurations_ = java.util.Collections.emptyList();
} else {
windowDurations_ = null;
windowDurationsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
expression_ = null;
if (expressionBuilder_ != null) {
expressionBuilder_.dispose();
expressionBuilder_ = null;
}
defaultValue_ = null;
if (defaultValueBuilder_ != null) {
defaultValueBuilder_.dispose();
defaultValueBuilder_ = null;
}
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
description_ = "";
owner_ = "";
if (validationsBuilder_ == null) {
validations_ = java.util.Collections.emptyList();
} else {
validations_ = null;
validationsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00001000);
attributeName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_GroupByFeatureType_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.GroupByFeatureType getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.GroupByFeatureType build() {
ai.chalk.protos.chalk.graph.v1.GroupByFeatureType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.GroupByFeatureType buildPartial() {
ai.chalk.protos.chalk.graph.v1.GroupByFeatureType result = new ai.chalk.protos.chalk.graph.v1.GroupByFeatureType(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ai.chalk.protos.chalk.graph.v1.GroupByFeatureType result) {
if (windowDurationsBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0)) {
windowDurations_ = java.util.Collections.unmodifiableList(windowDurations_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.windowDurations_ = windowDurations_;
} else {
result.windowDurations_ = windowDurationsBuilder_.build();
}
if (validationsBuilder_ == null) {
if (((bitField0_ & 0x00001000) != 0)) {
validations_ = java.util.Collections.unmodifiableList(validations_);
bitField0_ = (bitField0_ & ~0x00001000);
}
result.validations_ = validations_;
} else {
result.validations_ = validationsBuilder_.build();
}
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.GroupByFeatureType result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.namespace_ = namespace_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.isNullable_ = isNullable_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.internalVersion_ = internalVersion_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.arrowType_ = arrowTypeBuilder_ == null
? arrowType_
: arrowTypeBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.aggregation_ = aggregationBuilder_ == null
? aggregation_
: aggregationBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.expression_ = expressionBuilder_ == null
? expression_
: expressionBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.defaultValue_ = defaultValueBuilder_ == null
? defaultValue_
: defaultValueBuilder_.build();
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
tags_.makeImmutable();
result.tags_ = tags_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.description_ = description_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.owner_ = owner_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.attributeName_ = attributeName_;
}
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.graph.v1.GroupByFeatureType) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.GroupByFeatureType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.GroupByFeatureType other) {
if (other == ai.chalk.protos.chalk.graph.v1.GroupByFeatureType.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getNamespace().isEmpty()) {
namespace_ = other.namespace_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.getIsNullable() != false) {
setIsNullable(other.getIsNullable());
}
if (other.hasInternalVersion()) {
setInternalVersion(other.getInternalVersion());
}
if (other.hasArrowType()) {
mergeArrowType(other.getArrowType());
}
if (other.hasAggregation()) {
mergeAggregation(other.getAggregation());
}
if (windowDurationsBuilder_ == null) {
if (!other.windowDurations_.isEmpty()) {
if (windowDurations_.isEmpty()) {
windowDurations_ = other.windowDurations_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureWindowDurationsIsMutable();
windowDurations_.addAll(other.windowDurations_);
}
onChanged();
}
} else {
if (!other.windowDurations_.isEmpty()) {
if (windowDurationsBuilder_.isEmpty()) {
windowDurationsBuilder_.dispose();
windowDurationsBuilder_ = null;
windowDurations_ = other.windowDurations_;
bitField0_ = (bitField0_ & ~0x00000040);
windowDurationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getWindowDurationsFieldBuilder() : null;
} else {
windowDurationsBuilder_.addAllMessages(other.windowDurations_);
}
}
}
if (other.hasExpression()) {
mergeExpression(other.getExpression());
}
if (other.hasDefaultValue()) {
mergeDefaultValue(other.getDefaultValue());
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ |= 0x00000200;
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
if (other.hasDescription()) {
description_ = other.description_;
bitField0_ |= 0x00000400;
onChanged();
}
if (other.hasOwner()) {
owner_ = other.owner_;
bitField0_ |= 0x00000800;
onChanged();
}
if (validationsBuilder_ == null) {
if (!other.validations_.isEmpty()) {
if (validations_.isEmpty()) {
validations_ = other.validations_;
bitField0_ = (bitField0_ & ~0x00001000);
} else {
ensureValidationsIsMutable();
validations_.addAll(other.validations_);
}
onChanged();
}
} else {
if (!other.validations_.isEmpty()) {
if (validationsBuilder_.isEmpty()) {
validationsBuilder_.dispose();
validationsBuilder_ = null;
validations_ = other.validations_;
bitField0_ = (bitField0_ & ~0x00001000);
validationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getValidationsFieldBuilder() : null;
} else {
validationsBuilder_.addAllMessages(other.validations_);
}
}
}
if (!other.getAttributeName().isEmpty()) {
attributeName_ = other.attributeName_;
bitField0_ |= 0x00002000;
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
case 18: {
namespace_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
isNullable_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
internalVersion_ = input.readUInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
input.readMessage(
getArrowTypeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
input.readMessage(
getAggregationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
com.google.protobuf.Duration m =
input.readMessage(
com.google.protobuf.Duration.parser(),
extensionRegistry);
if (windowDurationsBuilder_ == null) {
ensureWindowDurationsIsMutable();
windowDurations_.add(m);
} else {
windowDurationsBuilder_.addMessage(m);
}
break;
} // case 58
case 66: {
input.readMessage(
getExpressionFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
input.readMessage(
getDefaultValueFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
java.lang.String s = input.readStringRequireUtf8();
ensureTagsIsMutable();
tags_.add(s);
break;
} // case 82
case 90: {
description_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 90
case 98: {
owner_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000800;
break;
} // case 98
case 106: {
ai.chalk.protos.chalk.graph.v1.FeatureValidation m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.FeatureValidation.parser(),
extensionRegistry);
if (validationsBuilder_ == null) {
ensureValidationsIsMutable();
validations_.add(m);
} else {
validationsBuilder_.addMessage(m);
}
break;
} // case 106
case 114: {
attributeName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00002000;
break;
} // case 114
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private 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 boolean isNullable_ ;
/**
* <code>bool is_nullable = 3 [json_name = "isNullable"];</code>
* @return The isNullable.
*/
@java.lang.Override
public boolean getIsNullable() {
return isNullable_;
}
/**
* <code>bool is_nullable = 3 [json_name = "isNullable"];</code>
* @param value The isNullable to set.
* @return This builder for chaining.
*/
public Builder setIsNullable(boolean value) {
isNullable_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>bool is_nullable = 3 [json_name = "isNullable"];</code>
* @return This builder for chaining.
*/
public Builder clearIsNullable() {
bitField0_ = (bitField0_ & ~0x00000004);
isNullable_ = false;
onChanged();
return this;
}
private long internalVersion_ ;
/**
* <code>optional uint64 internal_version = 4 [json_name = "internalVersion"];</code>
* @return Whether the internalVersion field is set.
*/
@java.lang.Override
public boolean hasInternalVersion() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional uint64 internal_version = 4 [json_name = "internalVersion"];</code>
* @return The internalVersion.
*/
@java.lang.Override
public long getInternalVersion() {
return internalVersion_;
}
/**
* <code>optional uint64 internal_version = 4 [json_name = "internalVersion"];</code>
* @param value The internalVersion to set.
* @return This builder for chaining.
*/
public Builder setInternalVersion(long value) {
internalVersion_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional uint64 internal_version = 4 [json_name = "internalVersion"];</code>
* @return This builder for chaining.
*/
public Builder clearInternalVersion() {
bitField0_ = (bitField0_ & ~0x00000008);
internalVersion_ = 0L;
onChanged();
return this;
}
private ai.chalk.protos.chalk.arrow.v1.ArrowType arrowType_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ArrowType, ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder> arrowTypeBuilder_;
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
* @return Whether the arrowType field is set.
*/
public boolean hasArrowType() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
* @return The arrowType.
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowType getArrowType() {
if (arrowTypeBuilder_ == null) {
return arrowType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : arrowType_;
} else {
return arrowTypeBuilder_.getMessage();
}
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
*/
public Builder setArrowType(ai.chalk.protos.chalk.arrow.v1.ArrowType value) {
if (arrowTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
arrowType_ = value;
} else {
arrowTypeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
*/
public Builder setArrowType(
ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder builderForValue) {
if (arrowTypeBuilder_ == null) {
arrowType_ = builderForValue.build();
} else {
arrowTypeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
*/
public Builder mergeArrowType(ai.chalk.protos.chalk.arrow.v1.ArrowType value) {
if (arrowTypeBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
arrowType_ != null &&
arrowType_ != ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance()) {
getArrowTypeBuilder().mergeFrom(value);
} else {
arrowType_ = value;
}
} else {
arrowTypeBuilder_.mergeFrom(value);
}
if (arrowType_ != null) {
bitField0_ |= 0x00000010;
onChanged();
}
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
*/
public Builder clearArrowType() {
bitField0_ = (bitField0_ & ~0x00000010);
arrowType_ = null;
if (arrowTypeBuilder_ != null) {
arrowTypeBuilder_.dispose();
arrowTypeBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder getArrowTypeBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getArrowTypeFieldBuilder().getBuilder();
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getArrowTypeOrBuilder() {
if (arrowTypeBuilder_ != null) {
return arrowTypeBuilder_.getMessageOrBuilder();
} else {
return arrowType_ == null ?
ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : arrowType_;
}
}
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ArrowType, ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder>
getArrowTypeFieldBuilder() {
if (arrowTypeBuilder_ == null) {
arrowTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ArrowType, ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder>(
getArrowType(),
getParentForChildren(),
isClean());
arrowType_ = null;
}
return arrowTypeBuilder_;
}
private ai.chalk.protos.chalk.graph.v1.WindowAggregation aggregation_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.WindowAggregation, ai.chalk.protos.chalk.graph.v1.WindowAggregation.Builder, ai.chalk.protos.chalk.graph.v1.WindowAggregationOrBuilder> aggregationBuilder_;
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
* @return Whether the aggregation field is set.
*/
public boolean hasAggregation() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
* @return The aggregation.
*/
public ai.chalk.protos.chalk.graph.v1.WindowAggregation getAggregation() {
if (aggregationBuilder_ == null) {
return aggregation_ == null ? ai.chalk.protos.chalk.graph.v1.WindowAggregation.getDefaultInstance() : aggregation_;
} else {
return aggregationBuilder_.getMessage();
}
}
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
*/
public Builder setAggregation(ai.chalk.protos.chalk.graph.v1.WindowAggregation value) {
if (aggregationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
aggregation_ = value;
} else {
aggregationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
*/
public Builder setAggregation(
ai.chalk.protos.chalk.graph.v1.WindowAggregation.Builder builderForValue) {
if (aggregationBuilder_ == null) {
aggregation_ = builderForValue.build();
} else {
aggregationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
*/
public Builder mergeAggregation(ai.chalk.protos.chalk.graph.v1.WindowAggregation value) {
if (aggregationBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
aggregation_ != null &&
aggregation_ != ai.chalk.protos.chalk.graph.v1.WindowAggregation.getDefaultInstance()) {
getAggregationBuilder().mergeFrom(value);
} else {
aggregation_ = value;
}
} else {
aggregationBuilder_.mergeFrom(value);
}
if (aggregation_ != null) {
bitField0_ |= 0x00000020;
onChanged();
}
return this;
}
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
*/
public Builder clearAggregation() {
bitField0_ = (bitField0_ & ~0x00000020);
aggregation_ = null;
if (aggregationBuilder_ != null) {
aggregationBuilder_.dispose();
aggregationBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.WindowAggregation.Builder getAggregationBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getAggregationFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.WindowAggregationOrBuilder getAggregationOrBuilder() {
if (aggregationBuilder_ != null) {
return aggregationBuilder_.getMessageOrBuilder();
} else {
return aggregation_ == null ?
ai.chalk.protos.chalk.graph.v1.WindowAggregation.getDefaultInstance() : aggregation_;
}
}
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.WindowAggregation, ai.chalk.protos.chalk.graph.v1.WindowAggregation.Builder, ai.chalk.protos.chalk.graph.v1.WindowAggregationOrBuilder>
getAggregationFieldBuilder() {
if (aggregationBuilder_ == null) {
aggregationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.WindowAggregation, ai.chalk.protos.chalk.graph.v1.WindowAggregation.Builder, ai.chalk.protos.chalk.graph.v1.WindowAggregationOrBuilder>(
getAggregation(),
getParentForChildren(),
isClean());
aggregation_ = null;
}
return aggregationBuilder_;
}
private java.util.List<com.google.protobuf.Duration> windowDurations_ =
java.util.Collections.emptyList();
private void ensureWindowDurationsIsMutable() {
if (!((bitField0_ & 0x00000040) != 0)) {
windowDurations_ = new java.util.ArrayList<com.google.protobuf.Duration>(windowDurations_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> windowDurationsBuilder_;
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public java.util.List<com.google.protobuf.Duration> getWindowDurationsList() {
if (windowDurationsBuilder_ == null) {
return java.util.Collections.unmodifiableList(windowDurations_);
} else {
return windowDurationsBuilder_.getMessageList();
}
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public int getWindowDurationsCount() {
if (windowDurationsBuilder_ == null) {
return windowDurations_.size();
} else {
return windowDurationsBuilder_.getCount();
}
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public com.google.protobuf.Duration getWindowDurations(int index) {
if (windowDurationsBuilder_ == null) {
return windowDurations_.get(index);
} else {
return windowDurationsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public Builder setWindowDurations(
int index, com.google.protobuf.Duration value) {
if (windowDurationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWindowDurationsIsMutable();
windowDurations_.set(index, value);
onChanged();
} else {
windowDurationsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public Builder setWindowDurations(
int index, com.google.protobuf.Duration.Builder builderForValue) {
if (windowDurationsBuilder_ == null) {
ensureWindowDurationsIsMutable();
windowDurations_.set(index, builderForValue.build());
onChanged();
} else {
windowDurationsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public Builder addWindowDurations(com.google.protobuf.Duration value) {
if (windowDurationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWindowDurationsIsMutable();
windowDurations_.add(value);
onChanged();
} else {
windowDurationsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public Builder addWindowDurations(
int index, com.google.protobuf.Duration value) {
if (windowDurationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWindowDurationsIsMutable();
windowDurations_.add(index, value);
onChanged();
} else {
windowDurationsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public Builder addWindowDurations(
com.google.protobuf.Duration.Builder builderForValue) {
if (windowDurationsBuilder_ == null) {
ensureWindowDurationsIsMutable();
windowDurations_.add(builderForValue.build());
onChanged();
} else {
windowDurationsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public Builder addWindowDurations(
int index, com.google.protobuf.Duration.Builder builderForValue) {
if (windowDurationsBuilder_ == null) {
ensureWindowDurationsIsMutable();
windowDurations_.add(index, builderForValue.build());
onChanged();
} else {
windowDurationsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public Builder addAllWindowDurations(
java.lang.Iterable<? extends com.google.protobuf.Duration> values) {
if (windowDurationsBuilder_ == null) {
ensureWindowDurationsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, windowDurations_);
onChanged();
} else {
windowDurationsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public Builder clearWindowDurations() {
if (windowDurationsBuilder_ == null) {
windowDurations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
windowDurationsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public Builder removeWindowDurations(int index) {
if (windowDurationsBuilder_ == null) {
ensureWindowDurationsIsMutable();
windowDurations_.remove(index);
onChanged();
} else {
windowDurationsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public com.google.protobuf.Duration.Builder getWindowDurationsBuilder(
int index) {
return getWindowDurationsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public com.google.protobuf.DurationOrBuilder getWindowDurationsOrBuilder(
int index) {
if (windowDurationsBuilder_ == null) {
return windowDurations_.get(index); } else {
return windowDurationsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public java.util.List<? extends com.google.protobuf.DurationOrBuilder>
getWindowDurationsOrBuilderList() {
if (windowDurationsBuilder_ != null) {
return windowDurationsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(windowDurations_);
}
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public com.google.protobuf.Duration.Builder addWindowDurationsBuilder() {
return getWindowDurationsFieldBuilder().addBuilder(
com.google.protobuf.Duration.getDefaultInstance());
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public com.google.protobuf.Duration.Builder addWindowDurationsBuilder(
int index) {
return getWindowDurationsFieldBuilder().addBuilder(
index, com.google.protobuf.Duration.getDefaultInstance());
}
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
public java.util.List<com.google.protobuf.Duration.Builder>
getWindowDurationsBuilderList() {
return getWindowDurationsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getWindowDurationsFieldBuilder() {
if (windowDurationsBuilder_ == null) {
windowDurationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
windowDurations_,
((bitField0_ & 0x00000040) != 0),
getParentForChildren(),
isClean());
windowDurations_ = null;
}
return windowDurationsBuilder_;
}
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expression_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> expressionBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
* @return Whether the expression field is set.
*/
public boolean hasExpression() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
* @return The expression.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpression() {
if (expressionBuilder_ == null) {
return expression_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expression_;
} else {
return expressionBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
*/
public Builder setExpression(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (expressionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expression_ = value;
} else {
expressionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
*/
public Builder setExpression(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (expressionBuilder_ == null) {
expression_ = builderForValue.build();
} else {
expressionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
*/
public Builder mergeExpression(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (expressionBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0) &&
expression_ != null &&
expression_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getExpressionBuilder().mergeFrom(value);
} else {
expression_ = value;
}
} else {
expressionBuilder_.mergeFrom(value);
}
if (expression_ != null) {
bitField0_ |= 0x00000080;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
*/
public Builder clearExpression() {
bitField0_ = (bitField0_ & ~0x00000080);
expression_ = null;
if (expressionBuilder_ != null) {
expressionBuilder_.dispose();
expressionBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExpressionBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getExpressionFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExpressionOrBuilder() {
if (expressionBuilder_ != null) {
return expressionBuilder_.getMessageOrBuilder();
} else {
return expression_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expression_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getExpressionFieldBuilder() {
if (expressionBuilder_ == null) {
expressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getExpression(),
getParentForChildren(),
isClean());
expression_ = null;
}
return expressionBuilder_;
}
private ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> defaultValueBuilder_;
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
* @return Whether the defaultValue field is set.
*/
public boolean hasDefaultValue() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
* @return The defaultValue.
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getDefaultValue() {
if (defaultValueBuilder_ == null) {
return defaultValue_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : defaultValue_;
} else {
return defaultValueBuilder_.getMessage();
}
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
*/
public Builder setDefaultValue(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (defaultValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
defaultValue_ = value;
} else {
defaultValueBuilder_.setMessage(value);
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
*/
public Builder setDefaultValue(
ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder builderForValue) {
if (defaultValueBuilder_ == null) {
defaultValue_ = builderForValue.build();
} else {
defaultValueBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
*/
public Builder mergeDefaultValue(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (defaultValueBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0) &&
defaultValue_ != null &&
defaultValue_ != ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance()) {
getDefaultValueBuilder().mergeFrom(value);
} else {
defaultValue_ = value;
}
} else {
defaultValueBuilder_.mergeFrom(value);
}
if (defaultValue_ != null) {
bitField0_ |= 0x00000100;
onChanged();
}
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
*/
public Builder clearDefaultValue() {
bitField0_ = (bitField0_ & ~0x00000100);
defaultValue_ = null;
if (defaultValueBuilder_ != null) {
defaultValueBuilder_.dispose();
defaultValueBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder getDefaultValueBuilder() {
bitField0_ |= 0x00000100;
onChanged();
return getDefaultValueFieldBuilder().getBuilder();
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getDefaultValueOrBuilder() {
if (defaultValueBuilder_ != null) {
return defaultValueBuilder_.getMessageOrBuilder();
} else {
return defaultValue_ == null ?
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : defaultValue_;
}
}
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder>
getDefaultValueFieldBuilder() {
if (defaultValueBuilder_ == null) {
defaultValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder>(
getDefaultValue(),
getParentForChildren(),
isClean());
defaultValue_ = null;
}
return defaultValueBuilder_;
}
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureTagsIsMutable() {
if (!tags_.isModifiable()) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
}
bitField0_ |= 0x00000200;
}
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
tags_.makeImmutable();
return tags_;
}
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @param index The index to set the value at.
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.set(index, value);
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @param value The tags to add.
* @return This builder for chaining.
*/
public Builder addTags(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @param values The tags to add.
* @return This builder for chaining.
*/
public Builder addAllTags(
java.lang.Iterable<java.lang.String> values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @return This builder for chaining.
*/
public Builder clearTags() {
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);;
onChanged();
return this;
}
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @param value The bytes of the tags to add.
* @return This builder for chaining.
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000200;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* <code>optional string description = 11 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional string description = 11 [json_name = "description"];</code>
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string description = 11 [json_name = "description"];</code>
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string description = 11 [json_name = "description"];</code>
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
description_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>optional string description = 11 [json_name = "description"];</code>
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
* <code>optional string description = 11 [json_name = "description"];</code>
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
description_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
private java.lang.Object owner_ = "";
/**
* <code>optional string owner = 12 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
public boolean hasOwner() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional string owner = 12 [json_name = "owner"];</code>
* @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
owner_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string owner = 12 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string owner = 12 [json_name = "owner"];</code>
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
owner_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>optional string owner = 12 [json_name = "owner"];</code>
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
* <code>optional string owner = 12 [json_name = "owner"];</code>
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
owner_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureValidation> validations_ =
java.util.Collections.emptyList();
private void ensureValidationsIsMutable() {
if (!((bitField0_ & 0x00001000) != 0)) {
validations_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.FeatureValidation>(validations_);
bitField0_ |= 0x00001000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureValidation, ai.chalk.protos.chalk.graph.v1.FeatureValidation.Builder, ai.chalk.protos.chalk.graph.v1.FeatureValidationOrBuilder> validationsBuilder_;
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureValidation> getValidationsList() {
if (validationsBuilder_ == null) {
return java.util.Collections.unmodifiableList(validations_);
} else {
return validationsBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public int getValidationsCount() {
if (validationsBuilder_ == null) {
return validations_.size();
} else {
return validationsBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureValidation getValidations(int index) {
if (validationsBuilder_ == null) {
return validations_.get(index);
} else {
return validationsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public Builder setValidations(
int index, ai.chalk.protos.chalk.graph.v1.FeatureValidation value) {
if (validationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValidationsIsMutable();
validations_.set(index, value);
onChanged();
} else {
validationsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public Builder setValidations(
int index, ai.chalk.protos.chalk.graph.v1.FeatureValidation.Builder builderForValue) {
if (validationsBuilder_ == null) {
ensureValidationsIsMutable();
validations_.set(index, builderForValue.build());
onChanged();
} else {
validationsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public Builder addValidations(ai.chalk.protos.chalk.graph.v1.FeatureValidation value) {
if (validationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValidationsIsMutable();
validations_.add(value);
onChanged();
} else {
validationsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public Builder addValidations(
int index, ai.chalk.protos.chalk.graph.v1.FeatureValidation value) {
if (validationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValidationsIsMutable();
validations_.add(index, value);
onChanged();
} else {
validationsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public Builder addValidations(
ai.chalk.protos.chalk.graph.v1.FeatureValidation.Builder builderForValue) {
if (validationsBuilder_ == null) {
ensureValidationsIsMutable();
validations_.add(builderForValue.build());
onChanged();
} else {
validationsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public Builder addValidations(
int index, ai.chalk.protos.chalk.graph.v1.FeatureValidation.Builder builderForValue) {
if (validationsBuilder_ == null) {
ensureValidationsIsMutable();
validations_.add(index, builderForValue.build());
onChanged();
} else {
validationsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public Builder addAllValidations(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.FeatureValidation> values) {
if (validationsBuilder_ == null) {
ensureValidationsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, validations_);
onChanged();
} else {
validationsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public Builder clearValidations() {
if (validationsBuilder_ == null) {
validations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
} else {
validationsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public Builder removeValidations(int index) {
if (validationsBuilder_ == null) {
ensureValidationsIsMutable();
validations_.remove(index);
onChanged();
} else {
validationsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureValidation.Builder getValidationsBuilder(
int index) {
return getValidationsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureValidationOrBuilder getValidationsOrBuilder(
int index) {
if (validationsBuilder_ == null) {
return validations_.get(index); } else {
return validationsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureValidationOrBuilder>
getValidationsOrBuilderList() {
if (validationsBuilder_ != null) {
return validationsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(validations_);
}
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureValidation.Builder addValidationsBuilder() {
return getValidationsFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.FeatureValidation.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FeatureValidation.Builder addValidationsBuilder(
int index) {
return getValidationsFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.FeatureValidation.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureValidation.Builder>
getValidationsBuilderList() {
return getValidationsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureValidation, ai.chalk.protos.chalk.graph.v1.FeatureValidation.Builder, ai.chalk.protos.chalk.graph.v1.FeatureValidationOrBuilder>
getValidationsFieldBuilder() {
if (validationsBuilder_ == null) {
validationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FeatureValidation, ai.chalk.protos.chalk.graph.v1.FeatureValidation.Builder, ai.chalk.protos.chalk.graph.v1.FeatureValidationOrBuilder>(
validations_,
((bitField0_ & 0x00001000) != 0),
getParentForChildren(),
isClean());
validations_ = null;
}
return validationsBuilder_;
}
private java.lang.Object attributeName_ = "";
/**
* <code>string attribute_name = 14 [json_name = "attributeName"];</code>
* @return The attributeName.
*/
public java.lang.String getAttributeName() {
java.lang.Object ref = attributeName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attributeName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string attribute_name = 14 [json_name = "attributeName"];</code>
* @return The bytes for attributeName.
*/
public com.google.protobuf.ByteString
getAttributeNameBytes() {
java.lang.Object ref = attributeName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attributeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string attribute_name = 14 [json_name = "attributeName"];</code>
* @param value The attributeName to set.
* @return This builder for chaining.
*/
public Builder setAttributeName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
attributeName_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <code>string attribute_name = 14 [json_name = "attributeName"];</code>
* @return This builder for chaining.
*/
public Builder clearAttributeName() {
attributeName_ = getDefaultInstance().getAttributeName();
bitField0_ = (bitField0_ & ~0x00002000);
onChanged();
return this;
}
/**
* <code>string attribute_name = 14 [json_name = "attributeName"];</code>
* @param value The bytes for attributeName to set.
* @return This builder for chaining.
*/
public Builder setAttributeNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
attributeName_ = value;
bitField0_ |= 0x00002000;
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.graph.v1.GroupByFeatureType)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.GroupByFeatureType)
private static final ai.chalk.protos.chalk.graph.v1.GroupByFeatureType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.GroupByFeatureType();
}
public static ai.chalk.protos.chalk.graph.v1.GroupByFeatureType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<GroupByFeatureType>
PARSER = new com.google.protobuf.AbstractParser<GroupByFeatureType>() {
@java.lang.Override
public GroupByFeatureType 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<GroupByFeatureType> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GroupByFeatureType> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.GroupByFeatureType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/GroupByFeatureTypeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface GroupByFeatureTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.GroupByFeatureType)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>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();
/**
* <code>bool is_nullable = 3 [json_name = "isNullable"];</code>
* @return The isNullable.
*/
boolean getIsNullable();
/**
* <code>optional uint64 internal_version = 4 [json_name = "internalVersion"];</code>
* @return Whether the internalVersion field is set.
*/
boolean hasInternalVersion();
/**
* <code>optional uint64 internal_version = 4 [json_name = "internalVersion"];</code>
* @return The internalVersion.
*/
long getInternalVersion();
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
* @return Whether the arrowType field is set.
*/
boolean hasArrowType();
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
* @return The arrowType.
*/
ai.chalk.protos.chalk.arrow.v1.ArrowType getArrowType();
/**
* <code>.chalk.arrow.v1.ArrowType arrow_type = 5 [json_name = "arrowType"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getArrowTypeOrBuilder();
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
* @return Whether the aggregation field is set.
*/
boolean hasAggregation();
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
* @return The aggregation.
*/
ai.chalk.protos.chalk.graph.v1.WindowAggregation getAggregation();
/**
* <code>.chalk.graph.v1.WindowAggregation aggregation = 6 [json_name = "aggregation"];</code>
*/
ai.chalk.protos.chalk.graph.v1.WindowAggregationOrBuilder getAggregationOrBuilder();
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
java.util.List<com.google.protobuf.Duration>
getWindowDurationsList();
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
com.google.protobuf.Duration getWindowDurations(int index);
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
int getWindowDurationsCount();
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
java.util.List<? extends com.google.protobuf.DurationOrBuilder>
getWindowDurationsOrBuilderList();
/**
* <code>repeated .google.protobuf.Duration window_durations = 7 [json_name = "windowDurations"];</code>
*/
com.google.protobuf.DurationOrBuilder getWindowDurationsOrBuilder(
int index);
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
* @return Whether the expression field is set.
*/
boolean hasExpression();
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
* @return The expression.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpression();
/**
* <code>.chalk.expression.v1.LogicalExprNode expression = 8 [json_name = "expression"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExpressionOrBuilder();
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
* @return Whether the defaultValue field is set.
*/
boolean hasDefaultValue();
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
* @return The defaultValue.
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getDefaultValue();
/**
* <code>.chalk.arrow.v1.ScalarValue default_value = 9 [json_name = "defaultValue"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getDefaultValueOrBuilder();
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
java.util.List<java.lang.String>
getTagsList();
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @return The count of tags.
*/
int getTagsCount();
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
java.lang.String getTags(int index);
/**
* <code>repeated string tags = 10 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
/**
* <code>optional string description = 11 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
* <code>optional string description = 11 [json_name = "description"];</code>
* @return The description.
*/
java.lang.String getDescription();
/**
* <code>optional string description = 11 [json_name = "description"];</code>
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* <code>optional string owner = 12 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
* <code>optional string owner = 12 [json_name = "owner"];</code>
* @return The owner.
*/
java.lang.String getOwner();
/**
* <code>optional string owner = 12 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
java.util.List<ai.chalk.protos.chalk.graph.v1.FeatureValidation>
getValidationsList();
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureValidation getValidations(int index);
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
int getValidationsCount();
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
java.util.List<? extends ai.chalk.protos.chalk.graph.v1.FeatureValidationOrBuilder>
getValidationsOrBuilderList();
/**
* <code>repeated .chalk.graph.v1.FeatureValidation validations = 13 [json_name = "validations"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FeatureValidationOrBuilder getValidationsOrBuilder(
int index);
/**
* <code>string attribute_name = 14 [json_name = "attributeName"];</code>
* @return The attributeName.
*/
java.lang.String getAttributeName();
/**
* <code>string attribute_name = 14 [json_name = "attributeName"];</code>
* @return The bytes for attributeName.
*/
com.google.protobuf.ByteString
getAttributeNameBytes();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/HasManyFeatureType.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.HasManyFeatureType}
*/
public final class HasManyFeatureType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.HasManyFeatureType)
HasManyFeatureTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use HasManyFeatureType.newBuilder() to construct.
private HasManyFeatureType(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private HasManyFeatureType() {
name_ = "";
namespace_ = "";
foreignNamespace_ = "";
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
description_ = "";
owner_ = "";
attributeName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HasManyFeatureType();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_HasManyFeatureType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_HasManyFeatureType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.class, ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int 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 FOREIGN_NAMESPACE_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object foreignNamespace_ = "";
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return The foreignNamespace.
*/
@java.lang.Override
public java.lang.String getForeignNamespace() {
java.lang.Object ref = foreignNamespace_;
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();
foreignNamespace_ = s;
return s;
}
}
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return The bytes for foreignNamespace.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getForeignNamespaceBytes() {
java.lang.Object ref = foreignNamespace_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
foreignNamespace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JOIN_FIELD_NUMBER = 4;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode join_;
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
* @return Whether the join field is set.
*/
@java.lang.Override
public boolean hasJoin() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
* @return The join.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getJoin() {
return join_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : join_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getJoinOrBuilder() {
return join_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : join_;
}
public static final int IS_AUTOGENERATED_FIELD_NUMBER = 5;
private boolean isAutogenerated_ = false;
/**
* <code>bool is_autogenerated = 5 [json_name = "isAutogenerated"];</code>
* @return The isAutogenerated.
*/
@java.lang.Override
public boolean getIsAutogenerated() {
return isAutogenerated_;
}
public static final int MAX_STALENESS_DURATION_FIELD_NUMBER = 6;
private com.google.protobuf.Duration maxStalenessDuration_;
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
* @return Whether the maxStalenessDuration field is set.
*/
@java.lang.Override
public boolean hasMaxStalenessDuration() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
* @return The maxStalenessDuration.
*/
@java.lang.Override
public com.google.protobuf.Duration getMaxStalenessDuration() {
return maxStalenessDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxStalenessDuration_;
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
*/
@java.lang.Override
public com.google.protobuf.DurationOrBuilder getMaxStalenessDurationOrBuilder() {
return maxStalenessDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxStalenessDuration_;
}
public static final int TAGS_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
public static final int DESCRIPTION_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object description_ = "";
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
@java.lang.Override
public boolean hasDescription() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OWNER_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object owner_ = "";
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
@java.lang.Override
public boolean hasOwner() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
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();
owner_ = s;
return s;
}
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ATTRIBUTE_NAME_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private volatile java.lang.Object attributeName_ = "";
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return The attributeName.
*/
@java.lang.Override
public java.lang.String getAttributeName() {
java.lang.Object ref = attributeName_;
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();
attributeName_ = s;
return s;
}
}
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return The bytes for attributeName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAttributeNameBytes() {
java.lang.Object ref = attributeName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attributeName_ = 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_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(foreignNamespace_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, foreignNamespace_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(4, getJoin());
}
if (isAutogenerated_ != false) {
output.writeBool(5, isAutogenerated_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(6, getMaxStalenessDuration());
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, tags_.getRaw(i));
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, description_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, owner_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, attributeName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(foreignNamespace_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, foreignNamespace_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getJoin());
}
if (isAutogenerated_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, isAutogenerated_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getMaxStalenessDuration());
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().size();
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, description_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, owner_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, attributeName_);
}
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.graph.v1.HasManyFeatureType)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.HasManyFeatureType other = (ai.chalk.protos.chalk.graph.v1.HasManyFeatureType) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getNamespace()
.equals(other.getNamespace())) return false;
if (!getForeignNamespace()
.equals(other.getForeignNamespace())) return false;
if (hasJoin() != other.hasJoin()) return false;
if (hasJoin()) {
if (!getJoin()
.equals(other.getJoin())) return false;
}
if (getIsAutogenerated()
!= other.getIsAutogenerated()) return false;
if (hasMaxStalenessDuration() != other.hasMaxStalenessDuration()) return false;
if (hasMaxStalenessDuration()) {
if (!getMaxStalenessDuration()
.equals(other.getMaxStalenessDuration())) return false;
}
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (hasDescription() != other.hasDescription()) return false;
if (hasDescription()) {
if (!getDescription()
.equals(other.getDescription())) return false;
}
if (hasOwner() != other.hasOwner()) return false;
if (hasOwner()) {
if (!getOwner()
.equals(other.getOwner())) return false;
}
if (!getAttributeName()
.equals(other.getAttributeName())) 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 = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
hash = (37 * hash) + FOREIGN_NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getForeignNamespace().hashCode();
if (hasJoin()) {
hash = (37 * hash) + JOIN_FIELD_NUMBER;
hash = (53 * hash) + getJoin().hashCode();
}
hash = (37 * hash) + IS_AUTOGENERATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsAutogenerated());
if (hasMaxStalenessDuration()) {
hash = (37 * hash) + MAX_STALENESS_DURATION_FIELD_NUMBER;
hash = (53 * hash) + getMaxStalenessDuration().hashCode();
}
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (hasDescription()) {
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
hash = (37 * hash) + ATTRIBUTE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getAttributeName().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.HasManyFeatureType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.HasManyFeatureType 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.graph.v1.HasManyFeatureType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.HasManyFeatureType 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.graph.v1.HasManyFeatureType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.HasManyFeatureType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.HasManyFeatureType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.HasManyFeatureType 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.graph.v1.HasManyFeatureType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.HasManyFeatureType 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.graph.v1.HasManyFeatureType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.HasManyFeatureType 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.graph.v1.HasManyFeatureType 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.graph.v1.HasManyFeatureType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.HasManyFeatureType)
ai.chalk.protos.chalk.graph.v1.HasManyFeatureTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_HasManyFeatureType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_HasManyFeatureType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.class, ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getJoinFieldBuilder();
getMaxStalenessDurationFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
namespace_ = "";
foreignNamespace_ = "";
join_ = null;
if (joinBuilder_ != null) {
joinBuilder_.dispose();
joinBuilder_ = null;
}
isAutogenerated_ = false;
maxStalenessDuration_ = null;
if (maxStalenessDurationBuilder_ != null) {
maxStalenessDurationBuilder_.dispose();
maxStalenessDurationBuilder_ = null;
}
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
description_ = "";
owner_ = "";
attributeName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_HasManyFeatureType_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasManyFeatureType getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasManyFeatureType build() {
ai.chalk.protos.chalk.graph.v1.HasManyFeatureType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasManyFeatureType buildPartial() {
ai.chalk.protos.chalk.graph.v1.HasManyFeatureType result = new ai.chalk.protos.chalk.graph.v1.HasManyFeatureType(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.HasManyFeatureType result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.namespace_ = namespace_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.foreignNamespace_ = foreignNamespace_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.join_ = joinBuilder_ == null
? join_
: joinBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.isAutogenerated_ = isAutogenerated_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.maxStalenessDuration_ = maxStalenessDurationBuilder_ == null
? maxStalenessDuration_
: maxStalenessDurationBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
tags_.makeImmutable();
result.tags_ = tags_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.description_ = description_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.owner_ = owner_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.attributeName_ = attributeName_;
}
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.graph.v1.HasManyFeatureType) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.HasManyFeatureType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.HasManyFeatureType other) {
if (other == ai.chalk.protos.chalk.graph.v1.HasManyFeatureType.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getNamespace().isEmpty()) {
namespace_ = other.namespace_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getForeignNamespace().isEmpty()) {
foreignNamespace_ = other.foreignNamespace_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasJoin()) {
mergeJoin(other.getJoin());
}
if (other.getIsAutogenerated() != false) {
setIsAutogenerated(other.getIsAutogenerated());
}
if (other.hasMaxStalenessDuration()) {
mergeMaxStalenessDuration(other.getMaxStalenessDuration());
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ |= 0x00000040;
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
if (other.hasDescription()) {
description_ = other.description_;
bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasOwner()) {
owner_ = other.owner_;
bitField0_ |= 0x00000100;
onChanged();
}
if (!other.getAttributeName().isEmpty()) {
attributeName_ = other.attributeName_;
bitField0_ |= 0x00000200;
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
case 18: {
namespace_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
foreignNamespace_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getJoinFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
isAutogenerated_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
case 50: {
input.readMessage(
getMaxStalenessDurationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
java.lang.String s = input.readStringRequireUtf8();
ensureTagsIsMutable();
tags_.add(s);
break;
} // case 58
case 66: {
description_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
owner_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
attributeName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 82
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private 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 java.lang.Object foreignNamespace_ = "";
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return The foreignNamespace.
*/
public java.lang.String getForeignNamespace() {
java.lang.Object ref = foreignNamespace_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
foreignNamespace_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return The bytes for foreignNamespace.
*/
public com.google.protobuf.ByteString
getForeignNamespaceBytes() {
java.lang.Object ref = foreignNamespace_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
foreignNamespace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @param value The foreignNamespace to set.
* @return This builder for chaining.
*/
public Builder setForeignNamespace(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
foreignNamespace_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return This builder for chaining.
*/
public Builder clearForeignNamespace() {
foreignNamespace_ = getDefaultInstance().getForeignNamespace();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @param value The bytes for foreignNamespace to set.
* @return This builder for chaining.
*/
public Builder setForeignNamespaceBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
foreignNamespace_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode join_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> joinBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
* @return Whether the join field is set.
*/
public boolean hasJoin() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
* @return The join.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getJoin() {
if (joinBuilder_ == null) {
return join_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : join_;
} else {
return joinBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
public Builder setJoin(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (joinBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
join_ = value;
} else {
joinBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
public Builder setJoin(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (joinBuilder_ == null) {
join_ = builderForValue.build();
} else {
joinBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
public Builder mergeJoin(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (joinBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
join_ != null &&
join_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getJoinBuilder().mergeFrom(value);
} else {
join_ = value;
}
} else {
joinBuilder_.mergeFrom(value);
}
if (join_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
public Builder clearJoin() {
bitField0_ = (bitField0_ & ~0x00000008);
join_ = null;
if (joinBuilder_ != null) {
joinBuilder_.dispose();
joinBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getJoinBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getJoinFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getJoinOrBuilder() {
if (joinBuilder_ != null) {
return joinBuilder_.getMessageOrBuilder();
} else {
return join_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : join_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getJoinFieldBuilder() {
if (joinBuilder_ == null) {
joinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getJoin(),
getParentForChildren(),
isClean());
join_ = null;
}
return joinBuilder_;
}
private boolean isAutogenerated_ ;
/**
* <code>bool is_autogenerated = 5 [json_name = "isAutogenerated"];</code>
* @return The isAutogenerated.
*/
@java.lang.Override
public boolean getIsAutogenerated() {
return isAutogenerated_;
}
/**
* <code>bool is_autogenerated = 5 [json_name = "isAutogenerated"];</code>
* @param value The isAutogenerated to set.
* @return This builder for chaining.
*/
public Builder setIsAutogenerated(boolean value) {
isAutogenerated_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>bool is_autogenerated = 5 [json_name = "isAutogenerated"];</code>
* @return This builder for chaining.
*/
public Builder clearIsAutogenerated() {
bitField0_ = (bitField0_ & ~0x00000010);
isAutogenerated_ = false;
onChanged();
return this;
}
private com.google.protobuf.Duration maxStalenessDuration_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxStalenessDurationBuilder_;
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
* @return Whether the maxStalenessDuration field is set.
*/
public boolean hasMaxStalenessDuration() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
* @return The maxStalenessDuration.
*/
public com.google.protobuf.Duration getMaxStalenessDuration() {
if (maxStalenessDurationBuilder_ == null) {
return maxStalenessDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxStalenessDuration_;
} else {
return maxStalenessDurationBuilder_.getMessage();
}
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
*/
public Builder setMaxStalenessDuration(com.google.protobuf.Duration value) {
if (maxStalenessDurationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxStalenessDuration_ = value;
} else {
maxStalenessDurationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
*/
public Builder setMaxStalenessDuration(
com.google.protobuf.Duration.Builder builderForValue) {
if (maxStalenessDurationBuilder_ == null) {
maxStalenessDuration_ = builderForValue.build();
} else {
maxStalenessDurationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
*/
public Builder mergeMaxStalenessDuration(com.google.protobuf.Duration value) {
if (maxStalenessDurationBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
maxStalenessDuration_ != null &&
maxStalenessDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
getMaxStalenessDurationBuilder().mergeFrom(value);
} else {
maxStalenessDuration_ = value;
}
} else {
maxStalenessDurationBuilder_.mergeFrom(value);
}
if (maxStalenessDuration_ != null) {
bitField0_ |= 0x00000020;
onChanged();
}
return this;
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
*/
public Builder clearMaxStalenessDuration() {
bitField0_ = (bitField0_ & ~0x00000020);
maxStalenessDuration_ = null;
if (maxStalenessDurationBuilder_ != null) {
maxStalenessDurationBuilder_.dispose();
maxStalenessDurationBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
*/
public com.google.protobuf.Duration.Builder getMaxStalenessDurationBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getMaxStalenessDurationFieldBuilder().getBuilder();
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
*/
public com.google.protobuf.DurationOrBuilder getMaxStalenessDurationOrBuilder() {
if (maxStalenessDurationBuilder_ != null) {
return maxStalenessDurationBuilder_.getMessageOrBuilder();
} else {
return maxStalenessDuration_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : maxStalenessDuration_;
}
}
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getMaxStalenessDurationFieldBuilder() {
if (maxStalenessDurationBuilder_ == null) {
maxStalenessDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getMaxStalenessDuration(),
getParentForChildren(),
isClean());
maxStalenessDuration_ = null;
}
return maxStalenessDurationBuilder_;
}
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureTagsIsMutable() {
if (!tags_.isModifiable()) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
}
bitField0_ |= 0x00000040;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
tags_.makeImmutable();
return tags_;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index to set the value at.
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.set(index, value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param value The tags to add.
* @return This builder for chaining.
*/
public Builder addTags(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param values The tags to add.
* @return This builder for chaining.
*/
public Builder addAllTags(
java.lang.Iterable<java.lang.String> values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return This builder for chaining.
*/
public Builder clearTags() {
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);;
onChanged();
return this;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param value The bytes of the tags to add.
* @return This builder for chaining.
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
description_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
description_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object owner_ = "";
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
public boolean hasOwner() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
owner_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
owner_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
owner_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private java.lang.Object attributeName_ = "";
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return The attributeName.
*/
public java.lang.String getAttributeName() {
java.lang.Object ref = attributeName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attributeName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return The bytes for attributeName.
*/
public com.google.protobuf.ByteString
getAttributeNameBytes() {
java.lang.Object ref = attributeName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attributeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @param value The attributeName to set.
* @return This builder for chaining.
*/
public Builder setAttributeName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
attributeName_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return This builder for chaining.
*/
public Builder clearAttributeName() {
attributeName_ = getDefaultInstance().getAttributeName();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @param value The bytes for attributeName to set.
* @return This builder for chaining.
*/
public Builder setAttributeNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
attributeName_ = value;
bitField0_ |= 0x00000200;
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.graph.v1.HasManyFeatureType)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.HasManyFeatureType)
private static final ai.chalk.protos.chalk.graph.v1.HasManyFeatureType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.HasManyFeatureType();
}
public static ai.chalk.protos.chalk.graph.v1.HasManyFeatureType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<HasManyFeatureType>
PARSER = new com.google.protobuf.AbstractParser<HasManyFeatureType>() {
@java.lang.Override
public HasManyFeatureType 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<HasManyFeatureType> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<HasManyFeatureType> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasManyFeatureType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/HasManyFeatureTypeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface HasManyFeatureTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.HasManyFeatureType)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>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();
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return The foreignNamespace.
*/
java.lang.String getForeignNamespace();
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return The bytes for foreignNamespace.
*/
com.google.protobuf.ByteString
getForeignNamespaceBytes();
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
* @return Whether the join field is set.
*/
boolean hasJoin();
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
* @return The join.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getJoin();
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getJoinOrBuilder();
/**
* <code>bool is_autogenerated = 5 [json_name = "isAutogenerated"];</code>
* @return The isAutogenerated.
*/
boolean getIsAutogenerated();
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
* @return Whether the maxStalenessDuration field is set.
*/
boolean hasMaxStalenessDuration();
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
* @return The maxStalenessDuration.
*/
com.google.protobuf.Duration getMaxStalenessDuration();
/**
* <code>.google.protobuf.Duration max_staleness_duration = 6 [json_name = "maxStalenessDuration"];</code>
*/
com.google.protobuf.DurationOrBuilder getMaxStalenessDurationOrBuilder();
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
java.util.List<java.lang.String>
getTagsList();
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return The count of tags.
*/
int getTagsCount();
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
java.lang.String getTags(int index);
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return The description.
*/
java.lang.String getDescription();
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The owner.
*/
java.lang.String getOwner();
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return The attributeName.
*/
java.lang.String getAttributeName();
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return The bytes for attributeName.
*/
com.google.protobuf.ByteString
getAttributeNameBytes();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/HasOneFeatureType.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.HasOneFeatureType}
*/
public final class HasOneFeatureType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.HasOneFeatureType)
HasOneFeatureTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use HasOneFeatureType.newBuilder() to construct.
private HasOneFeatureType(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private HasOneFeatureType() {
name_ = "";
namespace_ = "";
foreignNamespace_ = "";
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
description_ = "";
owner_ = "";
attributeName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HasOneFeatureType();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_HasOneFeatureType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_HasOneFeatureType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.class, ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int 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 FOREIGN_NAMESPACE_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object foreignNamespace_ = "";
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return The foreignNamespace.
*/
@java.lang.Override
public java.lang.String getForeignNamespace() {
java.lang.Object ref = foreignNamespace_;
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();
foreignNamespace_ = s;
return s;
}
}
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return The bytes for foreignNamespace.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getForeignNamespaceBytes() {
java.lang.Object ref = foreignNamespace_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
foreignNamespace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JOIN_FIELD_NUMBER = 4;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode join_;
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
* @return Whether the join field is set.
*/
@java.lang.Override
public boolean hasJoin() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
* @return The join.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getJoin() {
return join_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : join_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getJoinOrBuilder() {
return join_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : join_;
}
public static final int IS_NULLABLE_FIELD_NUMBER = 5;
private boolean isNullable_ = false;
/**
* <code>bool is_nullable = 5 [json_name = "isNullable"];</code>
* @return The isNullable.
*/
@java.lang.Override
public boolean getIsNullable() {
return isNullable_;
}
public static final int IS_AUTOGENERATED_FIELD_NUMBER = 6;
private boolean isAutogenerated_ = false;
/**
* <code>bool is_autogenerated = 6 [json_name = "isAutogenerated"];</code>
* @return The isAutogenerated.
*/
@java.lang.Override
public boolean getIsAutogenerated() {
return isAutogenerated_;
}
public static final int TAGS_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
public static final int DESCRIPTION_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object description_ = "";
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
@java.lang.Override
public boolean hasDescription() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OWNER_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object owner_ = "";
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
@java.lang.Override
public boolean hasOwner() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
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();
owner_ = s;
return s;
}
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ATTRIBUTE_NAME_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private volatile java.lang.Object attributeName_ = "";
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return The attributeName.
*/
@java.lang.Override
public java.lang.String getAttributeName() {
java.lang.Object ref = attributeName_;
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();
attributeName_ = s;
return s;
}
}
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return The bytes for attributeName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAttributeNameBytes() {
java.lang.Object ref = attributeName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attributeName_ = 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_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(foreignNamespace_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, foreignNamespace_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(4, getJoin());
}
if (isNullable_ != false) {
output.writeBool(5, isNullable_);
}
if (isAutogenerated_ != false) {
output.writeBool(6, isAutogenerated_);
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, tags_.getRaw(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, description_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, owner_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, attributeName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(foreignNamespace_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, foreignNamespace_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getJoin());
}
if (isNullable_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, isNullable_);
}
if (isAutogenerated_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, isAutogenerated_);
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().size();
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, description_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, owner_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, attributeName_);
}
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.graph.v1.HasOneFeatureType)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.HasOneFeatureType other = (ai.chalk.protos.chalk.graph.v1.HasOneFeatureType) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getNamespace()
.equals(other.getNamespace())) return false;
if (!getForeignNamespace()
.equals(other.getForeignNamespace())) return false;
if (hasJoin() != other.hasJoin()) return false;
if (hasJoin()) {
if (!getJoin()
.equals(other.getJoin())) return false;
}
if (getIsNullable()
!= other.getIsNullable()) return false;
if (getIsAutogenerated()
!= other.getIsAutogenerated()) return false;
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (hasDescription() != other.hasDescription()) return false;
if (hasDescription()) {
if (!getDescription()
.equals(other.getDescription())) return false;
}
if (hasOwner() != other.hasOwner()) return false;
if (hasOwner()) {
if (!getOwner()
.equals(other.getOwner())) return false;
}
if (!getAttributeName()
.equals(other.getAttributeName())) 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 = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
hash = (37 * hash) + FOREIGN_NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getForeignNamespace().hashCode();
if (hasJoin()) {
hash = (37 * hash) + JOIN_FIELD_NUMBER;
hash = (53 * hash) + getJoin().hashCode();
}
hash = (37 * hash) + IS_NULLABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsNullable());
hash = (37 * hash) + IS_AUTOGENERATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsAutogenerated());
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (hasDescription()) {
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
hash = (37 * hash) + ATTRIBUTE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getAttributeName().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.HasOneFeatureType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.HasOneFeatureType 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.graph.v1.HasOneFeatureType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.HasOneFeatureType 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.graph.v1.HasOneFeatureType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.HasOneFeatureType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.HasOneFeatureType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.HasOneFeatureType 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.graph.v1.HasOneFeatureType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.HasOneFeatureType 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.graph.v1.HasOneFeatureType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.HasOneFeatureType 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.graph.v1.HasOneFeatureType 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.graph.v1.HasOneFeatureType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.HasOneFeatureType)
ai.chalk.protos.chalk.graph.v1.HasOneFeatureTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_HasOneFeatureType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_HasOneFeatureType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.class, ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getJoinFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
namespace_ = "";
foreignNamespace_ = "";
join_ = null;
if (joinBuilder_ != null) {
joinBuilder_.dispose();
joinBuilder_ = null;
}
isNullable_ = false;
isAutogenerated_ = false;
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
description_ = "";
owner_ = "";
attributeName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_HasOneFeatureType_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasOneFeatureType getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasOneFeatureType build() {
ai.chalk.protos.chalk.graph.v1.HasOneFeatureType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasOneFeatureType buildPartial() {
ai.chalk.protos.chalk.graph.v1.HasOneFeatureType result = new ai.chalk.protos.chalk.graph.v1.HasOneFeatureType(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.HasOneFeatureType result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.namespace_ = namespace_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.foreignNamespace_ = foreignNamespace_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.join_ = joinBuilder_ == null
? join_
: joinBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.isNullable_ = isNullable_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.isAutogenerated_ = isAutogenerated_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
tags_.makeImmutable();
result.tags_ = tags_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.description_ = description_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.owner_ = owner_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.attributeName_ = attributeName_;
}
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.graph.v1.HasOneFeatureType) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.HasOneFeatureType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.HasOneFeatureType other) {
if (other == ai.chalk.protos.chalk.graph.v1.HasOneFeatureType.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getNamespace().isEmpty()) {
namespace_ = other.namespace_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getForeignNamespace().isEmpty()) {
foreignNamespace_ = other.foreignNamespace_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasJoin()) {
mergeJoin(other.getJoin());
}
if (other.getIsNullable() != false) {
setIsNullable(other.getIsNullable());
}
if (other.getIsAutogenerated() != false) {
setIsAutogenerated(other.getIsAutogenerated());
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ |= 0x00000040;
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
if (other.hasDescription()) {
description_ = other.description_;
bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasOwner()) {
owner_ = other.owner_;
bitField0_ |= 0x00000100;
onChanged();
}
if (!other.getAttributeName().isEmpty()) {
attributeName_ = other.attributeName_;
bitField0_ |= 0x00000200;
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
case 18: {
namespace_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
foreignNamespace_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getJoinFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
isNullable_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
isAutogenerated_ = input.readBool();
bitField0_ |= 0x00000020;
break;
} // case 48
case 58: {
java.lang.String s = input.readStringRequireUtf8();
ensureTagsIsMutable();
tags_.add(s);
break;
} // case 58
case 66: {
description_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
owner_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
attributeName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 82
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private 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 java.lang.Object foreignNamespace_ = "";
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return The foreignNamespace.
*/
public java.lang.String getForeignNamespace() {
java.lang.Object ref = foreignNamespace_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
foreignNamespace_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return The bytes for foreignNamespace.
*/
public com.google.protobuf.ByteString
getForeignNamespaceBytes() {
java.lang.Object ref = foreignNamespace_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
foreignNamespace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @param value The foreignNamespace to set.
* @return This builder for chaining.
*/
public Builder setForeignNamespace(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
foreignNamespace_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return This builder for chaining.
*/
public Builder clearForeignNamespace() {
foreignNamespace_ = getDefaultInstance().getForeignNamespace();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @param value The bytes for foreignNamespace to set.
* @return This builder for chaining.
*/
public Builder setForeignNamespaceBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
foreignNamespace_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode join_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> joinBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
* @return Whether the join field is set.
*/
public boolean hasJoin() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
* @return The join.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getJoin() {
if (joinBuilder_ == null) {
return join_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : join_;
} else {
return joinBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
public Builder setJoin(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (joinBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
join_ = value;
} else {
joinBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
public Builder setJoin(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (joinBuilder_ == null) {
join_ = builderForValue.build();
} else {
joinBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
public Builder mergeJoin(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (joinBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
join_ != null &&
join_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getJoinBuilder().mergeFrom(value);
} else {
join_ = value;
}
} else {
joinBuilder_.mergeFrom(value);
}
if (join_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
public Builder clearJoin() {
bitField0_ = (bitField0_ & ~0x00000008);
join_ = null;
if (joinBuilder_ != null) {
joinBuilder_.dispose();
joinBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getJoinBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getJoinFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getJoinOrBuilder() {
if (joinBuilder_ != null) {
return joinBuilder_.getMessageOrBuilder();
} else {
return join_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : join_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getJoinFieldBuilder() {
if (joinBuilder_ == null) {
joinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getJoin(),
getParentForChildren(),
isClean());
join_ = null;
}
return joinBuilder_;
}
private boolean isNullable_ ;
/**
* <code>bool is_nullable = 5 [json_name = "isNullable"];</code>
* @return The isNullable.
*/
@java.lang.Override
public boolean getIsNullable() {
return isNullable_;
}
/**
* <code>bool is_nullable = 5 [json_name = "isNullable"];</code>
* @param value The isNullable to set.
* @return This builder for chaining.
*/
public Builder setIsNullable(boolean value) {
isNullable_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>bool is_nullable = 5 [json_name = "isNullable"];</code>
* @return This builder for chaining.
*/
public Builder clearIsNullable() {
bitField0_ = (bitField0_ & ~0x00000010);
isNullable_ = false;
onChanged();
return this;
}
private boolean isAutogenerated_ ;
/**
* <code>bool is_autogenerated = 6 [json_name = "isAutogenerated"];</code>
* @return The isAutogenerated.
*/
@java.lang.Override
public boolean getIsAutogenerated() {
return isAutogenerated_;
}
/**
* <code>bool is_autogenerated = 6 [json_name = "isAutogenerated"];</code>
* @param value The isAutogenerated to set.
* @return This builder for chaining.
*/
public Builder setIsAutogenerated(boolean value) {
isAutogenerated_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>bool is_autogenerated = 6 [json_name = "isAutogenerated"];</code>
* @return This builder for chaining.
*/
public Builder clearIsAutogenerated() {
bitField0_ = (bitField0_ & ~0x00000020);
isAutogenerated_ = false;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureTagsIsMutable() {
if (!tags_.isModifiable()) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
}
bitField0_ |= 0x00000040;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
tags_.makeImmutable();
return tags_;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index to set the value at.
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.set(index, value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param value The tags to add.
* @return This builder for chaining.
*/
public Builder addTags(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param values The tags to add.
* @return This builder for chaining.
*/
public Builder addAllTags(
java.lang.Iterable<java.lang.String> values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return This builder for chaining.
*/
public Builder clearTags() {
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);;
onChanged();
return this;
}
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param value The bytes of the tags to add.
* @return This builder for chaining.
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
description_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
description_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object owner_ = "";
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
public boolean hasOwner() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
owner_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
owner_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
owner_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private java.lang.Object attributeName_ = "";
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return The attributeName.
*/
public java.lang.String getAttributeName() {
java.lang.Object ref = attributeName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attributeName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return The bytes for attributeName.
*/
public com.google.protobuf.ByteString
getAttributeNameBytes() {
java.lang.Object ref = attributeName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attributeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @param value The attributeName to set.
* @return This builder for chaining.
*/
public Builder setAttributeName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
attributeName_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return This builder for chaining.
*/
public Builder clearAttributeName() {
attributeName_ = getDefaultInstance().getAttributeName();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @param value The bytes for attributeName to set.
* @return This builder for chaining.
*/
public Builder setAttributeNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
attributeName_ = value;
bitField0_ |= 0x00000200;
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.graph.v1.HasOneFeatureType)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.HasOneFeatureType)
private static final ai.chalk.protos.chalk.graph.v1.HasOneFeatureType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.HasOneFeatureType();
}
public static ai.chalk.protos.chalk.graph.v1.HasOneFeatureType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<HasOneFeatureType>
PARSER = new com.google.protobuf.AbstractParser<HasOneFeatureType>() {
@java.lang.Override
public HasOneFeatureType 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<HasOneFeatureType> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<HasOneFeatureType> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.HasOneFeatureType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/HasOneFeatureTypeOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface HasOneFeatureTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.HasOneFeatureType)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>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();
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return The foreignNamespace.
*/
java.lang.String getForeignNamespace();
/**
* <code>string foreign_namespace = 3 [json_name = "foreignNamespace"];</code>
* @return The bytes for foreignNamespace.
*/
com.google.protobuf.ByteString
getForeignNamespaceBytes();
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
* @return Whether the join field is set.
*/
boolean hasJoin();
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
* @return The join.
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNode getJoin();
/**
* <code>.chalk.expression.v1.LogicalExprNode join = 4 [json_name = "join"];</code>
*/
ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getJoinOrBuilder();
/**
* <code>bool is_nullable = 5 [json_name = "isNullable"];</code>
* @return The isNullable.
*/
boolean getIsNullable();
/**
* <code>bool is_autogenerated = 6 [json_name = "isAutogenerated"];</code>
* @return The isAutogenerated.
*/
boolean getIsAutogenerated();
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
java.util.List<java.lang.String>
getTagsList();
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @return The count of tags.
*/
int getTagsCount();
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
java.lang.String getTags(int index);
/**
* <code>repeated string tags = 7 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return The description.
*/
java.lang.String getDescription();
/**
* <code>optional string description = 8 [json_name = "description"];</code>
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The owner.
*/
java.lang.String getOwner();
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return The attributeName.
*/
java.lang.String getAttributeName();
/**
* <code>string attribute_name = 10 [json_name = "attributeName"];</code>
* @return The bytes for attributeName.
*/
com.google.protobuf.ByteString
getAttributeNameBytes();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/KafkaSource.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.KafkaSource}
*/
public final class KafkaSource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.KafkaSource)
KafkaSourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use KafkaSource.newBuilder() to construct.
private KafkaSource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private KafkaSource() {
name_ = "";
bootstrapServers_ =
com.google.protobuf.LazyStringArrayList.emptyList();
topic_ = "";
sslKeystoreLocation_ = "";
sslCaFile_ = "";
clientIdPrefix_ = "";
groupIdPrefix_ = "";
securityProtocol_ = "";
saslMechanism_ = "";
saslUsername_ = "";
saslPassword_ = "";
deadLetterQueueTopic_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new KafkaSource();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_KafkaSource_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_KafkaSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.KafkaSource.class, ai.chalk.protos.chalk.graph.v1.KafkaSource.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BOOTSTRAP_SERVERS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList bootstrapServers_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @return A list containing the bootstrapServers.
*/
public com.google.protobuf.ProtocolStringList
getBootstrapServersList() {
return bootstrapServers_;
}
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @return The count of bootstrapServers.
*/
public int getBootstrapServersCount() {
return bootstrapServers_.size();
}
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @param index The index of the element to return.
* @return The bootstrapServers at the given index.
*/
public java.lang.String getBootstrapServers(int index) {
return bootstrapServers_.get(index);
}
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @param index The index of the value to return.
* @return The bytes of the bootstrapServers at the given index.
*/
public com.google.protobuf.ByteString
getBootstrapServersBytes(int index) {
return bootstrapServers_.getByteString(index);
}
public static final int TOPIC_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object topic_ = "";
/**
* <code>string topic = 3 [json_name = "topic"];</code>
* @return The topic.
*/
@java.lang.Override
public java.lang.String getTopic() {
java.lang.Object ref = topic_;
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();
topic_ = s;
return s;
}
}
/**
* <code>string topic = 3 [json_name = "topic"];</code>
* @return The bytes for topic.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTopicBytes() {
java.lang.Object ref = topic_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
topic_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SSL_KEYSTORE_LOCATION_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object sslKeystoreLocation_ = "";
/**
* <code>string ssl_keystore_location = 4 [json_name = "sslKeystoreLocation"];</code>
* @return The sslKeystoreLocation.
*/
@java.lang.Override
public java.lang.String getSslKeystoreLocation() {
java.lang.Object ref = sslKeystoreLocation_;
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();
sslKeystoreLocation_ = s;
return s;
}
}
/**
* <code>string ssl_keystore_location = 4 [json_name = "sslKeystoreLocation"];</code>
* @return The bytes for sslKeystoreLocation.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSslKeystoreLocationBytes() {
java.lang.Object ref = sslKeystoreLocation_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sslKeystoreLocation_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SSL_CA_FILE_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object sslCaFile_ = "";
/**
* <code>string ssl_ca_file = 5 [json_name = "sslCaFile"];</code>
* @return The sslCaFile.
*/
@java.lang.Override
public java.lang.String getSslCaFile() {
java.lang.Object ref = sslCaFile_;
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();
sslCaFile_ = s;
return s;
}
}
/**
* <code>string ssl_ca_file = 5 [json_name = "sslCaFile"];</code>
* @return The bytes for sslCaFile.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSslCaFileBytes() {
java.lang.Object ref = sslCaFile_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sslCaFile_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLIENT_ID_PREFIX_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object clientIdPrefix_ = "";
/**
* <code>string client_id_prefix = 6 [json_name = "clientIdPrefix"];</code>
* @return The clientIdPrefix.
*/
@java.lang.Override
public java.lang.String getClientIdPrefix() {
java.lang.Object ref = clientIdPrefix_;
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();
clientIdPrefix_ = s;
return s;
}
}
/**
* <code>string client_id_prefix = 6 [json_name = "clientIdPrefix"];</code>
* @return The bytes for clientIdPrefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClientIdPrefixBytes() {
java.lang.Object ref = clientIdPrefix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientIdPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GROUP_ID_PREFIX_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object groupIdPrefix_ = "";
/**
* <code>string group_id_prefix = 7 [json_name = "groupIdPrefix"];</code>
* @return The groupIdPrefix.
*/
@java.lang.Override
public java.lang.String getGroupIdPrefix() {
java.lang.Object ref = groupIdPrefix_;
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();
groupIdPrefix_ = s;
return s;
}
}
/**
* <code>string group_id_prefix = 7 [json_name = "groupIdPrefix"];</code>
* @return The bytes for groupIdPrefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGroupIdPrefixBytes() {
java.lang.Object ref = groupIdPrefix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
groupIdPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SECURITY_PROTOCOL_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object securityProtocol_ = "";
/**
* <code>string security_protocol = 8 [json_name = "securityProtocol"];</code>
* @return The securityProtocol.
*/
@java.lang.Override
public java.lang.String getSecurityProtocol() {
java.lang.Object ref = securityProtocol_;
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();
securityProtocol_ = s;
return s;
}
}
/**
* <code>string security_protocol = 8 [json_name = "securityProtocol"];</code>
* @return The bytes for securityProtocol.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSecurityProtocolBytes() {
java.lang.Object ref = securityProtocol_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
securityProtocol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SASL_MECHANISM_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object saslMechanism_ = "";
/**
* <code>string sasl_mechanism = 9 [json_name = "saslMechanism"];</code>
* @return The saslMechanism.
*/
@java.lang.Override
public java.lang.String getSaslMechanism() {
java.lang.Object ref = saslMechanism_;
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();
saslMechanism_ = s;
return s;
}
}
/**
* <code>string sasl_mechanism = 9 [json_name = "saslMechanism"];</code>
* @return The bytes for saslMechanism.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSaslMechanismBytes() {
java.lang.Object ref = saslMechanism_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
saslMechanism_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SASL_USERNAME_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private volatile java.lang.Object saslUsername_ = "";
/**
* <code>string sasl_username = 10 [json_name = "saslUsername"];</code>
* @return The saslUsername.
*/
@java.lang.Override
public java.lang.String getSaslUsername() {
java.lang.Object ref = saslUsername_;
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();
saslUsername_ = s;
return s;
}
}
/**
* <code>string sasl_username = 10 [json_name = "saslUsername"];</code>
* @return The bytes for saslUsername.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSaslUsernameBytes() {
java.lang.Object ref = saslUsername_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
saslUsername_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SASL_PASSWORD_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private volatile java.lang.Object saslPassword_ = "";
/**
* <code>string sasl_password = 11 [json_name = "saslPassword"];</code>
* @return The saslPassword.
*/
@java.lang.Override
public java.lang.String getSaslPassword() {
java.lang.Object ref = saslPassword_;
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();
saslPassword_ = s;
return s;
}
}
/**
* <code>string sasl_password = 11 [json_name = "saslPassword"];</code>
* @return The bytes for saslPassword.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSaslPasswordBytes() {
java.lang.Object ref = saslPassword_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
saslPassword_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LATE_ARRIVAL_DEADLINE_FIELD_NUMBER = 12;
private com.google.protobuf.Duration lateArrivalDeadline_;
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
* @return Whether the lateArrivalDeadline field is set.
*/
@java.lang.Override
public boolean hasLateArrivalDeadline() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
* @return The lateArrivalDeadline.
*/
@java.lang.Override
public com.google.protobuf.Duration getLateArrivalDeadline() {
return lateArrivalDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lateArrivalDeadline_;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
*/
@java.lang.Override
public com.google.protobuf.DurationOrBuilder getLateArrivalDeadlineOrBuilder() {
return lateArrivalDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lateArrivalDeadline_;
}
public static final int DEAD_LETTER_QUEUE_TOPIC_FIELD_NUMBER = 13;
@SuppressWarnings("serial")
private volatile java.lang.Object deadLetterQueueTopic_ = "";
/**
* <code>string dead_letter_queue_topic = 13 [json_name = "deadLetterQueueTopic"];</code>
* @return The deadLetterQueueTopic.
*/
@java.lang.Override
public java.lang.String getDeadLetterQueueTopic() {
java.lang.Object ref = deadLetterQueueTopic_;
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();
deadLetterQueueTopic_ = s;
return s;
}
}
/**
* <code>string dead_letter_queue_topic = 13 [json_name = "deadLetterQueueTopic"];</code>
* @return The bytes for deadLetterQueueTopic.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDeadLetterQueueTopicBytes() {
java.lang.Object ref = deadLetterQueueTopic_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deadLetterQueueTopic_ = 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_);
}
for (int i = 0; i < bootstrapServers_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, bootstrapServers_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, topic_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sslKeystoreLocation_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sslKeystoreLocation_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sslCaFile_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sslCaFile_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientIdPrefix_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, clientIdPrefix_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupIdPrefix_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, groupIdPrefix_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityProtocol_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, securityProtocol_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(saslMechanism_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, saslMechanism_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(saslUsername_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, saslUsername_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(saslPassword_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, saslPassword_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(12, getLateArrivalDeadline());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterQueueTopic_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, deadLetterQueueTopic_);
}
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_);
}
{
int dataSize = 0;
for (int i = 0; i < bootstrapServers_.size(); i++) {
dataSize += computeStringSizeNoTag(bootstrapServers_.getRaw(i));
}
size += dataSize;
size += 1 * getBootstrapServersList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, topic_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sslKeystoreLocation_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sslKeystoreLocation_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sslCaFile_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sslCaFile_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientIdPrefix_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, clientIdPrefix_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupIdPrefix_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, groupIdPrefix_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityProtocol_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, securityProtocol_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(saslMechanism_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, saslMechanism_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(saslUsername_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, saslUsername_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(saslPassword_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, saslPassword_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getLateArrivalDeadline());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterQueueTopic_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, deadLetterQueueTopic_);
}
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.graph.v1.KafkaSource)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.KafkaSource other = (ai.chalk.protos.chalk.graph.v1.KafkaSource) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getBootstrapServersList()
.equals(other.getBootstrapServersList())) return false;
if (!getTopic()
.equals(other.getTopic())) return false;
if (!getSslKeystoreLocation()
.equals(other.getSslKeystoreLocation())) return false;
if (!getSslCaFile()
.equals(other.getSslCaFile())) return false;
if (!getClientIdPrefix()
.equals(other.getClientIdPrefix())) return false;
if (!getGroupIdPrefix()
.equals(other.getGroupIdPrefix())) return false;
if (!getSecurityProtocol()
.equals(other.getSecurityProtocol())) return false;
if (!getSaslMechanism()
.equals(other.getSaslMechanism())) return false;
if (!getSaslUsername()
.equals(other.getSaslUsername())) return false;
if (!getSaslPassword()
.equals(other.getSaslPassword())) return false;
if (hasLateArrivalDeadline() != other.hasLateArrivalDeadline()) return false;
if (hasLateArrivalDeadline()) {
if (!getLateArrivalDeadline()
.equals(other.getLateArrivalDeadline())) return false;
}
if (!getDeadLetterQueueTopic()
.equals(other.getDeadLetterQueueTopic())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (getBootstrapServersCount() > 0) {
hash = (37 * hash) + BOOTSTRAP_SERVERS_FIELD_NUMBER;
hash = (53 * hash) + getBootstrapServersList().hashCode();
}
hash = (37 * hash) + TOPIC_FIELD_NUMBER;
hash = (53 * hash) + getTopic().hashCode();
hash = (37 * hash) + SSL_KEYSTORE_LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getSslKeystoreLocation().hashCode();
hash = (37 * hash) + SSL_CA_FILE_FIELD_NUMBER;
hash = (53 * hash) + getSslCaFile().hashCode();
hash = (37 * hash) + CLIENT_ID_PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getClientIdPrefix().hashCode();
hash = (37 * hash) + GROUP_ID_PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getGroupIdPrefix().hashCode();
hash = (37 * hash) + SECURITY_PROTOCOL_FIELD_NUMBER;
hash = (53 * hash) + getSecurityProtocol().hashCode();
hash = (37 * hash) + SASL_MECHANISM_FIELD_NUMBER;
hash = (53 * hash) + getSaslMechanism().hashCode();
hash = (37 * hash) + SASL_USERNAME_FIELD_NUMBER;
hash = (53 * hash) + getSaslUsername().hashCode();
hash = (37 * hash) + SASL_PASSWORD_FIELD_NUMBER;
hash = (53 * hash) + getSaslPassword().hashCode();
if (hasLateArrivalDeadline()) {
hash = (37 * hash) + LATE_ARRIVAL_DEADLINE_FIELD_NUMBER;
hash = (53 * hash) + getLateArrivalDeadline().hashCode();
}
hash = (37 * hash) + DEAD_LETTER_QUEUE_TOPIC_FIELD_NUMBER;
hash = (53 * hash) + getDeadLetterQueueTopic().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.KafkaSource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.KafkaSource 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.graph.v1.KafkaSource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.KafkaSource 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.graph.v1.KafkaSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.KafkaSource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.KafkaSource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.KafkaSource 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.graph.v1.KafkaSource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.KafkaSource 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.graph.v1.KafkaSource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.KafkaSource 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.graph.v1.KafkaSource 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.graph.v1.KafkaSource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.KafkaSource)
ai.chalk.protos.chalk.graph.v1.KafkaSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_KafkaSource_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_KafkaSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.KafkaSource.class, ai.chalk.protos.chalk.graph.v1.KafkaSource.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.KafkaSource.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLateArrivalDeadlineFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
bootstrapServers_ =
com.google.protobuf.LazyStringArrayList.emptyList();
topic_ = "";
sslKeystoreLocation_ = "";
sslCaFile_ = "";
clientIdPrefix_ = "";
groupIdPrefix_ = "";
securityProtocol_ = "";
saslMechanism_ = "";
saslUsername_ = "";
saslPassword_ = "";
lateArrivalDeadline_ = null;
if (lateArrivalDeadlineBuilder_ != null) {
lateArrivalDeadlineBuilder_.dispose();
lateArrivalDeadlineBuilder_ = null;
}
deadLetterQueueTopic_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_KafkaSource_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.KafkaSource getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.KafkaSource.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.KafkaSource build() {
ai.chalk.protos.chalk.graph.v1.KafkaSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.KafkaSource buildPartial() {
ai.chalk.protos.chalk.graph.v1.KafkaSource result = new ai.chalk.protos.chalk.graph.v1.KafkaSource(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.KafkaSource result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
bootstrapServers_.makeImmutable();
result.bootstrapServers_ = bootstrapServers_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.topic_ = topic_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.sslKeystoreLocation_ = sslKeystoreLocation_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.sslCaFile_ = sslCaFile_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.clientIdPrefix_ = clientIdPrefix_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.groupIdPrefix_ = groupIdPrefix_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.securityProtocol_ = securityProtocol_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.saslMechanism_ = saslMechanism_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.saslUsername_ = saslUsername_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.saslPassword_ = saslPassword_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000800) != 0)) {
result.lateArrivalDeadline_ = lateArrivalDeadlineBuilder_ == null
? lateArrivalDeadline_
: lateArrivalDeadlineBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.deadLetterQueueTopic_ = deadLetterQueueTopic_;
}
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.graph.v1.KafkaSource) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.KafkaSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.KafkaSource other) {
if (other == ai.chalk.protos.chalk.graph.v1.KafkaSource.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.bootstrapServers_.isEmpty()) {
if (bootstrapServers_.isEmpty()) {
bootstrapServers_ = other.bootstrapServers_;
bitField0_ |= 0x00000002;
} else {
ensureBootstrapServersIsMutable();
bootstrapServers_.addAll(other.bootstrapServers_);
}
onChanged();
}
if (!other.getTopic().isEmpty()) {
topic_ = other.topic_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getSslKeystoreLocation().isEmpty()) {
sslKeystoreLocation_ = other.sslKeystoreLocation_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getSslCaFile().isEmpty()) {
sslCaFile_ = other.sslCaFile_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getClientIdPrefix().isEmpty()) {
clientIdPrefix_ = other.clientIdPrefix_;
bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getGroupIdPrefix().isEmpty()) {
groupIdPrefix_ = other.groupIdPrefix_;
bitField0_ |= 0x00000040;
onChanged();
}
if (!other.getSecurityProtocol().isEmpty()) {
securityProtocol_ = other.securityProtocol_;
bitField0_ |= 0x00000080;
onChanged();
}
if (!other.getSaslMechanism().isEmpty()) {
saslMechanism_ = other.saslMechanism_;
bitField0_ |= 0x00000100;
onChanged();
}
if (!other.getSaslUsername().isEmpty()) {
saslUsername_ = other.saslUsername_;
bitField0_ |= 0x00000200;
onChanged();
}
if (!other.getSaslPassword().isEmpty()) {
saslPassword_ = other.saslPassword_;
bitField0_ |= 0x00000400;
onChanged();
}
if (other.hasLateArrivalDeadline()) {
mergeLateArrivalDeadline(other.getLateArrivalDeadline());
}
if (!other.getDeadLetterQueueTopic().isEmpty()) {
deadLetterQueueTopic_ = other.deadLetterQueueTopic_;
bitField0_ |= 0x00001000;
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
case 18: {
java.lang.String s = input.readStringRequireUtf8();
ensureBootstrapServersIsMutable();
bootstrapServers_.add(s);
break;
} // case 18
case 26: {
topic_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
sslKeystoreLocation_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
sslCaFile_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
clientIdPrefix_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
groupIdPrefix_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
securityProtocol_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
saslMechanism_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
saslUsername_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 82
case 90: {
saslPassword_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 90
case 98: {
input.readMessage(
getLateArrivalDeadlineFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000800;
break;
} // case 98
case 106: {
deadLetterQueueTopic_ = input.readStringRequireUtf8();
bitField0_ |= 0x00001000;
break;
} // case 106
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList bootstrapServers_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureBootstrapServersIsMutable() {
if (!bootstrapServers_.isModifiable()) {
bootstrapServers_ = new com.google.protobuf.LazyStringArrayList(bootstrapServers_);
}
bitField0_ |= 0x00000002;
}
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @return A list containing the bootstrapServers.
*/
public com.google.protobuf.ProtocolStringList
getBootstrapServersList() {
bootstrapServers_.makeImmutable();
return bootstrapServers_;
}
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @return The count of bootstrapServers.
*/
public int getBootstrapServersCount() {
return bootstrapServers_.size();
}
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @param index The index of the element to return.
* @return The bootstrapServers at the given index.
*/
public java.lang.String getBootstrapServers(int index) {
return bootstrapServers_.get(index);
}
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @param index The index of the value to return.
* @return The bytes of the bootstrapServers at the given index.
*/
public com.google.protobuf.ByteString
getBootstrapServersBytes(int index) {
return bootstrapServers_.getByteString(index);
}
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @param index The index to set the value at.
* @param value The bootstrapServers to set.
* @return This builder for chaining.
*/
public Builder setBootstrapServers(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureBootstrapServersIsMutable();
bootstrapServers_.set(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @param value The bootstrapServers to add.
* @return This builder for chaining.
*/
public Builder addBootstrapServers(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureBootstrapServersIsMutable();
bootstrapServers_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @param values The bootstrapServers to add.
* @return This builder for chaining.
*/
public Builder addAllBootstrapServers(
java.lang.Iterable<java.lang.String> values) {
ensureBootstrapServersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, bootstrapServers_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @return This builder for chaining.
*/
public Builder clearBootstrapServers() {
bootstrapServers_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);;
onChanged();
return this;
}
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @param value The bytes of the bootstrapServers to add.
* @return This builder for chaining.
*/
public Builder addBootstrapServersBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureBootstrapServersIsMutable();
bootstrapServers_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object topic_ = "";
/**
* <code>string topic = 3 [json_name = "topic"];</code>
* @return The topic.
*/
public java.lang.String getTopic() {
java.lang.Object ref = topic_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
topic_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string topic = 3 [json_name = "topic"];</code>
* @return The bytes for topic.
*/
public com.google.protobuf.ByteString
getTopicBytes() {
java.lang.Object ref = topic_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
topic_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string topic = 3 [json_name = "topic"];</code>
* @param value The topic to set.
* @return This builder for chaining.
*/
public Builder setTopic(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
topic_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>string topic = 3 [json_name = "topic"];</code>
* @return This builder for chaining.
*/
public Builder clearTopic() {
topic_ = getDefaultInstance().getTopic();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>string topic = 3 [json_name = "topic"];</code>
* @param value The bytes for topic to set.
* @return This builder for chaining.
*/
public Builder setTopicBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
topic_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object sslKeystoreLocation_ = "";
/**
* <code>string ssl_keystore_location = 4 [json_name = "sslKeystoreLocation"];</code>
* @return The sslKeystoreLocation.
*/
public java.lang.String getSslKeystoreLocation() {
java.lang.Object ref = sslKeystoreLocation_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sslKeystoreLocation_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string ssl_keystore_location = 4 [json_name = "sslKeystoreLocation"];</code>
* @return The bytes for sslKeystoreLocation.
*/
public com.google.protobuf.ByteString
getSslKeystoreLocationBytes() {
java.lang.Object ref = sslKeystoreLocation_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sslKeystoreLocation_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string ssl_keystore_location = 4 [json_name = "sslKeystoreLocation"];</code>
* @param value The sslKeystoreLocation to set.
* @return This builder for chaining.
*/
public Builder setSslKeystoreLocation(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
sslKeystoreLocation_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>string ssl_keystore_location = 4 [json_name = "sslKeystoreLocation"];</code>
* @return This builder for chaining.
*/
public Builder clearSslKeystoreLocation() {
sslKeystoreLocation_ = getDefaultInstance().getSslKeystoreLocation();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>string ssl_keystore_location = 4 [json_name = "sslKeystoreLocation"];</code>
* @param value The bytes for sslKeystoreLocation to set.
* @return This builder for chaining.
*/
public Builder setSslKeystoreLocationBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
sslKeystoreLocation_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object sslCaFile_ = "";
/**
* <code>string ssl_ca_file = 5 [json_name = "sslCaFile"];</code>
* @return The sslCaFile.
*/
public java.lang.String getSslCaFile() {
java.lang.Object ref = sslCaFile_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sslCaFile_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string ssl_ca_file = 5 [json_name = "sslCaFile"];</code>
* @return The bytes for sslCaFile.
*/
public com.google.protobuf.ByteString
getSslCaFileBytes() {
java.lang.Object ref = sslCaFile_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sslCaFile_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string ssl_ca_file = 5 [json_name = "sslCaFile"];</code>
* @param value The sslCaFile to set.
* @return This builder for chaining.
*/
public Builder setSslCaFile(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
sslCaFile_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>string ssl_ca_file = 5 [json_name = "sslCaFile"];</code>
* @return This builder for chaining.
*/
public Builder clearSslCaFile() {
sslCaFile_ = getDefaultInstance().getSslCaFile();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>string ssl_ca_file = 5 [json_name = "sslCaFile"];</code>
* @param value The bytes for sslCaFile to set.
* @return This builder for chaining.
*/
public Builder setSslCaFileBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
sslCaFile_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object clientIdPrefix_ = "";
/**
* <code>string client_id_prefix = 6 [json_name = "clientIdPrefix"];</code>
* @return The clientIdPrefix.
*/
public java.lang.String getClientIdPrefix() {
java.lang.Object ref = clientIdPrefix_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
clientIdPrefix_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string client_id_prefix = 6 [json_name = "clientIdPrefix"];</code>
* @return The bytes for clientIdPrefix.
*/
public com.google.protobuf.ByteString
getClientIdPrefixBytes() {
java.lang.Object ref = clientIdPrefix_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientIdPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string client_id_prefix = 6 [json_name = "clientIdPrefix"];</code>
* @param value The clientIdPrefix to set.
* @return This builder for chaining.
*/
public Builder setClientIdPrefix(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
clientIdPrefix_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>string client_id_prefix = 6 [json_name = "clientIdPrefix"];</code>
* @return This builder for chaining.
*/
public Builder clearClientIdPrefix() {
clientIdPrefix_ = getDefaultInstance().getClientIdPrefix();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <code>string client_id_prefix = 6 [json_name = "clientIdPrefix"];</code>
* @param value The bytes for clientIdPrefix to set.
* @return This builder for chaining.
*/
public Builder setClientIdPrefixBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
clientIdPrefix_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object groupIdPrefix_ = "";
/**
* <code>string group_id_prefix = 7 [json_name = "groupIdPrefix"];</code>
* @return The groupIdPrefix.
*/
public java.lang.String getGroupIdPrefix() {
java.lang.Object ref = groupIdPrefix_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
groupIdPrefix_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string group_id_prefix = 7 [json_name = "groupIdPrefix"];</code>
* @return The bytes for groupIdPrefix.
*/
public com.google.protobuf.ByteString
getGroupIdPrefixBytes() {
java.lang.Object ref = groupIdPrefix_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
groupIdPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string group_id_prefix = 7 [json_name = "groupIdPrefix"];</code>
* @param value The groupIdPrefix to set.
* @return This builder for chaining.
*/
public Builder setGroupIdPrefix(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
groupIdPrefix_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>string group_id_prefix = 7 [json_name = "groupIdPrefix"];</code>
* @return This builder for chaining.
*/
public Builder clearGroupIdPrefix() {
groupIdPrefix_ = getDefaultInstance().getGroupIdPrefix();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* <code>string group_id_prefix = 7 [json_name = "groupIdPrefix"];</code>
* @param value The bytes for groupIdPrefix to set.
* @return This builder for chaining.
*/
public Builder setGroupIdPrefixBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
groupIdPrefix_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object securityProtocol_ = "";
/**
* <code>string security_protocol = 8 [json_name = "securityProtocol"];</code>
* @return The securityProtocol.
*/
public java.lang.String getSecurityProtocol() {
java.lang.Object ref = securityProtocol_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
securityProtocol_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string security_protocol = 8 [json_name = "securityProtocol"];</code>
* @return The bytes for securityProtocol.
*/
public com.google.protobuf.ByteString
getSecurityProtocolBytes() {
java.lang.Object ref = securityProtocol_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
securityProtocol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string security_protocol = 8 [json_name = "securityProtocol"];</code>
* @param value The securityProtocol to set.
* @return This builder for chaining.
*/
public Builder setSecurityProtocol(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
securityProtocol_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>string security_protocol = 8 [json_name = "securityProtocol"];</code>
* @return This builder for chaining.
*/
public Builder clearSecurityProtocol() {
securityProtocol_ = getDefaultInstance().getSecurityProtocol();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* <code>string security_protocol = 8 [json_name = "securityProtocol"];</code>
* @param value The bytes for securityProtocol to set.
* @return This builder for chaining.
*/
public Builder setSecurityProtocolBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
securityProtocol_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object saslMechanism_ = "";
/**
* <code>string sasl_mechanism = 9 [json_name = "saslMechanism"];</code>
* @return The saslMechanism.
*/
public java.lang.String getSaslMechanism() {
java.lang.Object ref = saslMechanism_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
saslMechanism_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string sasl_mechanism = 9 [json_name = "saslMechanism"];</code>
* @return The bytes for saslMechanism.
*/
public com.google.protobuf.ByteString
getSaslMechanismBytes() {
java.lang.Object ref = saslMechanism_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
saslMechanism_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string sasl_mechanism = 9 [json_name = "saslMechanism"];</code>
* @param value The saslMechanism to set.
* @return This builder for chaining.
*/
public Builder setSaslMechanism(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
saslMechanism_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>string sasl_mechanism = 9 [json_name = "saslMechanism"];</code>
* @return This builder for chaining.
*/
public Builder clearSaslMechanism() {
saslMechanism_ = getDefaultInstance().getSaslMechanism();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* <code>string sasl_mechanism = 9 [json_name = "saslMechanism"];</code>
* @param value The bytes for saslMechanism to set.
* @return This builder for chaining.
*/
public Builder setSaslMechanismBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
saslMechanism_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private java.lang.Object saslUsername_ = "";
/**
* <code>string sasl_username = 10 [json_name = "saslUsername"];</code>
* @return The saslUsername.
*/
public java.lang.String getSaslUsername() {
java.lang.Object ref = saslUsername_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
saslUsername_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string sasl_username = 10 [json_name = "saslUsername"];</code>
* @return The bytes for saslUsername.
*/
public com.google.protobuf.ByteString
getSaslUsernameBytes() {
java.lang.Object ref = saslUsername_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
saslUsername_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string sasl_username = 10 [json_name = "saslUsername"];</code>
* @param value The saslUsername to set.
* @return This builder for chaining.
*/
public Builder setSaslUsername(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
saslUsername_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>string sasl_username = 10 [json_name = "saslUsername"];</code>
* @return This builder for chaining.
*/
public Builder clearSaslUsername() {
saslUsername_ = getDefaultInstance().getSaslUsername();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* <code>string sasl_username = 10 [json_name = "saslUsername"];</code>
* @param value The bytes for saslUsername to set.
* @return This builder for chaining.
*/
public Builder setSaslUsernameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
saslUsername_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
private java.lang.Object saslPassword_ = "";
/**
* <code>string sasl_password = 11 [json_name = "saslPassword"];</code>
* @return The saslPassword.
*/
public java.lang.String getSaslPassword() {
java.lang.Object ref = saslPassword_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
saslPassword_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string sasl_password = 11 [json_name = "saslPassword"];</code>
* @return The bytes for saslPassword.
*/
public com.google.protobuf.ByteString
getSaslPasswordBytes() {
java.lang.Object ref = saslPassword_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
saslPassword_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string sasl_password = 11 [json_name = "saslPassword"];</code>
* @param value The saslPassword to set.
* @return This builder for chaining.
*/
public Builder setSaslPassword(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
saslPassword_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>string sasl_password = 11 [json_name = "saslPassword"];</code>
* @return This builder for chaining.
*/
public Builder clearSaslPassword() {
saslPassword_ = getDefaultInstance().getSaslPassword();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
* <code>string sasl_password = 11 [json_name = "saslPassword"];</code>
* @param value The bytes for saslPassword to set.
* @return This builder for chaining.
*/
public Builder setSaslPasswordBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
saslPassword_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
private com.google.protobuf.Duration lateArrivalDeadline_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> lateArrivalDeadlineBuilder_;
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
* @return Whether the lateArrivalDeadline field is set.
*/
public boolean hasLateArrivalDeadline() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
* @return The lateArrivalDeadline.
*/
public com.google.protobuf.Duration getLateArrivalDeadline() {
if (lateArrivalDeadlineBuilder_ == null) {
return lateArrivalDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lateArrivalDeadline_;
} else {
return lateArrivalDeadlineBuilder_.getMessage();
}
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
*/
public Builder setLateArrivalDeadline(com.google.protobuf.Duration value) {
if (lateArrivalDeadlineBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lateArrivalDeadline_ = value;
} else {
lateArrivalDeadlineBuilder_.setMessage(value);
}
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
*/
public Builder setLateArrivalDeadline(
com.google.protobuf.Duration.Builder builderForValue) {
if (lateArrivalDeadlineBuilder_ == null) {
lateArrivalDeadline_ = builderForValue.build();
} else {
lateArrivalDeadlineBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
*/
public Builder mergeLateArrivalDeadline(com.google.protobuf.Duration value) {
if (lateArrivalDeadlineBuilder_ == null) {
if (((bitField0_ & 0x00000800) != 0) &&
lateArrivalDeadline_ != null &&
lateArrivalDeadline_ != com.google.protobuf.Duration.getDefaultInstance()) {
getLateArrivalDeadlineBuilder().mergeFrom(value);
} else {
lateArrivalDeadline_ = value;
}
} else {
lateArrivalDeadlineBuilder_.mergeFrom(value);
}
if (lateArrivalDeadline_ != null) {
bitField0_ |= 0x00000800;
onChanged();
}
return this;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
*/
public Builder clearLateArrivalDeadline() {
bitField0_ = (bitField0_ & ~0x00000800);
lateArrivalDeadline_ = null;
if (lateArrivalDeadlineBuilder_ != null) {
lateArrivalDeadlineBuilder_.dispose();
lateArrivalDeadlineBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
*/
public com.google.protobuf.Duration.Builder getLateArrivalDeadlineBuilder() {
bitField0_ |= 0x00000800;
onChanged();
return getLateArrivalDeadlineFieldBuilder().getBuilder();
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
*/
public com.google.protobuf.DurationOrBuilder getLateArrivalDeadlineOrBuilder() {
if (lateArrivalDeadlineBuilder_ != null) {
return lateArrivalDeadlineBuilder_.getMessageOrBuilder();
} else {
return lateArrivalDeadline_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : lateArrivalDeadline_;
}
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getLateArrivalDeadlineFieldBuilder() {
if (lateArrivalDeadlineBuilder_ == null) {
lateArrivalDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getLateArrivalDeadline(),
getParentForChildren(),
isClean());
lateArrivalDeadline_ = null;
}
return lateArrivalDeadlineBuilder_;
}
private java.lang.Object deadLetterQueueTopic_ = "";
/**
* <code>string dead_letter_queue_topic = 13 [json_name = "deadLetterQueueTopic"];</code>
* @return The deadLetterQueueTopic.
*/
public java.lang.String getDeadLetterQueueTopic() {
java.lang.Object ref = deadLetterQueueTopic_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
deadLetterQueueTopic_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string dead_letter_queue_topic = 13 [json_name = "deadLetterQueueTopic"];</code>
* @return The bytes for deadLetterQueueTopic.
*/
public com.google.protobuf.ByteString
getDeadLetterQueueTopicBytes() {
java.lang.Object ref = deadLetterQueueTopic_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deadLetterQueueTopic_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string dead_letter_queue_topic = 13 [json_name = "deadLetterQueueTopic"];</code>
* @param value The deadLetterQueueTopic to set.
* @return This builder for chaining.
*/
public Builder setDeadLetterQueueTopic(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
deadLetterQueueTopic_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>string dead_letter_queue_topic = 13 [json_name = "deadLetterQueueTopic"];</code>
* @return This builder for chaining.
*/
public Builder clearDeadLetterQueueTopic() {
deadLetterQueueTopic_ = getDefaultInstance().getDeadLetterQueueTopic();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
}
/**
* <code>string dead_letter_queue_topic = 13 [json_name = "deadLetterQueueTopic"];</code>
* @param value The bytes for deadLetterQueueTopic to set.
* @return This builder for chaining.
*/
public Builder setDeadLetterQueueTopicBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
deadLetterQueueTopic_ = value;
bitField0_ |= 0x00001000;
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.graph.v1.KafkaSource)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.KafkaSource)
private static final ai.chalk.protos.chalk.graph.v1.KafkaSource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.KafkaSource();
}
public static ai.chalk.protos.chalk.graph.v1.KafkaSource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<KafkaSource>
PARSER = new com.google.protobuf.AbstractParser<KafkaSource>() {
@java.lang.Override
public KafkaSource 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<KafkaSource> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<KafkaSource> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.KafkaSource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/KafkaSourceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface KafkaSourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.KafkaSource)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @return A list containing the bootstrapServers.
*/
java.util.List<java.lang.String>
getBootstrapServersList();
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @return The count of bootstrapServers.
*/
int getBootstrapServersCount();
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @param index The index of the element to return.
* @return The bootstrapServers at the given index.
*/
java.lang.String getBootstrapServers(int index);
/**
* <code>repeated string bootstrap_servers = 2 [json_name = "bootstrapServers"];</code>
* @param index The index of the value to return.
* @return The bytes of the bootstrapServers at the given index.
*/
com.google.protobuf.ByteString
getBootstrapServersBytes(int index);
/**
* <code>string topic = 3 [json_name = "topic"];</code>
* @return The topic.
*/
java.lang.String getTopic();
/**
* <code>string topic = 3 [json_name = "topic"];</code>
* @return The bytes for topic.
*/
com.google.protobuf.ByteString
getTopicBytes();
/**
* <code>string ssl_keystore_location = 4 [json_name = "sslKeystoreLocation"];</code>
* @return The sslKeystoreLocation.
*/
java.lang.String getSslKeystoreLocation();
/**
* <code>string ssl_keystore_location = 4 [json_name = "sslKeystoreLocation"];</code>
* @return The bytes for sslKeystoreLocation.
*/
com.google.protobuf.ByteString
getSslKeystoreLocationBytes();
/**
* <code>string ssl_ca_file = 5 [json_name = "sslCaFile"];</code>
* @return The sslCaFile.
*/
java.lang.String getSslCaFile();
/**
* <code>string ssl_ca_file = 5 [json_name = "sslCaFile"];</code>
* @return The bytes for sslCaFile.
*/
com.google.protobuf.ByteString
getSslCaFileBytes();
/**
* <code>string client_id_prefix = 6 [json_name = "clientIdPrefix"];</code>
* @return The clientIdPrefix.
*/
java.lang.String getClientIdPrefix();
/**
* <code>string client_id_prefix = 6 [json_name = "clientIdPrefix"];</code>
* @return The bytes for clientIdPrefix.
*/
com.google.protobuf.ByteString
getClientIdPrefixBytes();
/**
* <code>string group_id_prefix = 7 [json_name = "groupIdPrefix"];</code>
* @return The groupIdPrefix.
*/
java.lang.String getGroupIdPrefix();
/**
* <code>string group_id_prefix = 7 [json_name = "groupIdPrefix"];</code>
* @return The bytes for groupIdPrefix.
*/
com.google.protobuf.ByteString
getGroupIdPrefixBytes();
/**
* <code>string security_protocol = 8 [json_name = "securityProtocol"];</code>
* @return The securityProtocol.
*/
java.lang.String getSecurityProtocol();
/**
* <code>string security_protocol = 8 [json_name = "securityProtocol"];</code>
* @return The bytes for securityProtocol.
*/
com.google.protobuf.ByteString
getSecurityProtocolBytes();
/**
* <code>string sasl_mechanism = 9 [json_name = "saslMechanism"];</code>
* @return The saslMechanism.
*/
java.lang.String getSaslMechanism();
/**
* <code>string sasl_mechanism = 9 [json_name = "saslMechanism"];</code>
* @return The bytes for saslMechanism.
*/
com.google.protobuf.ByteString
getSaslMechanismBytes();
/**
* <code>string sasl_username = 10 [json_name = "saslUsername"];</code>
* @return The saslUsername.
*/
java.lang.String getSaslUsername();
/**
* <code>string sasl_username = 10 [json_name = "saslUsername"];</code>
* @return The bytes for saslUsername.
*/
com.google.protobuf.ByteString
getSaslUsernameBytes();
/**
* <code>string sasl_password = 11 [json_name = "saslPassword"];</code>
* @return The saslPassword.
*/
java.lang.String getSaslPassword();
/**
* <code>string sasl_password = 11 [json_name = "saslPassword"];</code>
* @return The bytes for saslPassword.
*/
com.google.protobuf.ByteString
getSaslPasswordBytes();
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
* @return Whether the lateArrivalDeadline field is set.
*/
boolean hasLateArrivalDeadline();
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
* @return The lateArrivalDeadline.
*/
com.google.protobuf.Duration getLateArrivalDeadline();
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 12 [json_name = "lateArrivalDeadline"];</code>
*/
com.google.protobuf.DurationOrBuilder getLateArrivalDeadlineOrBuilder();
/**
* <code>string dead_letter_queue_topic = 13 [json_name = "deadLetterQueueTopic"];</code>
* @return The deadLetterQueueTopic.
*/
java.lang.String getDeadLetterQueueTopic();
/**
* <code>string dead_letter_queue_topic = 13 [json_name = "deadLetterQueueTopic"];</code>
* @return The bytes for deadLetterQueueTopic.
*/
com.google.protobuf.ByteString
getDeadLetterQueueTopicBytes();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/KinesisSource.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.KinesisSource}
*/
public final class KinesisSource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.KinesisSource)
KinesisSourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use KinesisSource.newBuilder() to construct.
private KinesisSource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private KinesisSource() {
name_ = "";
streamName_ = "";
streamArn_ = "";
regionName_ = "";
deadLetterQueueStreamName_ = "";
awsAccessKeyId_ = "";
awsSecretAccessKey_ = "";
awsSessionToken_ = "";
endpointUrl_ = "";
consumerRoleArn_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new KinesisSource();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_KinesisSource_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_KinesisSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.KinesisSource.class, ai.chalk.protos.chalk.graph.v1.KinesisSource.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STREAM_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object streamName_ = "";
/**
* <code>string stream_name = 2 [json_name = "streamName"];</code>
* @return The streamName.
*/
@java.lang.Override
public java.lang.String getStreamName() {
java.lang.Object ref = streamName_;
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();
streamName_ = s;
return s;
}
}
/**
* <code>string stream_name = 2 [json_name = "streamName"];</code>
* @return The bytes for streamName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStreamNameBytes() {
java.lang.Object ref = streamName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
streamName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STREAM_ARN_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object streamArn_ = "";
/**
* <code>string stream_arn = 3 [json_name = "streamArn"];</code>
* @return The streamArn.
*/
@java.lang.Override
public java.lang.String getStreamArn() {
java.lang.Object ref = streamArn_;
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();
streamArn_ = s;
return s;
}
}
/**
* <code>string stream_arn = 3 [json_name = "streamArn"];</code>
* @return The bytes for streamArn.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStreamArnBytes() {
java.lang.Object ref = streamArn_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
streamArn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REGION_NAME_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object regionName_ = "";
/**
* <code>string region_name = 4 [json_name = "regionName"];</code>
* @return The regionName.
*/
@java.lang.Override
public java.lang.String getRegionName() {
java.lang.Object ref = regionName_;
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();
regionName_ = s;
return s;
}
}
/**
* <code>string region_name = 4 [json_name = "regionName"];</code>
* @return The bytes for regionName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRegionNameBytes() {
java.lang.Object ref = regionName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
regionName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LATE_ARRIVAL_DEADLINE_FIELD_NUMBER = 5;
private com.google.protobuf.Duration lateArrivalDeadline_;
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
* @return Whether the lateArrivalDeadline field is set.
*/
@java.lang.Override
public boolean hasLateArrivalDeadline() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
* @return The lateArrivalDeadline.
*/
@java.lang.Override
public com.google.protobuf.Duration getLateArrivalDeadline() {
return lateArrivalDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lateArrivalDeadline_;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
*/
@java.lang.Override
public com.google.protobuf.DurationOrBuilder getLateArrivalDeadlineOrBuilder() {
return lateArrivalDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lateArrivalDeadline_;
}
public static final int DEAD_LETTER_QUEUE_STREAM_NAME_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object deadLetterQueueStreamName_ = "";
/**
* <code>string dead_letter_queue_stream_name = 6 [json_name = "deadLetterQueueStreamName"];</code>
* @return The deadLetterQueueStreamName.
*/
@java.lang.Override
public java.lang.String getDeadLetterQueueStreamName() {
java.lang.Object ref = deadLetterQueueStreamName_;
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();
deadLetterQueueStreamName_ = s;
return s;
}
}
/**
* <code>string dead_letter_queue_stream_name = 6 [json_name = "deadLetterQueueStreamName"];</code>
* @return The bytes for deadLetterQueueStreamName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDeadLetterQueueStreamNameBytes() {
java.lang.Object ref = deadLetterQueueStreamName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deadLetterQueueStreamName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AWS_ACCESS_KEY_ID_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object awsAccessKeyId_ = "";
/**
* <code>string aws_access_key_id = 7 [json_name = "awsAccessKeyId"];</code>
* @return The awsAccessKeyId.
*/
@java.lang.Override
public java.lang.String getAwsAccessKeyId() {
java.lang.Object ref = awsAccessKeyId_;
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();
awsAccessKeyId_ = s;
return s;
}
}
/**
* <code>string aws_access_key_id = 7 [json_name = "awsAccessKeyId"];</code>
* @return The bytes for awsAccessKeyId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAwsAccessKeyIdBytes() {
java.lang.Object ref = awsAccessKeyId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
awsAccessKeyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AWS_SECRET_ACCESS_KEY_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object awsSecretAccessKey_ = "";
/**
* <code>string aws_secret_access_key = 8 [json_name = "awsSecretAccessKey"];</code>
* @return The awsSecretAccessKey.
*/
@java.lang.Override
public java.lang.String getAwsSecretAccessKey() {
java.lang.Object ref = awsSecretAccessKey_;
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();
awsSecretAccessKey_ = s;
return s;
}
}
/**
* <code>string aws_secret_access_key = 8 [json_name = "awsSecretAccessKey"];</code>
* @return The bytes for awsSecretAccessKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAwsSecretAccessKeyBytes() {
java.lang.Object ref = awsSecretAccessKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
awsSecretAccessKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AWS_SESSION_TOKEN_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object awsSessionToken_ = "";
/**
* <code>string aws_session_token = 9 [json_name = "awsSessionToken"];</code>
* @return The awsSessionToken.
*/
@java.lang.Override
public java.lang.String getAwsSessionToken() {
java.lang.Object ref = awsSessionToken_;
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();
awsSessionToken_ = s;
return s;
}
}
/**
* <code>string aws_session_token = 9 [json_name = "awsSessionToken"];</code>
* @return The bytes for awsSessionToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAwsSessionTokenBytes() {
java.lang.Object ref = awsSessionToken_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
awsSessionToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDPOINT_URL_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private volatile java.lang.Object endpointUrl_ = "";
/**
* <code>string endpoint_url = 10 [json_name = "endpointUrl"];</code>
* @return The endpointUrl.
*/
@java.lang.Override
public java.lang.String getEndpointUrl() {
java.lang.Object ref = endpointUrl_;
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();
endpointUrl_ = s;
return s;
}
}
/**
* <code>string endpoint_url = 10 [json_name = "endpointUrl"];</code>
* @return The bytes for endpointUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEndpointUrlBytes() {
java.lang.Object ref = endpointUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endpointUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONSUMER_ROLE_ARN_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private volatile java.lang.Object consumerRoleArn_ = "";
/**
* <code>string consumer_role_arn = 11 [json_name = "consumerRoleArn"];</code>
* @return The consumerRoleArn.
*/
@java.lang.Override
public java.lang.String getConsumerRoleArn() {
java.lang.Object ref = consumerRoleArn_;
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();
consumerRoleArn_ = s;
return s;
}
}
/**
* <code>string consumer_role_arn = 11 [json_name = "consumerRoleArn"];</code>
* @return The bytes for consumerRoleArn.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getConsumerRoleArnBytes() {
java.lang.Object ref = consumerRoleArn_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
consumerRoleArn_ = 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_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, streamName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamArn_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, streamArn_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, regionName_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(5, getLateArrivalDeadline());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterQueueStreamName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, deadLetterQueueStreamName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsAccessKeyId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, awsAccessKeyId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsSecretAccessKey_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, awsSecretAccessKey_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsSessionToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, awsSessionToken_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpointUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, endpointUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(consumerRoleArn_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, consumerRoleArn_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, streamName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamArn_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, streamArn_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, regionName_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getLateArrivalDeadline());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterQueueStreamName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, deadLetterQueueStreamName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsAccessKeyId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, awsAccessKeyId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsSecretAccessKey_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, awsSecretAccessKey_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsSessionToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, awsSessionToken_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpointUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, endpointUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(consumerRoleArn_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, consumerRoleArn_);
}
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.graph.v1.KinesisSource)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.KinesisSource other = (ai.chalk.protos.chalk.graph.v1.KinesisSource) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getStreamName()
.equals(other.getStreamName())) return false;
if (!getStreamArn()
.equals(other.getStreamArn())) return false;
if (!getRegionName()
.equals(other.getRegionName())) return false;
if (hasLateArrivalDeadline() != other.hasLateArrivalDeadline()) return false;
if (hasLateArrivalDeadline()) {
if (!getLateArrivalDeadline()
.equals(other.getLateArrivalDeadline())) return false;
}
if (!getDeadLetterQueueStreamName()
.equals(other.getDeadLetterQueueStreamName())) return false;
if (!getAwsAccessKeyId()
.equals(other.getAwsAccessKeyId())) return false;
if (!getAwsSecretAccessKey()
.equals(other.getAwsSecretAccessKey())) return false;
if (!getAwsSessionToken()
.equals(other.getAwsSessionToken())) return false;
if (!getEndpointUrl()
.equals(other.getEndpointUrl())) return false;
if (!getConsumerRoleArn()
.equals(other.getConsumerRoleArn())) 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 = (37 * hash) + STREAM_NAME_FIELD_NUMBER;
hash = (53 * hash) + getStreamName().hashCode();
hash = (37 * hash) + STREAM_ARN_FIELD_NUMBER;
hash = (53 * hash) + getStreamArn().hashCode();
hash = (37 * hash) + REGION_NAME_FIELD_NUMBER;
hash = (53 * hash) + getRegionName().hashCode();
if (hasLateArrivalDeadline()) {
hash = (37 * hash) + LATE_ARRIVAL_DEADLINE_FIELD_NUMBER;
hash = (53 * hash) + getLateArrivalDeadline().hashCode();
}
hash = (37 * hash) + DEAD_LETTER_QUEUE_STREAM_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDeadLetterQueueStreamName().hashCode();
hash = (37 * hash) + AWS_ACCESS_KEY_ID_FIELD_NUMBER;
hash = (53 * hash) + getAwsAccessKeyId().hashCode();
hash = (37 * hash) + AWS_SECRET_ACCESS_KEY_FIELD_NUMBER;
hash = (53 * hash) + getAwsSecretAccessKey().hashCode();
hash = (37 * hash) + AWS_SESSION_TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getAwsSessionToken().hashCode();
hash = (37 * hash) + ENDPOINT_URL_FIELD_NUMBER;
hash = (53 * hash) + getEndpointUrl().hashCode();
hash = (37 * hash) + CONSUMER_ROLE_ARN_FIELD_NUMBER;
hash = (53 * hash) + getConsumerRoleArn().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.KinesisSource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.KinesisSource 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.graph.v1.KinesisSource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.KinesisSource 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.graph.v1.KinesisSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.KinesisSource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.KinesisSource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.KinesisSource 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.graph.v1.KinesisSource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.KinesisSource 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.graph.v1.KinesisSource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.KinesisSource 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.graph.v1.KinesisSource 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.graph.v1.KinesisSource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.KinesisSource)
ai.chalk.protos.chalk.graph.v1.KinesisSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_KinesisSource_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_KinesisSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.KinesisSource.class, ai.chalk.protos.chalk.graph.v1.KinesisSource.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.KinesisSource.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLateArrivalDeadlineFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
streamName_ = "";
streamArn_ = "";
regionName_ = "";
lateArrivalDeadline_ = null;
if (lateArrivalDeadlineBuilder_ != null) {
lateArrivalDeadlineBuilder_.dispose();
lateArrivalDeadlineBuilder_ = null;
}
deadLetterQueueStreamName_ = "";
awsAccessKeyId_ = "";
awsSecretAccessKey_ = "";
awsSessionToken_ = "";
endpointUrl_ = "";
consumerRoleArn_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_KinesisSource_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.KinesisSource getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.KinesisSource.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.KinesisSource build() {
ai.chalk.protos.chalk.graph.v1.KinesisSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.KinesisSource buildPartial() {
ai.chalk.protos.chalk.graph.v1.KinesisSource result = new ai.chalk.protos.chalk.graph.v1.KinesisSource(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.KinesisSource result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.streamName_ = streamName_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.streamArn_ = streamArn_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.regionName_ = regionName_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.lateArrivalDeadline_ = lateArrivalDeadlineBuilder_ == null
? lateArrivalDeadline_
: lateArrivalDeadlineBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.deadLetterQueueStreamName_ = deadLetterQueueStreamName_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.awsAccessKeyId_ = awsAccessKeyId_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.awsSecretAccessKey_ = awsSecretAccessKey_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.awsSessionToken_ = awsSessionToken_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.endpointUrl_ = endpointUrl_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.consumerRoleArn_ = consumerRoleArn_;
}
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.graph.v1.KinesisSource) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.KinesisSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.KinesisSource other) {
if (other == ai.chalk.protos.chalk.graph.v1.KinesisSource.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getStreamName().isEmpty()) {
streamName_ = other.streamName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getStreamArn().isEmpty()) {
streamArn_ = other.streamArn_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getRegionName().isEmpty()) {
regionName_ = other.regionName_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasLateArrivalDeadline()) {
mergeLateArrivalDeadline(other.getLateArrivalDeadline());
}
if (!other.getDeadLetterQueueStreamName().isEmpty()) {
deadLetterQueueStreamName_ = other.deadLetterQueueStreamName_;
bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getAwsAccessKeyId().isEmpty()) {
awsAccessKeyId_ = other.awsAccessKeyId_;
bitField0_ |= 0x00000040;
onChanged();
}
if (!other.getAwsSecretAccessKey().isEmpty()) {
awsSecretAccessKey_ = other.awsSecretAccessKey_;
bitField0_ |= 0x00000080;
onChanged();
}
if (!other.getAwsSessionToken().isEmpty()) {
awsSessionToken_ = other.awsSessionToken_;
bitField0_ |= 0x00000100;
onChanged();
}
if (!other.getEndpointUrl().isEmpty()) {
endpointUrl_ = other.endpointUrl_;
bitField0_ |= 0x00000200;
onChanged();
}
if (!other.getConsumerRoleArn().isEmpty()) {
consumerRoleArn_ = other.consumerRoleArn_;
bitField0_ |= 0x00000400;
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
case 18: {
streamName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
streamArn_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
regionName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
input.readMessage(
getLateArrivalDeadlineFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
deadLetterQueueStreamName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
awsAccessKeyId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
awsSecretAccessKey_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
awsSessionToken_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
endpointUrl_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 82
case 90: {
consumerRoleArn_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 90
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object streamName_ = "";
/**
* <code>string stream_name = 2 [json_name = "streamName"];</code>
* @return The streamName.
*/
public java.lang.String getStreamName() {
java.lang.Object ref = streamName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
streamName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string stream_name = 2 [json_name = "streamName"];</code>
* @return The bytes for streamName.
*/
public com.google.protobuf.ByteString
getStreamNameBytes() {
java.lang.Object ref = streamName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
streamName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string stream_name = 2 [json_name = "streamName"];</code>
* @param value The streamName to set.
* @return This builder for chaining.
*/
public Builder setStreamName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
streamName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>string stream_name = 2 [json_name = "streamName"];</code>
* @return This builder for chaining.
*/
public Builder clearStreamName() {
streamName_ = getDefaultInstance().getStreamName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>string stream_name = 2 [json_name = "streamName"];</code>
* @param value The bytes for streamName to set.
* @return This builder for chaining.
*/
public Builder setStreamNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
streamName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object streamArn_ = "";
/**
* <code>string stream_arn = 3 [json_name = "streamArn"];</code>
* @return The streamArn.
*/
public java.lang.String getStreamArn() {
java.lang.Object ref = streamArn_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
streamArn_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string stream_arn = 3 [json_name = "streamArn"];</code>
* @return The bytes for streamArn.
*/
public com.google.protobuf.ByteString
getStreamArnBytes() {
java.lang.Object ref = streamArn_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
streamArn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string stream_arn = 3 [json_name = "streamArn"];</code>
* @param value The streamArn to set.
* @return This builder for chaining.
*/
public Builder setStreamArn(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
streamArn_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>string stream_arn = 3 [json_name = "streamArn"];</code>
* @return This builder for chaining.
*/
public Builder clearStreamArn() {
streamArn_ = getDefaultInstance().getStreamArn();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>string stream_arn = 3 [json_name = "streamArn"];</code>
* @param value The bytes for streamArn to set.
* @return This builder for chaining.
*/
public Builder setStreamArnBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
streamArn_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object regionName_ = "";
/**
* <code>string region_name = 4 [json_name = "regionName"];</code>
* @return The regionName.
*/
public java.lang.String getRegionName() {
java.lang.Object ref = regionName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
regionName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string region_name = 4 [json_name = "regionName"];</code>
* @return The bytes for regionName.
*/
public com.google.protobuf.ByteString
getRegionNameBytes() {
java.lang.Object ref = regionName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
regionName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string region_name = 4 [json_name = "regionName"];</code>
* @param value The regionName to set.
* @return This builder for chaining.
*/
public Builder setRegionName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
regionName_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>string region_name = 4 [json_name = "regionName"];</code>
* @return This builder for chaining.
*/
public Builder clearRegionName() {
regionName_ = getDefaultInstance().getRegionName();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>string region_name = 4 [json_name = "regionName"];</code>
* @param value The bytes for regionName to set.
* @return This builder for chaining.
*/
public Builder setRegionNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
regionName_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private com.google.protobuf.Duration lateArrivalDeadline_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> lateArrivalDeadlineBuilder_;
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
* @return Whether the lateArrivalDeadline field is set.
*/
public boolean hasLateArrivalDeadline() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
* @return The lateArrivalDeadline.
*/
public com.google.protobuf.Duration getLateArrivalDeadline() {
if (lateArrivalDeadlineBuilder_ == null) {
return lateArrivalDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lateArrivalDeadline_;
} else {
return lateArrivalDeadlineBuilder_.getMessage();
}
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
*/
public Builder setLateArrivalDeadline(com.google.protobuf.Duration value) {
if (lateArrivalDeadlineBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lateArrivalDeadline_ = value;
} else {
lateArrivalDeadlineBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
*/
public Builder setLateArrivalDeadline(
com.google.protobuf.Duration.Builder builderForValue) {
if (lateArrivalDeadlineBuilder_ == null) {
lateArrivalDeadline_ = builderForValue.build();
} else {
lateArrivalDeadlineBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
*/
public Builder mergeLateArrivalDeadline(com.google.protobuf.Duration value) {
if (lateArrivalDeadlineBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
lateArrivalDeadline_ != null &&
lateArrivalDeadline_ != com.google.protobuf.Duration.getDefaultInstance()) {
getLateArrivalDeadlineBuilder().mergeFrom(value);
} else {
lateArrivalDeadline_ = value;
}
} else {
lateArrivalDeadlineBuilder_.mergeFrom(value);
}
if (lateArrivalDeadline_ != null) {
bitField0_ |= 0x00000010;
onChanged();
}
return this;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
*/
public Builder clearLateArrivalDeadline() {
bitField0_ = (bitField0_ & ~0x00000010);
lateArrivalDeadline_ = null;
if (lateArrivalDeadlineBuilder_ != null) {
lateArrivalDeadlineBuilder_.dispose();
lateArrivalDeadlineBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
*/
public com.google.protobuf.Duration.Builder getLateArrivalDeadlineBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getLateArrivalDeadlineFieldBuilder().getBuilder();
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
*/
public com.google.protobuf.DurationOrBuilder getLateArrivalDeadlineOrBuilder() {
if (lateArrivalDeadlineBuilder_ != null) {
return lateArrivalDeadlineBuilder_.getMessageOrBuilder();
} else {
return lateArrivalDeadline_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : lateArrivalDeadline_;
}
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getLateArrivalDeadlineFieldBuilder() {
if (lateArrivalDeadlineBuilder_ == null) {
lateArrivalDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getLateArrivalDeadline(),
getParentForChildren(),
isClean());
lateArrivalDeadline_ = null;
}
return lateArrivalDeadlineBuilder_;
}
private java.lang.Object deadLetterQueueStreamName_ = "";
/**
* <code>string dead_letter_queue_stream_name = 6 [json_name = "deadLetterQueueStreamName"];</code>
* @return The deadLetterQueueStreamName.
*/
public java.lang.String getDeadLetterQueueStreamName() {
java.lang.Object ref = deadLetterQueueStreamName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
deadLetterQueueStreamName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string dead_letter_queue_stream_name = 6 [json_name = "deadLetterQueueStreamName"];</code>
* @return The bytes for deadLetterQueueStreamName.
*/
public com.google.protobuf.ByteString
getDeadLetterQueueStreamNameBytes() {
java.lang.Object ref = deadLetterQueueStreamName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deadLetterQueueStreamName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string dead_letter_queue_stream_name = 6 [json_name = "deadLetterQueueStreamName"];</code>
* @param value The deadLetterQueueStreamName to set.
* @return This builder for chaining.
*/
public Builder setDeadLetterQueueStreamName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
deadLetterQueueStreamName_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>string dead_letter_queue_stream_name = 6 [json_name = "deadLetterQueueStreamName"];</code>
* @return This builder for chaining.
*/
public Builder clearDeadLetterQueueStreamName() {
deadLetterQueueStreamName_ = getDefaultInstance().getDeadLetterQueueStreamName();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <code>string dead_letter_queue_stream_name = 6 [json_name = "deadLetterQueueStreamName"];</code>
* @param value The bytes for deadLetterQueueStreamName to set.
* @return This builder for chaining.
*/
public Builder setDeadLetterQueueStreamNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
deadLetterQueueStreamName_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object awsAccessKeyId_ = "";
/**
* <code>string aws_access_key_id = 7 [json_name = "awsAccessKeyId"];</code>
* @return The awsAccessKeyId.
*/
public java.lang.String getAwsAccessKeyId() {
java.lang.Object ref = awsAccessKeyId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
awsAccessKeyId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string aws_access_key_id = 7 [json_name = "awsAccessKeyId"];</code>
* @return The bytes for awsAccessKeyId.
*/
public com.google.protobuf.ByteString
getAwsAccessKeyIdBytes() {
java.lang.Object ref = awsAccessKeyId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
awsAccessKeyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string aws_access_key_id = 7 [json_name = "awsAccessKeyId"];</code>
* @param value The awsAccessKeyId to set.
* @return This builder for chaining.
*/
public Builder setAwsAccessKeyId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
awsAccessKeyId_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>string aws_access_key_id = 7 [json_name = "awsAccessKeyId"];</code>
* @return This builder for chaining.
*/
public Builder clearAwsAccessKeyId() {
awsAccessKeyId_ = getDefaultInstance().getAwsAccessKeyId();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* <code>string aws_access_key_id = 7 [json_name = "awsAccessKeyId"];</code>
* @param value The bytes for awsAccessKeyId to set.
* @return This builder for chaining.
*/
public Builder setAwsAccessKeyIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
awsAccessKeyId_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object awsSecretAccessKey_ = "";
/**
* <code>string aws_secret_access_key = 8 [json_name = "awsSecretAccessKey"];</code>
* @return The awsSecretAccessKey.
*/
public java.lang.String getAwsSecretAccessKey() {
java.lang.Object ref = awsSecretAccessKey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
awsSecretAccessKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string aws_secret_access_key = 8 [json_name = "awsSecretAccessKey"];</code>
* @return The bytes for awsSecretAccessKey.
*/
public com.google.protobuf.ByteString
getAwsSecretAccessKeyBytes() {
java.lang.Object ref = awsSecretAccessKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
awsSecretAccessKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string aws_secret_access_key = 8 [json_name = "awsSecretAccessKey"];</code>
* @param value The awsSecretAccessKey to set.
* @return This builder for chaining.
*/
public Builder setAwsSecretAccessKey(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
awsSecretAccessKey_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>string aws_secret_access_key = 8 [json_name = "awsSecretAccessKey"];</code>
* @return This builder for chaining.
*/
public Builder clearAwsSecretAccessKey() {
awsSecretAccessKey_ = getDefaultInstance().getAwsSecretAccessKey();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* <code>string aws_secret_access_key = 8 [json_name = "awsSecretAccessKey"];</code>
* @param value The bytes for awsSecretAccessKey to set.
* @return This builder for chaining.
*/
public Builder setAwsSecretAccessKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
awsSecretAccessKey_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object awsSessionToken_ = "";
/**
* <code>string aws_session_token = 9 [json_name = "awsSessionToken"];</code>
* @return The awsSessionToken.
*/
public java.lang.String getAwsSessionToken() {
java.lang.Object ref = awsSessionToken_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
awsSessionToken_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string aws_session_token = 9 [json_name = "awsSessionToken"];</code>
* @return The bytes for awsSessionToken.
*/
public com.google.protobuf.ByteString
getAwsSessionTokenBytes() {
java.lang.Object ref = awsSessionToken_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
awsSessionToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string aws_session_token = 9 [json_name = "awsSessionToken"];</code>
* @param value The awsSessionToken to set.
* @return This builder for chaining.
*/
public Builder setAwsSessionToken(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
awsSessionToken_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>string aws_session_token = 9 [json_name = "awsSessionToken"];</code>
* @return This builder for chaining.
*/
public Builder clearAwsSessionToken() {
awsSessionToken_ = getDefaultInstance().getAwsSessionToken();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* <code>string aws_session_token = 9 [json_name = "awsSessionToken"];</code>
* @param value The bytes for awsSessionToken to set.
* @return This builder for chaining.
*/
public Builder setAwsSessionTokenBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
awsSessionToken_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private java.lang.Object endpointUrl_ = "";
/**
* <code>string endpoint_url = 10 [json_name = "endpointUrl"];</code>
* @return The endpointUrl.
*/
public java.lang.String getEndpointUrl() {
java.lang.Object ref = endpointUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endpointUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string endpoint_url = 10 [json_name = "endpointUrl"];</code>
* @return The bytes for endpointUrl.
*/
public com.google.protobuf.ByteString
getEndpointUrlBytes() {
java.lang.Object ref = endpointUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endpointUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string endpoint_url = 10 [json_name = "endpointUrl"];</code>
* @param value The endpointUrl to set.
* @return This builder for chaining.
*/
public Builder setEndpointUrl(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
endpointUrl_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>string endpoint_url = 10 [json_name = "endpointUrl"];</code>
* @return This builder for chaining.
*/
public Builder clearEndpointUrl() {
endpointUrl_ = getDefaultInstance().getEndpointUrl();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* <code>string endpoint_url = 10 [json_name = "endpointUrl"];</code>
* @param value The bytes for endpointUrl to set.
* @return This builder for chaining.
*/
public Builder setEndpointUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
endpointUrl_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
private java.lang.Object consumerRoleArn_ = "";
/**
* <code>string consumer_role_arn = 11 [json_name = "consumerRoleArn"];</code>
* @return The consumerRoleArn.
*/
public java.lang.String getConsumerRoleArn() {
java.lang.Object ref = consumerRoleArn_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
consumerRoleArn_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string consumer_role_arn = 11 [json_name = "consumerRoleArn"];</code>
* @return The bytes for consumerRoleArn.
*/
public com.google.protobuf.ByteString
getConsumerRoleArnBytes() {
java.lang.Object ref = consumerRoleArn_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
consumerRoleArn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string consumer_role_arn = 11 [json_name = "consumerRoleArn"];</code>
* @param value The consumerRoleArn to set.
* @return This builder for chaining.
*/
public Builder setConsumerRoleArn(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
consumerRoleArn_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>string consumer_role_arn = 11 [json_name = "consumerRoleArn"];</code>
* @return This builder for chaining.
*/
public Builder clearConsumerRoleArn() {
consumerRoleArn_ = getDefaultInstance().getConsumerRoleArn();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
* <code>string consumer_role_arn = 11 [json_name = "consumerRoleArn"];</code>
* @param value The bytes for consumerRoleArn to set.
* @return This builder for chaining.
*/
public Builder setConsumerRoleArnBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
consumerRoleArn_ = 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.graph.v1.KinesisSource)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.KinesisSource)
private static final ai.chalk.protos.chalk.graph.v1.KinesisSource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.KinesisSource();
}
public static ai.chalk.protos.chalk.graph.v1.KinesisSource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<KinesisSource>
PARSER = new com.google.protobuf.AbstractParser<KinesisSource>() {
@java.lang.Override
public KinesisSource 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<KinesisSource> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<KinesisSource> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.KinesisSource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/KinesisSourceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface KinesisSourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.KinesisSource)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>string stream_name = 2 [json_name = "streamName"];</code>
* @return The streamName.
*/
java.lang.String getStreamName();
/**
* <code>string stream_name = 2 [json_name = "streamName"];</code>
* @return The bytes for streamName.
*/
com.google.protobuf.ByteString
getStreamNameBytes();
/**
* <code>string stream_arn = 3 [json_name = "streamArn"];</code>
* @return The streamArn.
*/
java.lang.String getStreamArn();
/**
* <code>string stream_arn = 3 [json_name = "streamArn"];</code>
* @return The bytes for streamArn.
*/
com.google.protobuf.ByteString
getStreamArnBytes();
/**
* <code>string region_name = 4 [json_name = "regionName"];</code>
* @return The regionName.
*/
java.lang.String getRegionName();
/**
* <code>string region_name = 4 [json_name = "regionName"];</code>
* @return The bytes for regionName.
*/
com.google.protobuf.ByteString
getRegionNameBytes();
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
* @return Whether the lateArrivalDeadline field is set.
*/
boolean hasLateArrivalDeadline();
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
* @return The lateArrivalDeadline.
*/
com.google.protobuf.Duration getLateArrivalDeadline();
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 5 [json_name = "lateArrivalDeadline"];</code>
*/
com.google.protobuf.DurationOrBuilder getLateArrivalDeadlineOrBuilder();
/**
* <code>string dead_letter_queue_stream_name = 6 [json_name = "deadLetterQueueStreamName"];</code>
* @return The deadLetterQueueStreamName.
*/
java.lang.String getDeadLetterQueueStreamName();
/**
* <code>string dead_letter_queue_stream_name = 6 [json_name = "deadLetterQueueStreamName"];</code>
* @return The bytes for deadLetterQueueStreamName.
*/
com.google.protobuf.ByteString
getDeadLetterQueueStreamNameBytes();
/**
* <code>string aws_access_key_id = 7 [json_name = "awsAccessKeyId"];</code>
* @return The awsAccessKeyId.
*/
java.lang.String getAwsAccessKeyId();
/**
* <code>string aws_access_key_id = 7 [json_name = "awsAccessKeyId"];</code>
* @return The bytes for awsAccessKeyId.
*/
com.google.protobuf.ByteString
getAwsAccessKeyIdBytes();
/**
* <code>string aws_secret_access_key = 8 [json_name = "awsSecretAccessKey"];</code>
* @return The awsSecretAccessKey.
*/
java.lang.String getAwsSecretAccessKey();
/**
* <code>string aws_secret_access_key = 8 [json_name = "awsSecretAccessKey"];</code>
* @return The bytes for awsSecretAccessKey.
*/
com.google.protobuf.ByteString
getAwsSecretAccessKeyBytes();
/**
* <code>string aws_session_token = 9 [json_name = "awsSessionToken"];</code>
* @return The awsSessionToken.
*/
java.lang.String getAwsSessionToken();
/**
* <code>string aws_session_token = 9 [json_name = "awsSessionToken"];</code>
* @return The bytes for awsSessionToken.
*/
com.google.protobuf.ByteString
getAwsSessionTokenBytes();
/**
* <code>string endpoint_url = 10 [json_name = "endpointUrl"];</code>
* @return The endpointUrl.
*/
java.lang.String getEndpointUrl();
/**
* <code>string endpoint_url = 10 [json_name = "endpointUrl"];</code>
* @return The bytes for endpointUrl.
*/
com.google.protobuf.ByteString
getEndpointUrlBytes();
/**
* <code>string consumer_role_arn = 11 [json_name = "consumerRoleArn"];</code>
* @return The consumerRoleArn.
*/
java.lang.String getConsumerRoleArn();
/**
* <code>string consumer_role_arn = 11 [json_name = "consumerRoleArn"];</code>
* @return The bytes for consumerRoleArn.
*/
com.google.protobuf.ByteString
getConsumerRoleArnBytes();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/MySQLSource.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.MySQLSource}
*/
public final class MySQLSource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.MySQLSource)
MySQLSourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use MySQLSource.newBuilder() to construct.
private MySQLSource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private MySQLSource() {
name_ = "";
host_ = "";
port_ = "";
db_ = "";
user_ = "";
password_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MySQLSource();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_MySQLSource_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 7:
return internalGetEngineArgs();
case 8:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_MySQLSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.MySQLSource.class, ai.chalk.protos.chalk.graph.v1.MySQLSource.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;
}
}
public static final int HOST_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object host_ = "";
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The host.
*/
@java.lang.Override
public java.lang.String getHost() {
java.lang.Object ref = host_;
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();
host_ = s;
return s;
}
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The bytes for host.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PORT_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object port_ = "";
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The port.
*/
@java.lang.Override
public java.lang.String getPort() {
java.lang.Object ref = port_;
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();
port_ = s;
return s;
}
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The bytes for port.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPortBytes() {
java.lang.Object ref = port_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
port_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object db_ = "";
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The db.
*/
@java.lang.Override
public java.lang.String getDb() {
java.lang.Object ref = db_;
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();
db_ = s;
return s;
}
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The bytes for db.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDbBytes() {
java.lang.Object ref = db_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
db_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USER_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object user_ = "";
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The user.
*/
@java.lang.Override
public java.lang.String getUser() {
java.lang.Object ref = user_;
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();
user_ = s;
return s;
}
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The bytes for user.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PASSWORD_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object password_ = "";
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The password.
*/
@java.lang.Override
public java.lang.String getPassword() {
java.lang.Object ref = password_;
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();
password_ = s;
return s;
}
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The bytes for password.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPasswordBytes() {
java.lang.Object ref = password_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
password_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENGINE_ARGS_FIELD_NUMBER = 7;
private static final class EngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_MySQLSource_EngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> engineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
EngineArgsDefaultEntryHolder.defaultEntry);
}
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int ASYNC_ENGINE_ARGS_FIELD_NUMBER = 8;
private static final class AsyncEngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_MySQLSource_AsyncEngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> asyncEngineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, host_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(port_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, port_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(db_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, db_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, user_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, password_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetEngineArgs(),
EngineArgsDefaultEntryHolder.defaultEntry,
7);
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetAsyncEngineArgs(),
AsyncEngineArgsDefaultEntryHolder.defaultEntry,
8);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, host_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(port_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, port_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(db_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, db_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, user_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, password_);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = EngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, engineArgs__);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetAsyncEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = AsyncEngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, asyncEngineArgs__);
}
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.graph.v1.MySQLSource)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.MySQLSource other = (ai.chalk.protos.chalk.graph.v1.MySQLSource) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getHost()
.equals(other.getHost())) return false;
if (!getPort()
.equals(other.getPort())) return false;
if (!getDb()
.equals(other.getDb())) return false;
if (!getUser()
.equals(other.getUser())) return false;
if (!getPassword()
.equals(other.getPassword())) return false;
if (!internalGetEngineArgs().equals(
other.internalGetEngineArgs())) return false;
if (!internalGetAsyncEngineArgs().equals(
other.internalGetAsyncEngineArgs())) 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 = (37 * hash) + HOST_FIELD_NUMBER;
hash = (53 * hash) + getHost().hashCode();
hash = (37 * hash) + PORT_FIELD_NUMBER;
hash = (53 * hash) + getPort().hashCode();
hash = (37 * hash) + DB_FIELD_NUMBER;
hash = (53 * hash) + getDb().hashCode();
hash = (37 * hash) + USER_FIELD_NUMBER;
hash = (53 * hash) + getUser().hashCode();
hash = (37 * hash) + PASSWORD_FIELD_NUMBER;
hash = (53 * hash) + getPassword().hashCode();
if (!internalGetEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetEngineArgs().hashCode();
}
if (!internalGetAsyncEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ASYNC_ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetAsyncEngineArgs().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.MySQLSource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.MySQLSource 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.graph.v1.MySQLSource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.MySQLSource 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.graph.v1.MySQLSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.MySQLSource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.MySQLSource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.MySQLSource 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.graph.v1.MySQLSource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.MySQLSource 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.graph.v1.MySQLSource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.MySQLSource 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.graph.v1.MySQLSource 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.graph.v1.MySQLSource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.MySQLSource)
ai.chalk.protos.chalk.graph.v1.MySQLSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_MySQLSource_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 7:
return internalGetEngineArgs();
case 8:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
int number) {
switch (number) {
case 7:
return internalGetMutableEngineArgs();
case 8:
return internalGetMutableAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_MySQLSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.MySQLSource.class, ai.chalk.protos.chalk.graph.v1.MySQLSource.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.MySQLSource.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
host_ = "";
port_ = "";
db_ = "";
user_ = "";
password_ = "";
internalGetMutableEngineArgs().clear();
internalGetMutableAsyncEngineArgs().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_MySQLSource_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.MySQLSource getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.MySQLSource.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.MySQLSource build() {
ai.chalk.protos.chalk.graph.v1.MySQLSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.MySQLSource buildPartial() {
ai.chalk.protos.chalk.graph.v1.MySQLSource result = new ai.chalk.protos.chalk.graph.v1.MySQLSource(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.MySQLSource result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.host_ = host_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.port_ = port_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.db_ = db_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.user_ = user_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.password_ = password_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.engineArgs_ = internalGetEngineArgs().build(EngineArgsDefaultEntryHolder.defaultEntry);
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.asyncEngineArgs_ = internalGetAsyncEngineArgs().build(AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
}
@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.graph.v1.MySQLSource) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.MySQLSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.MySQLSource other) {
if (other == ai.chalk.protos.chalk.graph.v1.MySQLSource.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getHost().isEmpty()) {
host_ = other.host_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getPort().isEmpty()) {
port_ = other.port_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getDb().isEmpty()) {
db_ = other.db_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getUser().isEmpty()) {
user_ = other.user_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getPassword().isEmpty()) {
password_ = other.password_;
bitField0_ |= 0x00000020;
onChanged();
}
internalGetMutableEngineArgs().mergeFrom(
other.internalGetEngineArgs());
bitField0_ |= 0x00000040;
internalGetMutableAsyncEngineArgs().mergeFrom(
other.internalGetAsyncEngineArgs());
bitField0_ |= 0x00000080;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
host_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
port_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
db_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
user_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
password_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = input.readMessage(
EngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableEngineArgs().ensureBuilderMap().put(
engineArgs__.getKey(), engineArgs__.getValue());
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = input.readMessage(
AsyncEngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableAsyncEngineArgs().ensureBuilderMap().put(
asyncEngineArgs__.getKey(), asyncEngineArgs__.getValue());
bitField0_ |= 0x00000080;
break;
} // case 66
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object host_ = "";
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The host.
*/
public java.lang.String getHost() {
java.lang.Object ref = host_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
host_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The bytes for host.
*/
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @param value The host to set.
* @return This builder for chaining.
*/
public Builder setHost(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
host_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return This builder for chaining.
*/
public Builder clearHost() {
host_ = getDefaultInstance().getHost();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @param value The bytes for host to set.
* @return This builder for chaining.
*/
public Builder setHostBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
host_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object port_ = "";
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The port.
*/
public java.lang.String getPort() {
java.lang.Object ref = port_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
port_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The bytes for port.
*/
public com.google.protobuf.ByteString
getPortBytes() {
java.lang.Object ref = port_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
port_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @param value The port to set.
* @return This builder for chaining.
*/
public Builder setPort(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
port_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return This builder for chaining.
*/
public Builder clearPort() {
port_ = getDefaultInstance().getPort();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @param value The bytes for port to set.
* @return This builder for chaining.
*/
public Builder setPortBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
port_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object db_ = "";
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The db.
*/
public java.lang.String getDb() {
java.lang.Object ref = db_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
db_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The bytes for db.
*/
public com.google.protobuf.ByteString
getDbBytes() {
java.lang.Object ref = db_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
db_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @param value The db to set.
* @return This builder for chaining.
*/
public Builder setDb(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
db_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return This builder for chaining.
*/
public Builder clearDb() {
db_ = getDefaultInstance().getDb();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @param value The bytes for db to set.
* @return This builder for chaining.
*/
public Builder setDbBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
db_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object user_ = "";
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The user.
*/
public java.lang.String getUser() {
java.lang.Object ref = user_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
user_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The bytes for user.
*/
public com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @param value The user to set.
* @return This builder for chaining.
*/
public Builder setUser(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
user_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return This builder for chaining.
*/
public Builder clearUser() {
user_ = getDefaultInstance().getUser();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @param value The bytes for user to set.
* @return This builder for chaining.
*/
public Builder setUserBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
user_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object password_ = "";
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The password.
*/
public java.lang.String getPassword() {
java.lang.Object ref = password_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
password_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The bytes for password.
*/
public com.google.protobuf.ByteString
getPasswordBytes() {
java.lang.Object ref = password_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
password_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @param value The password to set.
* @return This builder for chaining.
*/
public Builder setPassword(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
password_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return This builder for chaining.
*/
public Builder clearPassword() {
password_ = getDefaultInstance().getPassword();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @param value The bytes for password to set.
* @return This builder for chaining.
*/
public Builder setPasswordBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
password_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private static final class EngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return EngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final EngineArgsConverter engineArgsConverter = new EngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> engineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
return engineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableEngineArgs() {
if (engineArgs_ == null) {
engineArgs_ = new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
bitField0_ |= 0x00000040;
onChanged();
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? engineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return engineArgsConverter.build(map.get(key));
}
public Builder clearEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000040);
internalGetMutableEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public Builder removeEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableEngineArgs().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.ScalarValue>
getMutableEngineArgs() {
bitField0_ |= 0x00000040;
return internalGetMutableEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public Builder putEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public Builder putAllEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) entry;
}
private static final class AsyncEngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return AsyncEngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final AsyncEngineArgsConverter asyncEngineArgsConverter = new AsyncEngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> asyncEngineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
return asyncEngineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
asyncEngineArgs_ = new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
bitField0_ |= 0x00000080;
onChanged();
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? asyncEngineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return asyncEngineArgsConverter.build(map.get(key));
}
public Builder clearAsyncEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000080);
internalGetMutableAsyncEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public Builder removeAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableAsyncEngineArgs().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.ScalarValue>
getMutableAsyncEngineArgs() {
bitField0_ |= 0x00000080;
return internalGetMutableAsyncEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAsyncEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000080;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAllAsyncEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000080;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putAsyncEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.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.graph.v1.MySQLSource)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.MySQLSource)
private static final ai.chalk.protos.chalk.graph.v1.MySQLSource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.MySQLSource();
}
public static ai.chalk.protos.chalk.graph.v1.MySQLSource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<MySQLSource>
PARSER = new com.google.protobuf.AbstractParser<MySQLSource>() {
@java.lang.Override
public MySQLSource 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<MySQLSource> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<MySQLSource> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.MySQLSource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/MySQLSourceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface MySQLSourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.MySQLSource)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The host.
*/
java.lang.String getHost();
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The bytes for host.
*/
com.google.protobuf.ByteString
getHostBytes();
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The port.
*/
java.lang.String getPort();
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The bytes for port.
*/
com.google.protobuf.ByteString
getPortBytes();
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The db.
*/
java.lang.String getDb();
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The bytes for db.
*/
com.google.protobuf.ByteString
getDbBytes();
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The user.
*/
java.lang.String getUser();
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The bytes for user.
*/
com.google.protobuf.ByteString
getUserBytes();
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The password.
*/
java.lang.String getPassword();
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The bytes for password.
*/
com.google.protobuf.ByteString
getPasswordBytes();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
int getEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
boolean containsEngineArgs(
java.lang.String key);
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
int getAsyncEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
boolean containsAsyncEngineArgs(
java.lang.String key);
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key);
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/NamedQuery.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.NamedQuery}
*/
public final class NamedQuery extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.NamedQuery)
NamedQueryOrBuilder {
private static final long serialVersionUID = 0L;
// Use NamedQuery.newBuilder() to construct.
private NamedQuery(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private NamedQuery() {
name_ = "";
queryVersion_ = "";
input_ =
com.google.protobuf.LazyStringArrayList.emptyList();
output_ =
com.google.protobuf.LazyStringArrayList.emptyList();
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
description_ = "";
owner_ = "";
fileName_ = "";
deploymentId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NamedQuery();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_NamedQuery_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 8:
return internalGetMeta();
case 9:
return internalGetStaleness();
case 10:
return internalGetPlannerOptions();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_NamedQuery_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.NamedQuery.class, ai.chalk.protos.chalk.graph.v1.NamedQuery.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int QUERY_VERSION_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object queryVersion_ = "";
/**
* <code>optional string query_version = 2 [json_name = "queryVersion"];</code>
* @return Whether the queryVersion field is set.
*/
@java.lang.Override
public boolean hasQueryVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string query_version = 2 [json_name = "queryVersion"];</code>
* @return The queryVersion.
*/
@java.lang.Override
public java.lang.String getQueryVersion() {
java.lang.Object ref = queryVersion_;
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();
queryVersion_ = s;
return s;
}
}
/**
* <code>optional string query_version = 2 [json_name = "queryVersion"];</code>
* @return The bytes for queryVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getQueryVersionBytes() {
java.lang.Object ref = queryVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
queryVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INPUT_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList input_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @return A list containing the input.
*/
public com.google.protobuf.ProtocolStringList
getInputList() {
return input_;
}
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @return The count of input.
*/
public int getInputCount() {
return input_.size();
}
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @param index The index of the element to return.
* @return The input at the given index.
*/
public java.lang.String getInput(int index) {
return input_.get(index);
}
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @param index The index of the value to return.
* @return The bytes of the input at the given index.
*/
public com.google.protobuf.ByteString
getInputBytes(int index) {
return input_.getByteString(index);
}
public static final int OUTPUT_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList output_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @return A list containing the output.
*/
public com.google.protobuf.ProtocolStringList
getOutputList() {
return output_;
}
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @return The count of output.
*/
public int getOutputCount() {
return output_.size();
}
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @param index The index of the element to return.
* @return The output at the given index.
*/
public java.lang.String getOutput(int index) {
return output_.get(index);
}
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @param index The index of the value to return.
* @return The bytes of the output at the given index.
*/
public com.google.protobuf.ByteString
getOutputBytes(int index) {
return output_.getByteString(index);
}
public static final int TAGS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
public static final int DESCRIPTION_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object description_ = "";
/**
* <code>optional string description = 6 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
@java.lang.Override
public boolean hasDescription() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string description = 6 [json_name = "description"];</code>
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* <code>optional string description = 6 [json_name = "description"];</code>
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OWNER_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object owner_ = "";
/**
* <code>optional string owner = 7 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
@java.lang.Override
public boolean hasOwner() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string owner = 7 [json_name = "owner"];</code>
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
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();
owner_ = s;
return s;
}
}
/**
* <code>optional string owner = 7 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int META_FIELD_NUMBER = 8;
private static final class MetaDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, java.lang.String>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_NamedQuery_MetaEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> meta_;
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetMeta() {
if (meta_ == null) {
return com.google.protobuf.MapField.emptyMapField(
MetaDefaultEntryHolder.defaultEntry);
}
return meta_;
}
public int getMetaCount() {
return internalGetMeta().getMap().size();
}
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
@java.lang.Override
public boolean containsMeta(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetMeta().getMap().containsKey(key);
}
/**
* Use {@link #getMetaMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String> getMeta() {
return getMetaMap();
}
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.String> getMetaMap() {
return internalGetMeta().getMap();
}
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
@java.lang.Override
public /* nullable */
java.lang.String getMetaOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetMeta().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
@java.lang.Override
public java.lang.String getMetaOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetMeta().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int STALENESS_FIELD_NUMBER = 9;
private static final class StalenessDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, com.google.protobuf.Duration> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, com.google.protobuf.Duration>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_NamedQuery_StalenessEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
com.google.protobuf.Duration.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, com.google.protobuf.Duration> staleness_;
private com.google.protobuf.MapField<java.lang.String, com.google.protobuf.Duration>
internalGetStaleness() {
if (staleness_ == null) {
return com.google.protobuf.MapField.emptyMapField(
StalenessDefaultEntryHolder.defaultEntry);
}
return staleness_;
}
public int getStalenessCount() {
return internalGetStaleness().getMap().size();
}
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
@java.lang.Override
public boolean containsStaleness(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetStaleness().getMap().containsKey(key);
}
/**
* Use {@link #getStalenessMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, com.google.protobuf.Duration> getStaleness() {
return getStalenessMap();
}
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, com.google.protobuf.Duration> getStalenessMap() {
return internalGetStaleness().getMap();
}
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
@java.lang.Override
public /* nullable */
com.google.protobuf.Duration getStalenessOrDefault(
java.lang.String key,
/* nullable */
com.google.protobuf.Duration defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, com.google.protobuf.Duration> map =
internalGetStaleness().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
@java.lang.Override
public com.google.protobuf.Duration getStalenessOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, com.google.protobuf.Duration> map =
internalGetStaleness().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int PLANNER_OPTIONS_FIELD_NUMBER = 10;
private static final class PlannerOptionsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, java.lang.String>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_NamedQuery_PlannerOptionsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> plannerOptions_;
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetPlannerOptions() {
if (plannerOptions_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PlannerOptionsDefaultEntryHolder.defaultEntry);
}
return plannerOptions_;
}
public int getPlannerOptionsCount() {
return internalGetPlannerOptions().getMap().size();
}
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
@java.lang.Override
public boolean containsPlannerOptions(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetPlannerOptions().getMap().containsKey(key);
}
/**
* Use {@link #getPlannerOptionsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String> getPlannerOptions() {
return getPlannerOptionsMap();
}
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.String> getPlannerOptionsMap() {
return internalGetPlannerOptions().getMap();
}
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
@java.lang.Override
public /* nullable */
java.lang.String getPlannerOptionsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetPlannerOptions().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
@java.lang.Override
public java.lang.String getPlannerOptionsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetPlannerOptions().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int FILE_NAME_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private volatile java.lang.Object fileName_ = "";
/**
* <code>string file_name = 11 [json_name = "fileName"];</code>
* @return The fileName.
*/
@java.lang.Override
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
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();
fileName_ = s;
return s;
}
}
/**
* <code>string file_name = 11 [json_name = "fileName"];</code>
* @return The bytes for fileName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEPLOYMENT_ID_FIELD_NUMBER = 12;
@SuppressWarnings("serial")
private volatile java.lang.Object deploymentId_ = "";
/**
* <pre>
* required
* </pre>
*
* <code>optional string deployment_id = 12 [json_name = "deploymentId"];</code>
* @return Whether the deploymentId field is set.
*/
@java.lang.Override
public boolean hasDeploymentId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* required
* </pre>
*
* <code>optional string deployment_id = 12 [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;
}
}
/**
* <pre>
* required
* </pre>
*
* <code>optional string deployment_id = 12 [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 SOURCE_FILE_REFERENCE_FIELD_NUMBER = 13;
private ai.chalk.protos.chalk.graph.v1.SourceFileReference sourceFileReference_;
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
* @return Whether the sourceFileReference field is set.
*/
@java.lang.Override
public boolean hasSourceFileReference() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
* @return The sourceFileReference.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SourceFileReference getSourceFileReference() {
return sourceFileReference_ == null ? ai.chalk.protos.chalk.graph.v1.SourceFileReference.getDefaultInstance() : sourceFileReference_;
}
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.SourceFileReferenceOrBuilder getSourceFileReferenceOrBuilder() {
return sourceFileReference_ == null ? ai.chalk.protos.chalk.graph.v1.SourceFileReference.getDefaultInstance() : sourceFileReference_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, queryVersion_);
}
for (int i = 0; i < input_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, input_.getRaw(i));
}
for (int i = 0; i < output_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, output_.getRaw(i));
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tags_.getRaw(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, description_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, owner_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetMeta(),
MetaDefaultEntryHolder.defaultEntry,
8);
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetStaleness(),
StalenessDefaultEntryHolder.defaultEntry,
9);
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetPlannerOptions(),
PlannerOptionsDefaultEntryHolder.defaultEntry,
10);
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, fileName_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, deploymentId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(13, getSourceFileReference());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, queryVersion_);
}
{
int dataSize = 0;
for (int i = 0; i < input_.size(); i++) {
dataSize += computeStringSizeNoTag(input_.getRaw(i));
}
size += dataSize;
size += 1 * getInputList().size();
}
{
int dataSize = 0;
for (int i = 0; i < output_.size(); i++) {
dataSize += computeStringSizeNoTag(output_.getRaw(i));
}
size += dataSize;
size += 1 * getOutputList().size();
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().size();
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_);
}
for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
: internalGetMeta().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
meta__ = MetaDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, meta__);
}
for (java.util.Map.Entry<java.lang.String, com.google.protobuf.Duration> entry
: internalGetStaleness().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, com.google.protobuf.Duration>
staleness__ = StalenessDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, staleness__);
}
for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
: internalGetPlannerOptions().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
plannerOptions__ = PlannerOptionsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, plannerOptions__);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, fileName_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, deploymentId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getSourceFileReference());
}
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.graph.v1.NamedQuery)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.NamedQuery other = (ai.chalk.protos.chalk.graph.v1.NamedQuery) obj;
if (!getName()
.equals(other.getName())) return false;
if (hasQueryVersion() != other.hasQueryVersion()) return false;
if (hasQueryVersion()) {
if (!getQueryVersion()
.equals(other.getQueryVersion())) return false;
}
if (!getInputList()
.equals(other.getInputList())) return false;
if (!getOutputList()
.equals(other.getOutputList())) return false;
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (hasDescription() != other.hasDescription()) return false;
if (hasDescription()) {
if (!getDescription()
.equals(other.getDescription())) return false;
}
if (hasOwner() != other.hasOwner()) return false;
if (hasOwner()) {
if (!getOwner()
.equals(other.getOwner())) return false;
}
if (!internalGetMeta().equals(
other.internalGetMeta())) return false;
if (!internalGetStaleness().equals(
other.internalGetStaleness())) return false;
if (!internalGetPlannerOptions().equals(
other.internalGetPlannerOptions())) return false;
if (!getFileName()
.equals(other.getFileName())) return false;
if (hasDeploymentId() != other.hasDeploymentId()) return false;
if (hasDeploymentId()) {
if (!getDeploymentId()
.equals(other.getDeploymentId())) return false;
}
if (hasSourceFileReference() != other.hasSourceFileReference()) return false;
if (hasSourceFileReference()) {
if (!getSourceFileReference()
.equals(other.getSourceFileReference())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (hasQueryVersion()) {
hash = (37 * hash) + QUERY_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getQueryVersion().hashCode();
}
if (getInputCount() > 0) {
hash = (37 * hash) + INPUT_FIELD_NUMBER;
hash = (53 * hash) + getInputList().hashCode();
}
if (getOutputCount() > 0) {
hash = (37 * hash) + OUTPUT_FIELD_NUMBER;
hash = (53 * hash) + getOutputList().hashCode();
}
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (hasDescription()) {
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
if (!internalGetMeta().getMap().isEmpty()) {
hash = (37 * hash) + META_FIELD_NUMBER;
hash = (53 * hash) + internalGetMeta().hashCode();
}
if (!internalGetStaleness().getMap().isEmpty()) {
hash = (37 * hash) + STALENESS_FIELD_NUMBER;
hash = (53 * hash) + internalGetStaleness().hashCode();
}
if (!internalGetPlannerOptions().getMap().isEmpty()) {
hash = (37 * hash) + PLANNER_OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + internalGetPlannerOptions().hashCode();
}
hash = (37 * hash) + FILE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
if (hasDeploymentId()) {
hash = (37 * hash) + DEPLOYMENT_ID_FIELD_NUMBER;
hash = (53 * hash) + getDeploymentId().hashCode();
}
if (hasSourceFileReference()) {
hash = (37 * hash) + SOURCE_FILE_REFERENCE_FIELD_NUMBER;
hash = (53 * hash) + getSourceFileReference().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.NamedQuery parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.NamedQuery 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.graph.v1.NamedQuery parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.NamedQuery 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.graph.v1.NamedQuery parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.NamedQuery parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.NamedQuery parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.NamedQuery 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.graph.v1.NamedQuery parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.NamedQuery 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.graph.v1.NamedQuery parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.NamedQuery 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.graph.v1.NamedQuery 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.graph.v1.NamedQuery}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.NamedQuery)
ai.chalk.protos.chalk.graph.v1.NamedQueryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_NamedQuery_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 8:
return internalGetMeta();
case 9:
return internalGetStaleness();
case 10:
return internalGetPlannerOptions();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
int number) {
switch (number) {
case 8:
return internalGetMutableMeta();
case 9:
return internalGetMutableStaleness();
case 10:
return internalGetMutablePlannerOptions();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_NamedQuery_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.NamedQuery.class, ai.chalk.protos.chalk.graph.v1.NamedQuery.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.NamedQuery.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSourceFileReferenceFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
queryVersion_ = "";
input_ =
com.google.protobuf.LazyStringArrayList.emptyList();
output_ =
com.google.protobuf.LazyStringArrayList.emptyList();
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
description_ = "";
owner_ = "";
internalGetMutableMeta().clear();
internalGetMutableStaleness().clear();
internalGetMutablePlannerOptions().clear();
fileName_ = "";
deploymentId_ = "";
sourceFileReference_ = null;
if (sourceFileReferenceBuilder_ != null) {
sourceFileReferenceBuilder_.dispose();
sourceFileReferenceBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_NamedQuery_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.NamedQuery getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.NamedQuery.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.NamedQuery build() {
ai.chalk.protos.chalk.graph.v1.NamedQuery result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.NamedQuery buildPartial() {
ai.chalk.protos.chalk.graph.v1.NamedQuery result = new ai.chalk.protos.chalk.graph.v1.NamedQuery(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.NamedQuery result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.queryVersion_ = queryVersion_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
input_.makeImmutable();
result.input_ = input_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
output_.makeImmutable();
result.output_ = output_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
tags_.makeImmutable();
result.tags_ = tags_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.description_ = description_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.owner_ = owner_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.meta_ = internalGetMeta();
result.meta_.makeImmutable();
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.staleness_ = internalGetStaleness().build(StalenessDefaultEntryHolder.defaultEntry);
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.plannerOptions_ = internalGetPlannerOptions();
result.plannerOptions_.makeImmutable();
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.fileName_ = fileName_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.deploymentId_ = deploymentId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.sourceFileReference_ = sourceFileReferenceBuilder_ == null
? sourceFileReference_
: sourceFileReferenceBuilder_.build();
to_bitField0_ |= 0x00000010;
}
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.graph.v1.NamedQuery) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.NamedQuery)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.NamedQuery other) {
if (other == ai.chalk.protos.chalk.graph.v1.NamedQuery.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasQueryVersion()) {
queryVersion_ = other.queryVersion_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.input_.isEmpty()) {
if (input_.isEmpty()) {
input_ = other.input_;
bitField0_ |= 0x00000004;
} else {
ensureInputIsMutable();
input_.addAll(other.input_);
}
onChanged();
}
if (!other.output_.isEmpty()) {
if (output_.isEmpty()) {
output_ = other.output_;
bitField0_ |= 0x00000008;
} else {
ensureOutputIsMutable();
output_.addAll(other.output_);
}
onChanged();
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ |= 0x00000010;
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
if (other.hasDescription()) {
description_ = other.description_;
bitField0_ |= 0x00000020;
onChanged();
}
if (other.hasOwner()) {
owner_ = other.owner_;
bitField0_ |= 0x00000040;
onChanged();
}
internalGetMutableMeta().mergeFrom(
other.internalGetMeta());
bitField0_ |= 0x00000080;
internalGetMutableStaleness().mergeFrom(
other.internalGetStaleness());
bitField0_ |= 0x00000100;
internalGetMutablePlannerOptions().mergeFrom(
other.internalGetPlannerOptions());
bitField0_ |= 0x00000200;
if (!other.getFileName().isEmpty()) {
fileName_ = other.fileName_;
bitField0_ |= 0x00000400;
onChanged();
}
if (other.hasDeploymentId()) {
deploymentId_ = other.deploymentId_;
bitField0_ |= 0x00000800;
onChanged();
}
if (other.hasSourceFileReference()) {
mergeSourceFileReference(other.getSourceFileReference());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
queryVersion_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
java.lang.String s = input.readStringRequireUtf8();
ensureInputIsMutable();
input_.add(s);
break;
} // case 26
case 34: {
java.lang.String s = input.readStringRequireUtf8();
ensureOutputIsMutable();
output_.add(s);
break;
} // case 34
case 42: {
java.lang.String s = input.readStringRequireUtf8();
ensureTagsIsMutable();
tags_.add(s);
break;
} // case 42
case 50: {
description_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
owner_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
meta__ = input.readMessage(
MetaDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableMeta().getMutableMap().put(
meta__.getKey(), meta__.getValue());
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
com.google.protobuf.MapEntry<java.lang.String, com.google.protobuf.Duration>
staleness__ = input.readMessage(
StalenessDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableStaleness().ensureBuilderMap().put(
staleness__.getKey(), staleness__.getValue());
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
plannerOptions__ = input.readMessage(
PlannerOptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutablePlannerOptions().getMutableMap().put(
plannerOptions__.getKey(), plannerOptions__.getValue());
bitField0_ |= 0x00000200;
break;
} // case 82
case 90: {
fileName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 90
case 98: {
deploymentId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000800;
break;
} // case 98
case 106: {
input.readMessage(
getSourceFileReferenceFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00001000;
break;
} // case 106
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object queryVersion_ = "";
/**
* <code>optional string query_version = 2 [json_name = "queryVersion"];</code>
* @return Whether the queryVersion field is set.
*/
public boolean hasQueryVersion() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string query_version = 2 [json_name = "queryVersion"];</code>
* @return The queryVersion.
*/
public java.lang.String getQueryVersion() {
java.lang.Object ref = queryVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
queryVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string query_version = 2 [json_name = "queryVersion"];</code>
* @return The bytes for queryVersion.
*/
public com.google.protobuf.ByteString
getQueryVersionBytes() {
java.lang.Object ref = queryVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
queryVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string query_version = 2 [json_name = "queryVersion"];</code>
* @param value The queryVersion to set.
* @return This builder for chaining.
*/
public Builder setQueryVersion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
queryVersion_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string query_version = 2 [json_name = "queryVersion"];</code>
* @return This builder for chaining.
*/
public Builder clearQueryVersion() {
queryVersion_ = getDefaultInstance().getQueryVersion();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string query_version = 2 [json_name = "queryVersion"];</code>
* @param value The bytes for queryVersion to set.
* @return This builder for chaining.
*/
public Builder setQueryVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
queryVersion_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList input_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureInputIsMutable() {
if (!input_.isModifiable()) {
input_ = new com.google.protobuf.LazyStringArrayList(input_);
}
bitField0_ |= 0x00000004;
}
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @return A list containing the input.
*/
public com.google.protobuf.ProtocolStringList
getInputList() {
input_.makeImmutable();
return input_;
}
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @return The count of input.
*/
public int getInputCount() {
return input_.size();
}
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @param index The index of the element to return.
* @return The input at the given index.
*/
public java.lang.String getInput(int index) {
return input_.get(index);
}
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @param index The index of the value to return.
* @return The bytes of the input at the given index.
*/
public com.google.protobuf.ByteString
getInputBytes(int index) {
return input_.getByteString(index);
}
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @param index The index to set the value at.
* @param value The input to set.
* @return This builder for chaining.
*/
public Builder setInput(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureInputIsMutable();
input_.set(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @param value The input to add.
* @return This builder for chaining.
*/
public Builder addInput(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureInputIsMutable();
input_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @param values The input to add.
* @return This builder for chaining.
*/
public Builder addAllInput(
java.lang.Iterable<java.lang.String> values) {
ensureInputIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, input_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @return This builder for chaining.
*/
public Builder clearInput() {
input_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);;
onChanged();
return this;
}
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @param value The bytes of the input to add.
* @return This builder for chaining.
*/
public Builder addInputBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureInputIsMutable();
input_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList output_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureOutputIsMutable() {
if (!output_.isModifiable()) {
output_ = new com.google.protobuf.LazyStringArrayList(output_);
}
bitField0_ |= 0x00000008;
}
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @return A list containing the output.
*/
public com.google.protobuf.ProtocolStringList
getOutputList() {
output_.makeImmutable();
return output_;
}
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @return The count of output.
*/
public int getOutputCount() {
return output_.size();
}
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @param index The index of the element to return.
* @return The output at the given index.
*/
public java.lang.String getOutput(int index) {
return output_.get(index);
}
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @param index The index of the value to return.
* @return The bytes of the output at the given index.
*/
public com.google.protobuf.ByteString
getOutputBytes(int index) {
return output_.getByteString(index);
}
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @param index The index to set the value at.
* @param value The output to set.
* @return This builder for chaining.
*/
public Builder setOutput(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureOutputIsMutable();
output_.set(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @param value The output to add.
* @return This builder for chaining.
*/
public Builder addOutput(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureOutputIsMutable();
output_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @param values The output to add.
* @return This builder for chaining.
*/
public Builder addAllOutput(
java.lang.Iterable<java.lang.String> values) {
ensureOutputIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, output_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @return This builder for chaining.
*/
public Builder clearOutput() {
output_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);;
onChanged();
return this;
}
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @param value The bytes of the output to add.
* @return This builder for chaining.
*/
public Builder addOutputBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureOutputIsMutable();
output_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureTagsIsMutable() {
if (!tags_.isModifiable()) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
}
bitField0_ |= 0x00000010;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
tags_.makeImmutable();
return tags_;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index to set the value at.
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.set(index, value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param value The tags to add.
* @return This builder for chaining.
*/
public Builder addTags(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param values The tags to add.
* @return This builder for chaining.
*/
public Builder addAllTags(
java.lang.Iterable<java.lang.String> values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return This builder for chaining.
*/
public Builder clearTags() {
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);;
onChanged();
return this;
}
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param value The bytes of the tags to add.
* @return This builder for chaining.
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* <code>optional string description = 6 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional string description = 6 [json_name = "description"];</code>
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string description = 6 [json_name = "description"];</code>
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string description = 6 [json_name = "description"];</code>
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
description_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional string description = 6 [json_name = "description"];</code>
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <code>optional string description = 6 [json_name = "description"];</code>
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
description_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object owner_ = "";
/**
* <code>optional string owner = 7 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
public boolean hasOwner() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional string owner = 7 [json_name = "owner"];</code>
* @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
owner_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string owner = 7 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string owner = 7 [json_name = "owner"];</code>
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
owner_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional string owner = 7 [json_name = "owner"];</code>
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* <code>optional string owner = 7 [json_name = "owner"];</code>
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
owner_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> meta_;
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetMeta() {
if (meta_ == null) {
return com.google.protobuf.MapField.emptyMapField(
MetaDefaultEntryHolder.defaultEntry);
}
return meta_;
}
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetMutableMeta() {
if (meta_ == null) {
meta_ = com.google.protobuf.MapField.newMapField(
MetaDefaultEntryHolder.defaultEntry);
}
if (!meta_.isMutable()) {
meta_ = meta_.copy();
}
bitField0_ |= 0x00000080;
onChanged();
return meta_;
}
public int getMetaCount() {
return internalGetMeta().getMap().size();
}
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
@java.lang.Override
public boolean containsMeta(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetMeta().getMap().containsKey(key);
}
/**
* Use {@link #getMetaMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String> getMeta() {
return getMetaMap();
}
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.String> getMetaMap() {
return internalGetMeta().getMap();
}
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
@java.lang.Override
public /* nullable */
java.lang.String getMetaOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetMeta().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
@java.lang.Override
public java.lang.String getMetaOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetMeta().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearMeta() {
bitField0_ = (bitField0_ & ~0x00000080);
internalGetMutableMeta().getMutableMap()
.clear();
return this;
}
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
public Builder removeMeta(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableMeta().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String>
getMutableMeta() {
bitField0_ |= 0x00000080;
return internalGetMutableMeta().getMutableMap();
}
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
public Builder putMeta(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableMeta().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000080;
return this;
}
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
public Builder putAllMeta(
java.util.Map<java.lang.String, java.lang.String> values) {
internalGetMutableMeta().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000080;
return this;
}
private static final class StalenessConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, com.google.protobuf.DurationOrBuilder, com.google.protobuf.Duration> {
@java.lang.Override
public com.google.protobuf.Duration build(com.google.protobuf.DurationOrBuilder val) {
if (val instanceof com.google.protobuf.Duration) { return (com.google.protobuf.Duration) val; }
return ((com.google.protobuf.Duration.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, com.google.protobuf.Duration> defaultEntry() {
return StalenessDefaultEntryHolder.defaultEntry;
}
};
private static final StalenessConverter stalenessConverter = new StalenessConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, com.google.protobuf.DurationOrBuilder, com.google.protobuf.Duration, com.google.protobuf.Duration.Builder> staleness_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, com.google.protobuf.DurationOrBuilder, com.google.protobuf.Duration, com.google.protobuf.Duration.Builder>
internalGetStaleness() {
if (staleness_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(stalenessConverter);
}
return staleness_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, com.google.protobuf.DurationOrBuilder, com.google.protobuf.Duration, com.google.protobuf.Duration.Builder>
internalGetMutableStaleness() {
if (staleness_ == null) {
staleness_ = new com.google.protobuf.MapFieldBuilder<>(stalenessConverter);
}
bitField0_ |= 0x00000100;
onChanged();
return staleness_;
}
public int getStalenessCount() {
return internalGetStaleness().ensureBuilderMap().size();
}
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
@java.lang.Override
public boolean containsStaleness(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetStaleness().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getStalenessMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, com.google.protobuf.Duration> getStaleness() {
return getStalenessMap();
}
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, com.google.protobuf.Duration> getStalenessMap() {
return internalGetStaleness().getImmutableMap();
}
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
@java.lang.Override
public /* nullable */
com.google.protobuf.Duration getStalenessOrDefault(
java.lang.String key,
/* nullable */
com.google.protobuf.Duration defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, com.google.protobuf.DurationOrBuilder> map = internalGetMutableStaleness().ensureBuilderMap();
return map.containsKey(key) ? stalenessConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
@java.lang.Override
public com.google.protobuf.Duration getStalenessOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, com.google.protobuf.DurationOrBuilder> map = internalGetMutableStaleness().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return stalenessConverter.build(map.get(key));
}
public Builder clearStaleness() {
bitField0_ = (bitField0_ & ~0x00000100);
internalGetMutableStaleness().clear();
return this;
}
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
public Builder removeStaleness(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableStaleness().ensureBuilderMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.String, com.google.protobuf.Duration>
getMutableStaleness() {
bitField0_ |= 0x00000100;
return internalGetMutableStaleness().ensureMessageMap();
}
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
public Builder putStaleness(
java.lang.String key,
com.google.protobuf.Duration value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableStaleness().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000100;
return this;
}
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
public Builder putAllStaleness(
java.util.Map<java.lang.String, com.google.protobuf.Duration> values) {
for (java.util.Map.Entry<java.lang.String, com.google.protobuf.Duration> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableStaleness().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000100;
return this;
}
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
public com.google.protobuf.Duration.Builder putStalenessBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, com.google.protobuf.DurationOrBuilder> builderMap = internalGetMutableStaleness().ensureBuilderMap();
com.google.protobuf.DurationOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = com.google.protobuf.Duration.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof com.google.protobuf.Duration) {
entry = ((com.google.protobuf.Duration) entry).toBuilder();
builderMap.put(key, entry);
}
return (com.google.protobuf.Duration.Builder) entry;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> plannerOptions_;
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetPlannerOptions() {
if (plannerOptions_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PlannerOptionsDefaultEntryHolder.defaultEntry);
}
return plannerOptions_;
}
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetMutablePlannerOptions() {
if (plannerOptions_ == null) {
plannerOptions_ = com.google.protobuf.MapField.newMapField(
PlannerOptionsDefaultEntryHolder.defaultEntry);
}
if (!plannerOptions_.isMutable()) {
plannerOptions_ = plannerOptions_.copy();
}
bitField0_ |= 0x00000200;
onChanged();
return plannerOptions_;
}
public int getPlannerOptionsCount() {
return internalGetPlannerOptions().getMap().size();
}
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
@java.lang.Override
public boolean containsPlannerOptions(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetPlannerOptions().getMap().containsKey(key);
}
/**
* Use {@link #getPlannerOptionsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String> getPlannerOptions() {
return getPlannerOptionsMap();
}
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.String> getPlannerOptionsMap() {
return internalGetPlannerOptions().getMap();
}
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
@java.lang.Override
public /* nullable */
java.lang.String getPlannerOptionsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetPlannerOptions().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
@java.lang.Override
public java.lang.String getPlannerOptionsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetPlannerOptions().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearPlannerOptions() {
bitField0_ = (bitField0_ & ~0x00000200);
internalGetMutablePlannerOptions().getMutableMap()
.clear();
return this;
}
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
public Builder removePlannerOptions(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutablePlannerOptions().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String>
getMutablePlannerOptions() {
bitField0_ |= 0x00000200;
return internalGetMutablePlannerOptions().getMutableMap();
}
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
public Builder putPlannerOptions(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutablePlannerOptions().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000200;
return this;
}
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
public Builder putAllPlannerOptions(
java.util.Map<java.lang.String, java.lang.String> values) {
internalGetMutablePlannerOptions().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000200;
return this;
}
private java.lang.Object fileName_ = "";
/**
* <code>string file_name = 11 [json_name = "fileName"];</code>
* @return The fileName.
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fileName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string file_name = 11 [json_name = "fileName"];</code>
* @return The bytes for fileName.
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string file_name = 11 [json_name = "fileName"];</code>
* @param value The fileName to set.
* @return This builder for chaining.
*/
public Builder setFileName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
fileName_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>string file_name = 11 [json_name = "fileName"];</code>
* @return This builder for chaining.
*/
public Builder clearFileName() {
fileName_ = getDefaultInstance().getFileName();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
* <code>string file_name = 11 [json_name = "fileName"];</code>
* @param value The bytes for fileName to set.
* @return This builder for chaining.
*/
public Builder setFileNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
fileName_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
private java.lang.Object deploymentId_ = "";
/**
* <pre>
* required
* </pre>
*
* <code>optional string deployment_id = 12 [json_name = "deploymentId"];</code>
* @return Whether the deploymentId field is set.
*/
public boolean hasDeploymentId() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <pre>
* required
* </pre>
*
* <code>optional string deployment_id = 12 [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;
}
}
/**
* <pre>
* required
* </pre>
*
* <code>optional string deployment_id = 12 [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;
}
}
/**
* <pre>
* required
* </pre>
*
* <code>optional string deployment_id = 12 [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_ |= 0x00000800;
onChanged();
return this;
}
/**
* <pre>
* required
* </pre>
*
* <code>optional string deployment_id = 12 [json_name = "deploymentId"];</code>
* @return This builder for chaining.
*/
public Builder clearDeploymentId() {
deploymentId_ = getDefaultInstance().getDeploymentId();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
* <pre>
* required
* </pre>
*
* <code>optional string deployment_id = 12 [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_ |= 0x00000800;
onChanged();
return this;
}
private ai.chalk.protos.chalk.graph.v1.SourceFileReference sourceFileReference_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SourceFileReference, ai.chalk.protos.chalk.graph.v1.SourceFileReference.Builder, ai.chalk.protos.chalk.graph.v1.SourceFileReferenceOrBuilder> sourceFileReferenceBuilder_;
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
* @return Whether the sourceFileReference field is set.
*/
public boolean hasSourceFileReference() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
* @return The sourceFileReference.
*/
public ai.chalk.protos.chalk.graph.v1.SourceFileReference getSourceFileReference() {
if (sourceFileReferenceBuilder_ == null) {
return sourceFileReference_ == null ? ai.chalk.protos.chalk.graph.v1.SourceFileReference.getDefaultInstance() : sourceFileReference_;
} else {
return sourceFileReferenceBuilder_.getMessage();
}
}
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
*/
public Builder setSourceFileReference(ai.chalk.protos.chalk.graph.v1.SourceFileReference value) {
if (sourceFileReferenceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sourceFileReference_ = value;
} else {
sourceFileReferenceBuilder_.setMessage(value);
}
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
*/
public Builder setSourceFileReference(
ai.chalk.protos.chalk.graph.v1.SourceFileReference.Builder builderForValue) {
if (sourceFileReferenceBuilder_ == null) {
sourceFileReference_ = builderForValue.build();
} else {
sourceFileReferenceBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
*/
public Builder mergeSourceFileReference(ai.chalk.protos.chalk.graph.v1.SourceFileReference value) {
if (sourceFileReferenceBuilder_ == null) {
if (((bitField0_ & 0x00001000) != 0) &&
sourceFileReference_ != null &&
sourceFileReference_ != ai.chalk.protos.chalk.graph.v1.SourceFileReference.getDefaultInstance()) {
getSourceFileReferenceBuilder().mergeFrom(value);
} else {
sourceFileReference_ = value;
}
} else {
sourceFileReferenceBuilder_.mergeFrom(value);
}
if (sourceFileReference_ != null) {
bitField0_ |= 0x00001000;
onChanged();
}
return this;
}
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
*/
public Builder clearSourceFileReference() {
bitField0_ = (bitField0_ & ~0x00001000);
sourceFileReference_ = null;
if (sourceFileReferenceBuilder_ != null) {
sourceFileReferenceBuilder_.dispose();
sourceFileReferenceBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.SourceFileReference.Builder getSourceFileReferenceBuilder() {
bitField0_ |= 0x00001000;
onChanged();
return getSourceFileReferenceFieldBuilder().getBuilder();
}
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.SourceFileReferenceOrBuilder getSourceFileReferenceOrBuilder() {
if (sourceFileReferenceBuilder_ != null) {
return sourceFileReferenceBuilder_.getMessageOrBuilder();
} else {
return sourceFileReference_ == null ?
ai.chalk.protos.chalk.graph.v1.SourceFileReference.getDefaultInstance() : sourceFileReference_;
}
}
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SourceFileReference, ai.chalk.protos.chalk.graph.v1.SourceFileReference.Builder, ai.chalk.protos.chalk.graph.v1.SourceFileReferenceOrBuilder>
getSourceFileReferenceFieldBuilder() {
if (sourceFileReferenceBuilder_ == null) {
sourceFileReferenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.SourceFileReference, ai.chalk.protos.chalk.graph.v1.SourceFileReference.Builder, ai.chalk.protos.chalk.graph.v1.SourceFileReferenceOrBuilder>(
getSourceFileReference(),
getParentForChildren(),
isClean());
sourceFileReference_ = null;
}
return sourceFileReferenceBuilder_;
}
@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.graph.v1.NamedQuery)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.NamedQuery)
private static final ai.chalk.protos.chalk.graph.v1.NamedQuery DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.NamedQuery();
}
public static ai.chalk.protos.chalk.graph.v1.NamedQuery getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<NamedQuery>
PARSER = new com.google.protobuf.AbstractParser<NamedQuery>() {
@java.lang.Override
public NamedQuery 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<NamedQuery> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<NamedQuery> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.NamedQuery getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/NamedQueryOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface NamedQueryOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.NamedQuery)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>optional string query_version = 2 [json_name = "queryVersion"];</code>
* @return Whether the queryVersion field is set.
*/
boolean hasQueryVersion();
/**
* <code>optional string query_version = 2 [json_name = "queryVersion"];</code>
* @return The queryVersion.
*/
java.lang.String getQueryVersion();
/**
* <code>optional string query_version = 2 [json_name = "queryVersion"];</code>
* @return The bytes for queryVersion.
*/
com.google.protobuf.ByteString
getQueryVersionBytes();
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @return A list containing the input.
*/
java.util.List<java.lang.String>
getInputList();
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @return The count of input.
*/
int getInputCount();
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @param index The index of the element to return.
* @return The input at the given index.
*/
java.lang.String getInput(int index);
/**
* <code>repeated string input = 3 [json_name = "input"];</code>
* @param index The index of the value to return.
* @return The bytes of the input at the given index.
*/
com.google.protobuf.ByteString
getInputBytes(int index);
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @return A list containing the output.
*/
java.util.List<java.lang.String>
getOutputList();
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @return The count of output.
*/
int getOutputCount();
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @param index The index of the element to return.
* @return The output at the given index.
*/
java.lang.String getOutput(int index);
/**
* <code>repeated string output = 4 [json_name = "output"];</code>
* @param index The index of the value to return.
* @return The bytes of the output at the given index.
*/
com.google.protobuf.ByteString
getOutputBytes(int index);
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
java.util.List<java.lang.String>
getTagsList();
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @return The count of tags.
*/
int getTagsCount();
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
java.lang.String getTags(int index);
/**
* <code>repeated string tags = 5 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
/**
* <code>optional string description = 6 [json_name = "description"];</code>
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
* <code>optional string description = 6 [json_name = "description"];</code>
* @return The description.
*/
java.lang.String getDescription();
/**
* <code>optional string description = 6 [json_name = "description"];</code>
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* <code>optional string owner = 7 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
* <code>optional string owner = 7 [json_name = "owner"];</code>
* @return The owner.
*/
java.lang.String getOwner();
/**
* <code>optional string owner = 7 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
int getMetaCount();
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
boolean containsMeta(
java.lang.String key);
/**
* Use {@link #getMetaMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, java.lang.String>
getMeta();
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
java.util.Map<java.lang.String, java.lang.String>
getMetaMap();
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
/* nullable */
java.lang.String getMetaOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
* <code>map<string, string> meta = 8 [json_name = "meta"];</code>
*/
java.lang.String getMetaOrThrow(
java.lang.String key);
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
int getStalenessCount();
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
boolean containsStaleness(
java.lang.String key);
/**
* Use {@link #getStalenessMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, com.google.protobuf.Duration>
getStaleness();
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
java.util.Map<java.lang.String, com.google.protobuf.Duration>
getStalenessMap();
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
/* nullable */
com.google.protobuf.Duration getStalenessOrDefault(
java.lang.String key,
/* nullable */
com.google.protobuf.Duration defaultValue);
/**
* <code>map<string, .google.protobuf.Duration> staleness = 9 [json_name = "staleness"];</code>
*/
com.google.protobuf.Duration getStalenessOrThrow(
java.lang.String key);
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
int getPlannerOptionsCount();
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
boolean containsPlannerOptions(
java.lang.String key);
/**
* Use {@link #getPlannerOptionsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, java.lang.String>
getPlannerOptions();
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
java.util.Map<java.lang.String, java.lang.String>
getPlannerOptionsMap();
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
/* nullable */
java.lang.String getPlannerOptionsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
* <code>map<string, string> planner_options = 10 [json_name = "plannerOptions"];</code>
*/
java.lang.String getPlannerOptionsOrThrow(
java.lang.String key);
/**
* <code>string file_name = 11 [json_name = "fileName"];</code>
* @return The fileName.
*/
java.lang.String getFileName();
/**
* <code>string file_name = 11 [json_name = "fileName"];</code>
* @return The bytes for fileName.
*/
com.google.protobuf.ByteString
getFileNameBytes();
/**
* <pre>
* required
* </pre>
*
* <code>optional string deployment_id = 12 [json_name = "deploymentId"];</code>
* @return Whether the deploymentId field is set.
*/
boolean hasDeploymentId();
/**
* <pre>
* required
* </pre>
*
* <code>optional string deployment_id = 12 [json_name = "deploymentId"];</code>
* @return The deploymentId.
*/
java.lang.String getDeploymentId();
/**
* <pre>
* required
* </pre>
*
* <code>optional string deployment_id = 12 [json_name = "deploymentId"];</code>
* @return The bytes for deploymentId.
*/
com.google.protobuf.ByteString
getDeploymentIdBytes();
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
* @return Whether the sourceFileReference field is set.
*/
boolean hasSourceFileReference();
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
* @return The sourceFileReference.
*/
ai.chalk.protos.chalk.graph.v1.SourceFileReference getSourceFileReference();
/**
* <code>optional .chalk.graph.v1.SourceFileReference source_file_reference = 13 [json_name = "sourceFileReference"];</code>
*/
ai.chalk.protos.chalk.graph.v1.SourceFileReferenceOrBuilder getSourceFileReferenceOrBuilder();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/ParseInfo.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.ParseInfo}
*/
public final class ParseInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.ParseInfo)
ParseInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ParseInfo.newBuilder() to construct.
private ParseInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ParseInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ParseInfo();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_ParseInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_ParseInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.ParseInfo.class, ai.chalk.protos.chalk.graph.v1.ParseInfo.Builder.class);
}
private int bitField0_;
public static final int PARSE_FUNCTION_FIELD_NUMBER = 1;
private ai.chalk.protos.chalk.graph.v1.FunctionReference parseFunction_;
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
* @return Whether the parseFunction field is set.
*/
@java.lang.Override
public boolean hasParseFunction() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
* @return The parseFunction.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FunctionReference getParseFunction() {
return parseFunction_ == null ? ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance() : parseFunction_;
}
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder getParseFunctionOrBuilder() {
return parseFunction_ == null ? ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance() : parseFunction_;
}
public static final int PARSE_FUNCTION_INPUT_TYPE_FIELD_NUMBER = 2;
private ai.chalk.protos.chalk.arrow.v1.ArrowType parseFunctionInputType_;
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
* @return Whether the parseFunctionInputType field is set.
*/
@java.lang.Override
public boolean hasParseFunctionInputType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
* @return The parseFunctionInputType.
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ArrowType getParseFunctionInputType() {
return parseFunctionInputType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : parseFunctionInputType_;
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getParseFunctionInputTypeOrBuilder() {
return parseFunctionInputType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : parseFunctionInputType_;
}
public static final int PARSE_FUNCTION_OUTPUT_TYPE_FIELD_NUMBER = 3;
private ai.chalk.protos.chalk.arrow.v1.ArrowType parseFunctionOutputType_;
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
* @return Whether the parseFunctionOutputType field is set.
*/
@java.lang.Override
public boolean hasParseFunctionOutputType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
* @return The parseFunctionOutputType.
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ArrowType getParseFunctionOutputType() {
return parseFunctionOutputType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : parseFunctionOutputType_;
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getParseFunctionOutputTypeOrBuilder() {
return parseFunctionOutputType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : parseFunctionOutputType_;
}
public static final int IS_PARSE_FUNCTION_OUTPUT_OPTIONAL_FIELD_NUMBER = 4;
private boolean isParseFunctionOutputOptional_ = false;
/**
* <code>bool is_parse_function_output_optional = 4 [json_name = "isParseFunctionOutputOptional"];</code>
* @return The isParseFunctionOutputOptional.
*/
@java.lang.Override
public boolean getIsParseFunctionOutputOptional() {
return isParseFunctionOutputOptional_;
}
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, getParseFunction());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getParseFunctionInputType());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getParseFunctionOutputType());
}
if (isParseFunctionOutputOptional_ != false) {
output.writeBool(4, isParseFunctionOutputOptional_);
}
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, getParseFunction());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getParseFunctionInputType());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getParseFunctionOutputType());
}
if (isParseFunctionOutputOptional_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, isParseFunctionOutputOptional_);
}
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.graph.v1.ParseInfo)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.ParseInfo other = (ai.chalk.protos.chalk.graph.v1.ParseInfo) obj;
if (hasParseFunction() != other.hasParseFunction()) return false;
if (hasParseFunction()) {
if (!getParseFunction()
.equals(other.getParseFunction())) return false;
}
if (hasParseFunctionInputType() != other.hasParseFunctionInputType()) return false;
if (hasParseFunctionInputType()) {
if (!getParseFunctionInputType()
.equals(other.getParseFunctionInputType())) return false;
}
if (hasParseFunctionOutputType() != other.hasParseFunctionOutputType()) return false;
if (hasParseFunctionOutputType()) {
if (!getParseFunctionOutputType()
.equals(other.getParseFunctionOutputType())) return false;
}
if (getIsParseFunctionOutputOptional()
!= other.getIsParseFunctionOutputOptional()) 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 (hasParseFunction()) {
hash = (37 * hash) + PARSE_FUNCTION_FIELD_NUMBER;
hash = (53 * hash) + getParseFunction().hashCode();
}
if (hasParseFunctionInputType()) {
hash = (37 * hash) + PARSE_FUNCTION_INPUT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getParseFunctionInputType().hashCode();
}
if (hasParseFunctionOutputType()) {
hash = (37 * hash) + PARSE_FUNCTION_OUTPUT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getParseFunctionOutputType().hashCode();
}
hash = (37 * hash) + IS_PARSE_FUNCTION_OUTPUT_OPTIONAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsParseFunctionOutputOptional());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.ParseInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.ParseInfo 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.graph.v1.ParseInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.ParseInfo 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.graph.v1.ParseInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.ParseInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.ParseInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.ParseInfo 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.graph.v1.ParseInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.ParseInfo 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.graph.v1.ParseInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.ParseInfo 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.graph.v1.ParseInfo 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.graph.v1.ParseInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.ParseInfo)
ai.chalk.protos.chalk.graph.v1.ParseInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_ParseInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_ParseInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.ParseInfo.class, ai.chalk.protos.chalk.graph.v1.ParseInfo.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.ParseInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getParseFunctionFieldBuilder();
getParseFunctionInputTypeFieldBuilder();
getParseFunctionOutputTypeFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
parseFunction_ = null;
if (parseFunctionBuilder_ != null) {
parseFunctionBuilder_.dispose();
parseFunctionBuilder_ = null;
}
parseFunctionInputType_ = null;
if (parseFunctionInputTypeBuilder_ != null) {
parseFunctionInputTypeBuilder_.dispose();
parseFunctionInputTypeBuilder_ = null;
}
parseFunctionOutputType_ = null;
if (parseFunctionOutputTypeBuilder_ != null) {
parseFunctionOutputTypeBuilder_.dispose();
parseFunctionOutputTypeBuilder_ = null;
}
isParseFunctionOutputOptional_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_ParseInfo_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ParseInfo getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.ParseInfo.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ParseInfo build() {
ai.chalk.protos.chalk.graph.v1.ParseInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ParseInfo buildPartial() {
ai.chalk.protos.chalk.graph.v1.ParseInfo result = new ai.chalk.protos.chalk.graph.v1.ParseInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.ParseInfo result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.parseFunction_ = parseFunctionBuilder_ == null
? parseFunction_
: parseFunctionBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.parseFunctionInputType_ = parseFunctionInputTypeBuilder_ == null
? parseFunctionInputType_
: parseFunctionInputTypeBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.parseFunctionOutputType_ = parseFunctionOutputTypeBuilder_ == null
? parseFunctionOutputType_
: parseFunctionOutputTypeBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.isParseFunctionOutputOptional_ = isParseFunctionOutputOptional_;
}
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.graph.v1.ParseInfo) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.ParseInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.ParseInfo other) {
if (other == ai.chalk.protos.chalk.graph.v1.ParseInfo.getDefaultInstance()) return this;
if (other.hasParseFunction()) {
mergeParseFunction(other.getParseFunction());
}
if (other.hasParseFunctionInputType()) {
mergeParseFunctionInputType(other.getParseFunctionInputType());
}
if (other.hasParseFunctionOutputType()) {
mergeParseFunctionOutputType(other.getParseFunctionOutputType());
}
if (other.getIsParseFunctionOutputOptional() != false) {
setIsParseFunctionOutputOptional(other.getIsParseFunctionOutputOptional());
}
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(
getParseFunctionFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getParseFunctionInputTypeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getParseFunctionOutputTypeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
isParseFunctionOutputOptional_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
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.graph.v1.FunctionReference parseFunction_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FunctionReference, ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder, ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder> parseFunctionBuilder_;
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
* @return Whether the parseFunction field is set.
*/
public boolean hasParseFunction() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
* @return The parseFunction.
*/
public ai.chalk.protos.chalk.graph.v1.FunctionReference getParseFunction() {
if (parseFunctionBuilder_ == null) {
return parseFunction_ == null ? ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance() : parseFunction_;
} else {
return parseFunctionBuilder_.getMessage();
}
}
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
*/
public Builder setParseFunction(ai.chalk.protos.chalk.graph.v1.FunctionReference value) {
if (parseFunctionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
parseFunction_ = value;
} else {
parseFunctionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
*/
public Builder setParseFunction(
ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder builderForValue) {
if (parseFunctionBuilder_ == null) {
parseFunction_ = builderForValue.build();
} else {
parseFunctionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
*/
public Builder mergeParseFunction(ai.chalk.protos.chalk.graph.v1.FunctionReference value) {
if (parseFunctionBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
parseFunction_ != null &&
parseFunction_ != ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance()) {
getParseFunctionBuilder().mergeFrom(value);
} else {
parseFunction_ = value;
}
} else {
parseFunctionBuilder_.mergeFrom(value);
}
if (parseFunction_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
*/
public Builder clearParseFunction() {
bitField0_ = (bitField0_ & ~0x00000001);
parseFunction_ = null;
if (parseFunctionBuilder_ != null) {
parseFunctionBuilder_.dispose();
parseFunctionBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder getParseFunctionBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getParseFunctionFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder getParseFunctionOrBuilder() {
if (parseFunctionBuilder_ != null) {
return parseFunctionBuilder_.getMessageOrBuilder();
} else {
return parseFunction_ == null ?
ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance() : parseFunction_;
}
}
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FunctionReference, ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder, ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder>
getParseFunctionFieldBuilder() {
if (parseFunctionBuilder_ == null) {
parseFunctionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FunctionReference, ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder, ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder>(
getParseFunction(),
getParentForChildren(),
isClean());
parseFunction_ = null;
}
return parseFunctionBuilder_;
}
private ai.chalk.protos.chalk.arrow.v1.ArrowType parseFunctionInputType_;
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> parseFunctionInputTypeBuilder_;
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
* @return Whether the parseFunctionInputType field is set.
*/
public boolean hasParseFunctionInputType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
* @return The parseFunctionInputType.
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowType getParseFunctionInputType() {
if (parseFunctionInputTypeBuilder_ == null) {
return parseFunctionInputType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : parseFunctionInputType_;
} else {
return parseFunctionInputTypeBuilder_.getMessage();
}
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
*/
public Builder setParseFunctionInputType(ai.chalk.protos.chalk.arrow.v1.ArrowType value) {
if (parseFunctionInputTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
parseFunctionInputType_ = value;
} else {
parseFunctionInputTypeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
*/
public Builder setParseFunctionInputType(
ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder builderForValue) {
if (parseFunctionInputTypeBuilder_ == null) {
parseFunctionInputType_ = builderForValue.build();
} else {
parseFunctionInputTypeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
*/
public Builder mergeParseFunctionInputType(ai.chalk.protos.chalk.arrow.v1.ArrowType value) {
if (parseFunctionInputTypeBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
parseFunctionInputType_ != null &&
parseFunctionInputType_ != ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance()) {
getParseFunctionInputTypeBuilder().mergeFrom(value);
} else {
parseFunctionInputType_ = value;
}
} else {
parseFunctionInputTypeBuilder_.mergeFrom(value);
}
if (parseFunctionInputType_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
*/
public Builder clearParseFunctionInputType() {
bitField0_ = (bitField0_ & ~0x00000002);
parseFunctionInputType_ = null;
if (parseFunctionInputTypeBuilder_ != null) {
parseFunctionInputTypeBuilder_.dispose();
parseFunctionInputTypeBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder getParseFunctionInputTypeBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getParseFunctionInputTypeFieldBuilder().getBuilder();
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getParseFunctionInputTypeOrBuilder() {
if (parseFunctionInputTypeBuilder_ != null) {
return parseFunctionInputTypeBuilder_.getMessageOrBuilder();
} else {
return parseFunctionInputType_ == null ?
ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : parseFunctionInputType_;
}
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</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>
getParseFunctionInputTypeFieldBuilder() {
if (parseFunctionInputTypeBuilder_ == null) {
parseFunctionInputTypeBuilder_ = 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>(
getParseFunctionInputType(),
getParentForChildren(),
isClean());
parseFunctionInputType_ = null;
}
return parseFunctionInputTypeBuilder_;
}
private ai.chalk.protos.chalk.arrow.v1.ArrowType parseFunctionOutputType_;
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> parseFunctionOutputTypeBuilder_;
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
* @return Whether the parseFunctionOutputType field is set.
*/
public boolean hasParseFunctionOutputType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
* @return The parseFunctionOutputType.
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowType getParseFunctionOutputType() {
if (parseFunctionOutputTypeBuilder_ == null) {
return parseFunctionOutputType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : parseFunctionOutputType_;
} else {
return parseFunctionOutputTypeBuilder_.getMessage();
}
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
*/
public Builder setParseFunctionOutputType(ai.chalk.protos.chalk.arrow.v1.ArrowType value) {
if (parseFunctionOutputTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
parseFunctionOutputType_ = value;
} else {
parseFunctionOutputTypeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
*/
public Builder setParseFunctionOutputType(
ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder builderForValue) {
if (parseFunctionOutputTypeBuilder_ == null) {
parseFunctionOutputType_ = builderForValue.build();
} else {
parseFunctionOutputTypeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
*/
public Builder mergeParseFunctionOutputType(ai.chalk.protos.chalk.arrow.v1.ArrowType value) {
if (parseFunctionOutputTypeBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
parseFunctionOutputType_ != null &&
parseFunctionOutputType_ != ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance()) {
getParseFunctionOutputTypeBuilder().mergeFrom(value);
} else {
parseFunctionOutputType_ = value;
}
} else {
parseFunctionOutputTypeBuilder_.mergeFrom(value);
}
if (parseFunctionOutputType_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
*/
public Builder clearParseFunctionOutputType() {
bitField0_ = (bitField0_ & ~0x00000004);
parseFunctionOutputType_ = null;
if (parseFunctionOutputTypeBuilder_ != null) {
parseFunctionOutputTypeBuilder_.dispose();
parseFunctionOutputTypeBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder getParseFunctionOutputTypeBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getParseFunctionOutputTypeFieldBuilder().getBuilder();
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getParseFunctionOutputTypeOrBuilder() {
if (parseFunctionOutputTypeBuilder_ != null) {
return parseFunctionOutputTypeBuilder_.getMessageOrBuilder();
} else {
return parseFunctionOutputType_ == null ?
ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : parseFunctionOutputType_;
}
}
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</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>
getParseFunctionOutputTypeFieldBuilder() {
if (parseFunctionOutputTypeBuilder_ == null) {
parseFunctionOutputTypeBuilder_ = 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>(
getParseFunctionOutputType(),
getParentForChildren(),
isClean());
parseFunctionOutputType_ = null;
}
return parseFunctionOutputTypeBuilder_;
}
private boolean isParseFunctionOutputOptional_ ;
/**
* <code>bool is_parse_function_output_optional = 4 [json_name = "isParseFunctionOutputOptional"];</code>
* @return The isParseFunctionOutputOptional.
*/
@java.lang.Override
public boolean getIsParseFunctionOutputOptional() {
return isParseFunctionOutputOptional_;
}
/**
* <code>bool is_parse_function_output_optional = 4 [json_name = "isParseFunctionOutputOptional"];</code>
* @param value The isParseFunctionOutputOptional to set.
* @return This builder for chaining.
*/
public Builder setIsParseFunctionOutputOptional(boolean value) {
isParseFunctionOutputOptional_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>bool is_parse_function_output_optional = 4 [json_name = "isParseFunctionOutputOptional"];</code>
* @return This builder for chaining.
*/
public Builder clearIsParseFunctionOutputOptional() {
bitField0_ = (bitField0_ & ~0x00000008);
isParseFunctionOutputOptional_ = 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.graph.v1.ParseInfo)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.ParseInfo)
private static final ai.chalk.protos.chalk.graph.v1.ParseInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.ParseInfo();
}
public static ai.chalk.protos.chalk.graph.v1.ParseInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ParseInfo>
PARSER = new com.google.protobuf.AbstractParser<ParseInfo>() {
@java.lang.Override
public ParseInfo 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<ParseInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ParseInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ParseInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/ParseInfoOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface ParseInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.ParseInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
* @return Whether the parseFunction field is set.
*/
boolean hasParseFunction();
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
* @return The parseFunction.
*/
ai.chalk.protos.chalk.graph.v1.FunctionReference getParseFunction();
/**
* <code>.chalk.graph.v1.FunctionReference parse_function = 1 [json_name = "parseFunction"];</code>
*/
ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder getParseFunctionOrBuilder();
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
* @return Whether the parseFunctionInputType field is set.
*/
boolean hasParseFunctionInputType();
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
* @return The parseFunctionInputType.
*/
ai.chalk.protos.chalk.arrow.v1.ArrowType getParseFunctionInputType();
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_input_type = 2 [json_name = "parseFunctionInputType"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getParseFunctionInputTypeOrBuilder();
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
* @return Whether the parseFunctionOutputType field is set.
*/
boolean hasParseFunctionOutputType();
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
* @return The parseFunctionOutputType.
*/
ai.chalk.protos.chalk.arrow.v1.ArrowType getParseFunctionOutputType();
/**
* <code>.chalk.arrow.v1.ArrowType parse_function_output_type = 3 [json_name = "parseFunctionOutputType"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getParseFunctionOutputTypeOrBuilder();
/**
* <code>bool is_parse_function_output_optional = 4 [json_name = "isParseFunctionOutputOptional"];</code>
* @return The isParseFunctionOutputOptional.
*/
boolean getIsParseFunctionOutputOptional();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/PostgresSource.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.PostgresSource}
*/
public final class PostgresSource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.PostgresSource)
PostgresSourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use PostgresSource.newBuilder() to construct.
private PostgresSource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private PostgresSource() {
name_ = "";
host_ = "";
port_ = "";
db_ = "";
user_ = "";
password_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PostgresSource();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_PostgresSource_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 7:
return internalGetEngineArgs();
case 8:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_PostgresSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.PostgresSource.class, ai.chalk.protos.chalk.graph.v1.PostgresSource.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;
}
}
public static final int HOST_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object host_ = "";
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The host.
*/
@java.lang.Override
public java.lang.String getHost() {
java.lang.Object ref = host_;
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();
host_ = s;
return s;
}
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The bytes for host.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PORT_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object port_ = "";
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The port.
*/
@java.lang.Override
public java.lang.String getPort() {
java.lang.Object ref = port_;
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();
port_ = s;
return s;
}
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The bytes for port.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPortBytes() {
java.lang.Object ref = port_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
port_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object db_ = "";
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The db.
*/
@java.lang.Override
public java.lang.String getDb() {
java.lang.Object ref = db_;
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();
db_ = s;
return s;
}
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The bytes for db.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDbBytes() {
java.lang.Object ref = db_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
db_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USER_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object user_ = "";
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The user.
*/
@java.lang.Override
public java.lang.String getUser() {
java.lang.Object ref = user_;
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();
user_ = s;
return s;
}
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The bytes for user.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PASSWORD_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object password_ = "";
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The password.
*/
@java.lang.Override
public java.lang.String getPassword() {
java.lang.Object ref = password_;
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();
password_ = s;
return s;
}
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The bytes for password.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPasswordBytes() {
java.lang.Object ref = password_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
password_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENGINE_ARGS_FIELD_NUMBER = 7;
private static final class EngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_PostgresSource_EngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> engineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
EngineArgsDefaultEntryHolder.defaultEntry);
}
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int ASYNC_ENGINE_ARGS_FIELD_NUMBER = 8;
private static final class AsyncEngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_PostgresSource_AsyncEngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> asyncEngineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, host_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(port_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, port_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(db_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, db_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, user_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, password_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetEngineArgs(),
EngineArgsDefaultEntryHolder.defaultEntry,
7);
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetAsyncEngineArgs(),
AsyncEngineArgsDefaultEntryHolder.defaultEntry,
8);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, host_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(port_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, port_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(db_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, db_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, user_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, password_);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = EngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, engineArgs__);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetAsyncEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = AsyncEngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, asyncEngineArgs__);
}
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.graph.v1.PostgresSource)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.PostgresSource other = (ai.chalk.protos.chalk.graph.v1.PostgresSource) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getHost()
.equals(other.getHost())) return false;
if (!getPort()
.equals(other.getPort())) return false;
if (!getDb()
.equals(other.getDb())) return false;
if (!getUser()
.equals(other.getUser())) return false;
if (!getPassword()
.equals(other.getPassword())) return false;
if (!internalGetEngineArgs().equals(
other.internalGetEngineArgs())) return false;
if (!internalGetAsyncEngineArgs().equals(
other.internalGetAsyncEngineArgs())) 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 = (37 * hash) + HOST_FIELD_NUMBER;
hash = (53 * hash) + getHost().hashCode();
hash = (37 * hash) + PORT_FIELD_NUMBER;
hash = (53 * hash) + getPort().hashCode();
hash = (37 * hash) + DB_FIELD_NUMBER;
hash = (53 * hash) + getDb().hashCode();
hash = (37 * hash) + USER_FIELD_NUMBER;
hash = (53 * hash) + getUser().hashCode();
hash = (37 * hash) + PASSWORD_FIELD_NUMBER;
hash = (53 * hash) + getPassword().hashCode();
if (!internalGetEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetEngineArgs().hashCode();
}
if (!internalGetAsyncEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ASYNC_ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetAsyncEngineArgs().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.PostgresSource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.PostgresSource 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.graph.v1.PostgresSource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.PostgresSource 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.graph.v1.PostgresSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.PostgresSource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.PostgresSource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.PostgresSource 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.graph.v1.PostgresSource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.PostgresSource 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.graph.v1.PostgresSource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.PostgresSource 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.graph.v1.PostgresSource 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.graph.v1.PostgresSource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.PostgresSource)
ai.chalk.protos.chalk.graph.v1.PostgresSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_PostgresSource_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 7:
return internalGetEngineArgs();
case 8:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
int number) {
switch (number) {
case 7:
return internalGetMutableEngineArgs();
case 8:
return internalGetMutableAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_PostgresSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.PostgresSource.class, ai.chalk.protos.chalk.graph.v1.PostgresSource.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.PostgresSource.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
host_ = "";
port_ = "";
db_ = "";
user_ = "";
password_ = "";
internalGetMutableEngineArgs().clear();
internalGetMutableAsyncEngineArgs().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_PostgresSource_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.PostgresSource getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.PostgresSource.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.PostgresSource build() {
ai.chalk.protos.chalk.graph.v1.PostgresSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.PostgresSource buildPartial() {
ai.chalk.protos.chalk.graph.v1.PostgresSource result = new ai.chalk.protos.chalk.graph.v1.PostgresSource(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.PostgresSource result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.host_ = host_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.port_ = port_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.db_ = db_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.user_ = user_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.password_ = password_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.engineArgs_ = internalGetEngineArgs().build(EngineArgsDefaultEntryHolder.defaultEntry);
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.asyncEngineArgs_ = internalGetAsyncEngineArgs().build(AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
}
@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.graph.v1.PostgresSource) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.PostgresSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.PostgresSource other) {
if (other == ai.chalk.protos.chalk.graph.v1.PostgresSource.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getHost().isEmpty()) {
host_ = other.host_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getPort().isEmpty()) {
port_ = other.port_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getDb().isEmpty()) {
db_ = other.db_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getUser().isEmpty()) {
user_ = other.user_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getPassword().isEmpty()) {
password_ = other.password_;
bitField0_ |= 0x00000020;
onChanged();
}
internalGetMutableEngineArgs().mergeFrom(
other.internalGetEngineArgs());
bitField0_ |= 0x00000040;
internalGetMutableAsyncEngineArgs().mergeFrom(
other.internalGetAsyncEngineArgs());
bitField0_ |= 0x00000080;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
host_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
port_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
db_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
user_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
password_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = input.readMessage(
EngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableEngineArgs().ensureBuilderMap().put(
engineArgs__.getKey(), engineArgs__.getValue());
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = input.readMessage(
AsyncEngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableAsyncEngineArgs().ensureBuilderMap().put(
asyncEngineArgs__.getKey(), asyncEngineArgs__.getValue());
bitField0_ |= 0x00000080;
break;
} // case 66
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object host_ = "";
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The host.
*/
public java.lang.String getHost() {
java.lang.Object ref = host_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
host_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The bytes for host.
*/
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @param value The host to set.
* @return This builder for chaining.
*/
public Builder setHost(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
host_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return This builder for chaining.
*/
public Builder clearHost() {
host_ = getDefaultInstance().getHost();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @param value The bytes for host to set.
* @return This builder for chaining.
*/
public Builder setHostBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
host_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object port_ = "";
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The port.
*/
public java.lang.String getPort() {
java.lang.Object ref = port_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
port_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The bytes for port.
*/
public com.google.protobuf.ByteString
getPortBytes() {
java.lang.Object ref = port_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
port_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @param value The port to set.
* @return This builder for chaining.
*/
public Builder setPort(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
port_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return This builder for chaining.
*/
public Builder clearPort() {
port_ = getDefaultInstance().getPort();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @param value The bytes for port to set.
* @return This builder for chaining.
*/
public Builder setPortBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
port_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object db_ = "";
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The db.
*/
public java.lang.String getDb() {
java.lang.Object ref = db_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
db_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The bytes for db.
*/
public com.google.protobuf.ByteString
getDbBytes() {
java.lang.Object ref = db_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
db_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @param value The db to set.
* @return This builder for chaining.
*/
public Builder setDb(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
db_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return This builder for chaining.
*/
public Builder clearDb() {
db_ = getDefaultInstance().getDb();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @param value The bytes for db to set.
* @return This builder for chaining.
*/
public Builder setDbBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
db_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object user_ = "";
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The user.
*/
public java.lang.String getUser() {
java.lang.Object ref = user_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
user_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The bytes for user.
*/
public com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @param value The user to set.
* @return This builder for chaining.
*/
public Builder setUser(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
user_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return This builder for chaining.
*/
public Builder clearUser() {
user_ = getDefaultInstance().getUser();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @param value The bytes for user to set.
* @return This builder for chaining.
*/
public Builder setUserBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
user_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object password_ = "";
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The password.
*/
public java.lang.String getPassword() {
java.lang.Object ref = password_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
password_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The bytes for password.
*/
public com.google.protobuf.ByteString
getPasswordBytes() {
java.lang.Object ref = password_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
password_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @param value The password to set.
* @return This builder for chaining.
*/
public Builder setPassword(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
password_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return This builder for chaining.
*/
public Builder clearPassword() {
password_ = getDefaultInstance().getPassword();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @param value The bytes for password to set.
* @return This builder for chaining.
*/
public Builder setPasswordBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
password_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private static final class EngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return EngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final EngineArgsConverter engineArgsConverter = new EngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> engineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
return engineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableEngineArgs() {
if (engineArgs_ == null) {
engineArgs_ = new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
bitField0_ |= 0x00000040;
onChanged();
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? engineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return engineArgsConverter.build(map.get(key));
}
public Builder clearEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000040);
internalGetMutableEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public Builder removeEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableEngineArgs().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.ScalarValue>
getMutableEngineArgs() {
bitField0_ |= 0x00000040;
return internalGetMutableEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public Builder putEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public Builder putAllEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) entry;
}
private static final class AsyncEngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return AsyncEngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final AsyncEngineArgsConverter asyncEngineArgsConverter = new AsyncEngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> asyncEngineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
return asyncEngineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
asyncEngineArgs_ = new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
bitField0_ |= 0x00000080;
onChanged();
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? asyncEngineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return asyncEngineArgsConverter.build(map.get(key));
}
public Builder clearAsyncEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000080);
internalGetMutableAsyncEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public Builder removeAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableAsyncEngineArgs().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.ScalarValue>
getMutableAsyncEngineArgs() {
bitField0_ |= 0x00000080;
return internalGetMutableAsyncEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAsyncEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000080;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAllAsyncEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000080;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putAsyncEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.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.graph.v1.PostgresSource)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.PostgresSource)
private static final ai.chalk.protos.chalk.graph.v1.PostgresSource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.PostgresSource();
}
public static ai.chalk.protos.chalk.graph.v1.PostgresSource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<PostgresSource>
PARSER = new com.google.protobuf.AbstractParser<PostgresSource>() {
@java.lang.Override
public PostgresSource 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<PostgresSource> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<PostgresSource> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.PostgresSource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/PostgresSourceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface PostgresSourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.PostgresSource)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The host.
*/
java.lang.String getHost();
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The bytes for host.
*/
com.google.protobuf.ByteString
getHostBytes();
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The port.
*/
java.lang.String getPort();
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The bytes for port.
*/
com.google.protobuf.ByteString
getPortBytes();
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The db.
*/
java.lang.String getDb();
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The bytes for db.
*/
com.google.protobuf.ByteString
getDbBytes();
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The user.
*/
java.lang.String getUser();
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The bytes for user.
*/
com.google.protobuf.ByteString
getUserBytes();
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The password.
*/
java.lang.String getPassword();
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The bytes for password.
*/
com.google.protobuf.ByteString
getPasswordBytes();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
int getEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
boolean containsEngineArgs(
java.lang.String key);
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
int getAsyncEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
boolean containsAsyncEngineArgs(
java.lang.String key);
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key);
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/PubSubSource.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.PubSubSource}
*/
public final class PubSubSource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.PubSubSource)
PubSubSourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use PubSubSource.newBuilder() to construct.
private PubSubSource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private PubSubSource() {
name_ = "";
projectId_ = "";
subscriptionId_ = "";
deadLetterQueueTopic_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PubSubSource();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_PubSubSource_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_PubSubSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.PubSubSource.class, ai.chalk.protos.chalk.graph.v1.PubSubSource.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROJECT_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object projectId_ = "";
/**
* <code>string project_id = 2 [json_name = "projectId"];</code>
* @return The projectId.
*/
@java.lang.Override
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
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();
projectId_ = s;
return s;
}
}
/**
* <code>string project_id = 2 [json_name = "projectId"];</code>
* @return The bytes for projectId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProjectIdBytes() {
java.lang.Object ref = projectId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
projectId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SUBSCRIPTION_ID_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object subscriptionId_ = "";
/**
* <code>string subscription_id = 3 [json_name = "subscriptionId"];</code>
* @return The subscriptionId.
*/
@java.lang.Override
public java.lang.String getSubscriptionId() {
java.lang.Object ref = subscriptionId_;
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();
subscriptionId_ = s;
return s;
}
}
/**
* <code>string subscription_id = 3 [json_name = "subscriptionId"];</code>
* @return The bytes for subscriptionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSubscriptionIdBytes() {
java.lang.Object ref = subscriptionId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subscriptionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LATE_ARRIVAL_DEADLINE_FIELD_NUMBER = 4;
private com.google.protobuf.Duration lateArrivalDeadline_;
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
* @return Whether the lateArrivalDeadline field is set.
*/
@java.lang.Override
public boolean hasLateArrivalDeadline() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
* @return The lateArrivalDeadline.
*/
@java.lang.Override
public com.google.protobuf.Duration getLateArrivalDeadline() {
return lateArrivalDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lateArrivalDeadline_;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
*/
@java.lang.Override
public com.google.protobuf.DurationOrBuilder getLateArrivalDeadlineOrBuilder() {
return lateArrivalDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lateArrivalDeadline_;
}
public static final int DEAD_LETTER_QUEUE_TOPIC_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object deadLetterQueueTopic_ = "";
/**
* <code>string dead_letter_queue_topic = 5 [json_name = "deadLetterQueueTopic"];</code>
* @return The deadLetterQueueTopic.
*/
@java.lang.Override
public java.lang.String getDeadLetterQueueTopic() {
java.lang.Object ref = deadLetterQueueTopic_;
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();
deadLetterQueueTopic_ = s;
return s;
}
}
/**
* <code>string dead_letter_queue_topic = 5 [json_name = "deadLetterQueueTopic"];</code>
* @return The bytes for deadLetterQueueTopic.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDeadLetterQueueTopicBytes() {
java.lang.Object ref = deadLetterQueueTopic_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deadLetterQueueTopic_ = 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_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscriptionId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, subscriptionId_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(4, getLateArrivalDeadline());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterQueueTopic_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, deadLetterQueueTopic_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, projectId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscriptionId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subscriptionId_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getLateArrivalDeadline());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterQueueTopic_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, deadLetterQueueTopic_);
}
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.graph.v1.PubSubSource)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.PubSubSource other = (ai.chalk.protos.chalk.graph.v1.PubSubSource) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getProjectId()
.equals(other.getProjectId())) return false;
if (!getSubscriptionId()
.equals(other.getSubscriptionId())) return false;
if (hasLateArrivalDeadline() != other.hasLateArrivalDeadline()) return false;
if (hasLateArrivalDeadline()) {
if (!getLateArrivalDeadline()
.equals(other.getLateArrivalDeadline())) return false;
}
if (!getDeadLetterQueueTopic()
.equals(other.getDeadLetterQueueTopic())) 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 = (37 * hash) + PROJECT_ID_FIELD_NUMBER;
hash = (53 * hash) + getProjectId().hashCode();
hash = (37 * hash) + SUBSCRIPTION_ID_FIELD_NUMBER;
hash = (53 * hash) + getSubscriptionId().hashCode();
if (hasLateArrivalDeadline()) {
hash = (37 * hash) + LATE_ARRIVAL_DEADLINE_FIELD_NUMBER;
hash = (53 * hash) + getLateArrivalDeadline().hashCode();
}
hash = (37 * hash) + DEAD_LETTER_QUEUE_TOPIC_FIELD_NUMBER;
hash = (53 * hash) + getDeadLetterQueueTopic().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.PubSubSource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.PubSubSource 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.graph.v1.PubSubSource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.PubSubSource 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.graph.v1.PubSubSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.PubSubSource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.PubSubSource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.PubSubSource 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.graph.v1.PubSubSource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.PubSubSource 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.graph.v1.PubSubSource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.PubSubSource 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.graph.v1.PubSubSource 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.graph.v1.PubSubSource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.PubSubSource)
ai.chalk.protos.chalk.graph.v1.PubSubSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_PubSubSource_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_PubSubSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.PubSubSource.class, ai.chalk.protos.chalk.graph.v1.PubSubSource.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.PubSubSource.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLateArrivalDeadlineFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
projectId_ = "";
subscriptionId_ = "";
lateArrivalDeadline_ = null;
if (lateArrivalDeadlineBuilder_ != null) {
lateArrivalDeadlineBuilder_.dispose();
lateArrivalDeadlineBuilder_ = null;
}
deadLetterQueueTopic_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_PubSubSource_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.PubSubSource getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.PubSubSource.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.PubSubSource build() {
ai.chalk.protos.chalk.graph.v1.PubSubSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.PubSubSource buildPartial() {
ai.chalk.protos.chalk.graph.v1.PubSubSource result = new ai.chalk.protos.chalk.graph.v1.PubSubSource(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.PubSubSource result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.projectId_ = projectId_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.subscriptionId_ = subscriptionId_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.lateArrivalDeadline_ = lateArrivalDeadlineBuilder_ == null
? lateArrivalDeadline_
: lateArrivalDeadlineBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.deadLetterQueueTopic_ = deadLetterQueueTopic_;
}
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.graph.v1.PubSubSource) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.PubSubSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.PubSubSource other) {
if (other == ai.chalk.protos.chalk.graph.v1.PubSubSource.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getProjectId().isEmpty()) {
projectId_ = other.projectId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getSubscriptionId().isEmpty()) {
subscriptionId_ = other.subscriptionId_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasLateArrivalDeadline()) {
mergeLateArrivalDeadline(other.getLateArrivalDeadline());
}
if (!other.getDeadLetterQueueTopic().isEmpty()) {
deadLetterQueueTopic_ = other.deadLetterQueueTopic_;
bitField0_ |= 0x00000010;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
projectId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
subscriptionId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getLateArrivalDeadlineFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
deadLetterQueueTopic_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object projectId_ = "";
/**
* <code>string project_id = 2 [json_name = "projectId"];</code>
* @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
projectId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string project_id = 2 [json_name = "projectId"];</code>
* @return The bytes for projectId.
*/
public com.google.protobuf.ByteString
getProjectIdBytes() {
java.lang.Object ref = projectId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
projectId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string project_id = 2 [json_name = "projectId"];</code>
* @param value The projectId to set.
* @return This builder for chaining.
*/
public Builder setProjectId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
projectId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>string project_id = 2 [json_name = "projectId"];</code>
* @return This builder for chaining.
*/
public Builder clearProjectId() {
projectId_ = getDefaultInstance().getProjectId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>string project_id = 2 [json_name = "projectId"];</code>
* @param value The bytes for projectId to set.
* @return This builder for chaining.
*/
public Builder setProjectIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
projectId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object subscriptionId_ = "";
/**
* <code>string subscription_id = 3 [json_name = "subscriptionId"];</code>
* @return The subscriptionId.
*/
public java.lang.String getSubscriptionId() {
java.lang.Object ref = subscriptionId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
subscriptionId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string subscription_id = 3 [json_name = "subscriptionId"];</code>
* @return The bytes for subscriptionId.
*/
public com.google.protobuf.ByteString
getSubscriptionIdBytes() {
java.lang.Object ref = subscriptionId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subscriptionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string subscription_id = 3 [json_name = "subscriptionId"];</code>
* @param value The subscriptionId to set.
* @return This builder for chaining.
*/
public Builder setSubscriptionId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
subscriptionId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>string subscription_id = 3 [json_name = "subscriptionId"];</code>
* @return This builder for chaining.
*/
public Builder clearSubscriptionId() {
subscriptionId_ = getDefaultInstance().getSubscriptionId();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>string subscription_id = 3 [json_name = "subscriptionId"];</code>
* @param value The bytes for subscriptionId to set.
* @return This builder for chaining.
*/
public Builder setSubscriptionIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
subscriptionId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private com.google.protobuf.Duration lateArrivalDeadline_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> lateArrivalDeadlineBuilder_;
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
* @return Whether the lateArrivalDeadline field is set.
*/
public boolean hasLateArrivalDeadline() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
* @return The lateArrivalDeadline.
*/
public com.google.protobuf.Duration getLateArrivalDeadline() {
if (lateArrivalDeadlineBuilder_ == null) {
return lateArrivalDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lateArrivalDeadline_;
} else {
return lateArrivalDeadlineBuilder_.getMessage();
}
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
*/
public Builder setLateArrivalDeadline(com.google.protobuf.Duration value) {
if (lateArrivalDeadlineBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lateArrivalDeadline_ = value;
} else {
lateArrivalDeadlineBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
*/
public Builder setLateArrivalDeadline(
com.google.protobuf.Duration.Builder builderForValue) {
if (lateArrivalDeadlineBuilder_ == null) {
lateArrivalDeadline_ = builderForValue.build();
} else {
lateArrivalDeadlineBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
*/
public Builder mergeLateArrivalDeadline(com.google.protobuf.Duration value) {
if (lateArrivalDeadlineBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
lateArrivalDeadline_ != null &&
lateArrivalDeadline_ != com.google.protobuf.Duration.getDefaultInstance()) {
getLateArrivalDeadlineBuilder().mergeFrom(value);
} else {
lateArrivalDeadline_ = value;
}
} else {
lateArrivalDeadlineBuilder_.mergeFrom(value);
}
if (lateArrivalDeadline_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
*/
public Builder clearLateArrivalDeadline() {
bitField0_ = (bitField0_ & ~0x00000008);
lateArrivalDeadline_ = null;
if (lateArrivalDeadlineBuilder_ != null) {
lateArrivalDeadlineBuilder_.dispose();
lateArrivalDeadlineBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
*/
public com.google.protobuf.Duration.Builder getLateArrivalDeadlineBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getLateArrivalDeadlineFieldBuilder().getBuilder();
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
*/
public com.google.protobuf.DurationOrBuilder getLateArrivalDeadlineOrBuilder() {
if (lateArrivalDeadlineBuilder_ != null) {
return lateArrivalDeadlineBuilder_.getMessageOrBuilder();
} else {
return lateArrivalDeadline_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : lateArrivalDeadline_;
}
}
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getLateArrivalDeadlineFieldBuilder() {
if (lateArrivalDeadlineBuilder_ == null) {
lateArrivalDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getLateArrivalDeadline(),
getParentForChildren(),
isClean());
lateArrivalDeadline_ = null;
}
return lateArrivalDeadlineBuilder_;
}
private java.lang.Object deadLetterQueueTopic_ = "";
/**
* <code>string dead_letter_queue_topic = 5 [json_name = "deadLetterQueueTopic"];</code>
* @return The deadLetterQueueTopic.
*/
public java.lang.String getDeadLetterQueueTopic() {
java.lang.Object ref = deadLetterQueueTopic_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
deadLetterQueueTopic_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string dead_letter_queue_topic = 5 [json_name = "deadLetterQueueTopic"];</code>
* @return The bytes for deadLetterQueueTopic.
*/
public com.google.protobuf.ByteString
getDeadLetterQueueTopicBytes() {
java.lang.Object ref = deadLetterQueueTopic_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deadLetterQueueTopic_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string dead_letter_queue_topic = 5 [json_name = "deadLetterQueueTopic"];</code>
* @param value The deadLetterQueueTopic to set.
* @return This builder for chaining.
*/
public Builder setDeadLetterQueueTopic(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
deadLetterQueueTopic_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>string dead_letter_queue_topic = 5 [json_name = "deadLetterQueueTopic"];</code>
* @return This builder for chaining.
*/
public Builder clearDeadLetterQueueTopic() {
deadLetterQueueTopic_ = getDefaultInstance().getDeadLetterQueueTopic();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>string dead_letter_queue_topic = 5 [json_name = "deadLetterQueueTopic"];</code>
* @param value The bytes for deadLetterQueueTopic to set.
* @return This builder for chaining.
*/
public Builder setDeadLetterQueueTopicBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
deadLetterQueueTopic_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:chalk.graph.v1.PubSubSource)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.PubSubSource)
private static final ai.chalk.protos.chalk.graph.v1.PubSubSource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.PubSubSource();
}
public static ai.chalk.protos.chalk.graph.v1.PubSubSource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<PubSubSource>
PARSER = new com.google.protobuf.AbstractParser<PubSubSource>() {
@java.lang.Override
public PubSubSource 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<PubSubSource> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<PubSubSource> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.PubSubSource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/PubSubSourceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface PubSubSourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.PubSubSource)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>string project_id = 2 [json_name = "projectId"];</code>
* @return The projectId.
*/
java.lang.String getProjectId();
/**
* <code>string project_id = 2 [json_name = "projectId"];</code>
* @return The bytes for projectId.
*/
com.google.protobuf.ByteString
getProjectIdBytes();
/**
* <code>string subscription_id = 3 [json_name = "subscriptionId"];</code>
* @return The subscriptionId.
*/
java.lang.String getSubscriptionId();
/**
* <code>string subscription_id = 3 [json_name = "subscriptionId"];</code>
* @return The bytes for subscriptionId.
*/
com.google.protobuf.ByteString
getSubscriptionIdBytes();
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
* @return Whether the lateArrivalDeadline field is set.
*/
boolean hasLateArrivalDeadline();
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
* @return The lateArrivalDeadline.
*/
com.google.protobuf.Duration getLateArrivalDeadline();
/**
* <code>.google.protobuf.Duration late_arrival_deadline = 4 [json_name = "lateArrivalDeadline"];</code>
*/
com.google.protobuf.DurationOrBuilder getLateArrivalDeadlineOrBuilder();
/**
* <code>string dead_letter_queue_topic = 5 [json_name = "deadLetterQueueTopic"];</code>
* @return The deadLetterQueueTopic.
*/
java.lang.String getDeadLetterQueueTopic();
/**
* <code>string dead_letter_queue_topic = 5 [json_name = "deadLetterQueueTopic"];</code>
* @return The bytes for deadLetterQueueTopic.
*/
com.google.protobuf.ByteString
getDeadLetterQueueTopicBytes();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/RedshiftSource.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.RedshiftSource}
*/
public final class RedshiftSource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.RedshiftSource)
RedshiftSourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use RedshiftSource.newBuilder() to construct.
private RedshiftSource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RedshiftSource() {
name_ = "";
host_ = "";
port_ = "";
db_ = "";
user_ = "";
password_ = "";
s3Client_ = "";
s3Bucket_ = "";
unloadIamRole_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RedshiftSource();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_RedshiftSource_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 9:
return internalGetEngineArgs();
case 10:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_RedshiftSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.RedshiftSource.class, ai.chalk.protos.chalk.graph.v1.RedshiftSource.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;
}
}
public static final int HOST_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object host_ = "";
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The host.
*/
@java.lang.Override
public java.lang.String getHost() {
java.lang.Object ref = host_;
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();
host_ = s;
return s;
}
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The bytes for host.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PORT_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object port_ = "";
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The port.
*/
@java.lang.Override
public java.lang.String getPort() {
java.lang.Object ref = port_;
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();
port_ = s;
return s;
}
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The bytes for port.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPortBytes() {
java.lang.Object ref = port_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
port_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object db_ = "";
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The db.
*/
@java.lang.Override
public java.lang.String getDb() {
java.lang.Object ref = db_;
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();
db_ = s;
return s;
}
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The bytes for db.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDbBytes() {
java.lang.Object ref = db_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
db_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USER_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object user_ = "";
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The user.
*/
@java.lang.Override
public java.lang.String getUser() {
java.lang.Object ref = user_;
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();
user_ = s;
return s;
}
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The bytes for user.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PASSWORD_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object password_ = "";
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The password.
*/
@java.lang.Override
public java.lang.String getPassword() {
java.lang.Object ref = password_;
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();
password_ = s;
return s;
}
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The bytes for password.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPasswordBytes() {
java.lang.Object ref = password_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
password_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int S3_CLIENT_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object s3Client_ = "";
/**
* <code>string s3_client = 7 [json_name = "s3Client"];</code>
* @return The s3Client.
*/
@java.lang.Override
public java.lang.String getS3Client() {
java.lang.Object ref = s3Client_;
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();
s3Client_ = s;
return s;
}
}
/**
* <code>string s3_client = 7 [json_name = "s3Client"];</code>
* @return The bytes for s3Client.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getS3ClientBytes() {
java.lang.Object ref = s3Client_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
s3Client_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int S3_BUCKET_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object s3Bucket_ = "";
/**
* <code>string s3_bucket = 8 [json_name = "s3Bucket"];</code>
* @return The s3Bucket.
*/
@java.lang.Override
public java.lang.String getS3Bucket() {
java.lang.Object ref = s3Bucket_;
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();
s3Bucket_ = s;
return s;
}
}
/**
* <code>string s3_bucket = 8 [json_name = "s3Bucket"];</code>
* @return The bytes for s3Bucket.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getS3BucketBytes() {
java.lang.Object ref = s3Bucket_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
s3Bucket_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENGINE_ARGS_FIELD_NUMBER = 9;
private static final class EngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_RedshiftSource_EngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> engineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
EngineArgsDefaultEntryHolder.defaultEntry);
}
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int ASYNC_ENGINE_ARGS_FIELD_NUMBER = 10;
private static final class AsyncEngineArgsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>newDefaultInstance(
ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_RedshiftSource_AsyncEngineArgsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> asyncEngineArgs_;
private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().getMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().getMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> map =
internalGetAsyncEngineArgs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int UNLOAD_IAM_ROLE_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private volatile java.lang.Object unloadIamRole_ = "";
/**
* <code>string unload_iam_role = 11 [json_name = "unloadIamRole"];</code>
* @return The unloadIamRole.
*/
@java.lang.Override
public java.lang.String getUnloadIamRole() {
java.lang.Object ref = unloadIamRole_;
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();
unloadIamRole_ = s;
return s;
}
}
/**
* <code>string unload_iam_role = 11 [json_name = "unloadIamRole"];</code>
* @return The bytes for unloadIamRole.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUnloadIamRoleBytes() {
java.lang.Object ref = unloadIamRole_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
unloadIamRole_ = 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_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, host_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(port_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, port_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(db_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, db_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, user_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, password_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(s3Client_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, s3Client_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(s3Bucket_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, s3Bucket_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetEngineArgs(),
EngineArgsDefaultEntryHolder.defaultEntry,
9);
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetAsyncEngineArgs(),
AsyncEngineArgsDefaultEntryHolder.defaultEntry,
10);
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unloadIamRole_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, unloadIamRole_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, host_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(port_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, port_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(db_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, db_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, user_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, password_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(s3Client_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, s3Client_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(s3Bucket_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, s3Bucket_);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = EngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, engineArgs__);
}
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> entry
: internalGetAsyncEngineArgs().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = AsyncEngineArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, asyncEngineArgs__);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unloadIamRole_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, unloadIamRole_);
}
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.graph.v1.RedshiftSource)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.RedshiftSource other = (ai.chalk.protos.chalk.graph.v1.RedshiftSource) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getHost()
.equals(other.getHost())) return false;
if (!getPort()
.equals(other.getPort())) return false;
if (!getDb()
.equals(other.getDb())) return false;
if (!getUser()
.equals(other.getUser())) return false;
if (!getPassword()
.equals(other.getPassword())) return false;
if (!getS3Client()
.equals(other.getS3Client())) return false;
if (!getS3Bucket()
.equals(other.getS3Bucket())) return false;
if (!internalGetEngineArgs().equals(
other.internalGetEngineArgs())) return false;
if (!internalGetAsyncEngineArgs().equals(
other.internalGetAsyncEngineArgs())) return false;
if (!getUnloadIamRole()
.equals(other.getUnloadIamRole())) 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 = (37 * hash) + HOST_FIELD_NUMBER;
hash = (53 * hash) + getHost().hashCode();
hash = (37 * hash) + PORT_FIELD_NUMBER;
hash = (53 * hash) + getPort().hashCode();
hash = (37 * hash) + DB_FIELD_NUMBER;
hash = (53 * hash) + getDb().hashCode();
hash = (37 * hash) + USER_FIELD_NUMBER;
hash = (53 * hash) + getUser().hashCode();
hash = (37 * hash) + PASSWORD_FIELD_NUMBER;
hash = (53 * hash) + getPassword().hashCode();
hash = (37 * hash) + S3_CLIENT_FIELD_NUMBER;
hash = (53 * hash) + getS3Client().hashCode();
hash = (37 * hash) + S3_BUCKET_FIELD_NUMBER;
hash = (53 * hash) + getS3Bucket().hashCode();
if (!internalGetEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetEngineArgs().hashCode();
}
if (!internalGetAsyncEngineArgs().getMap().isEmpty()) {
hash = (37 * hash) + ASYNC_ENGINE_ARGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetAsyncEngineArgs().hashCode();
}
hash = (37 * hash) + UNLOAD_IAM_ROLE_FIELD_NUMBER;
hash = (53 * hash) + getUnloadIamRole().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.RedshiftSource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.RedshiftSource 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.graph.v1.RedshiftSource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.RedshiftSource 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.graph.v1.RedshiftSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.RedshiftSource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.RedshiftSource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.RedshiftSource 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.graph.v1.RedshiftSource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.RedshiftSource 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.graph.v1.RedshiftSource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.RedshiftSource 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.graph.v1.RedshiftSource 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.graph.v1.RedshiftSource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.RedshiftSource)
ai.chalk.protos.chalk.graph.v1.RedshiftSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_RedshiftSource_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 9:
return internalGetEngineArgs();
case 10:
return internalGetAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
int number) {
switch (number) {
case 9:
return internalGetMutableEngineArgs();
case 10:
return internalGetMutableAsyncEngineArgs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_RedshiftSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.RedshiftSource.class, ai.chalk.protos.chalk.graph.v1.RedshiftSource.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.RedshiftSource.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
host_ = "";
port_ = "";
db_ = "";
user_ = "";
password_ = "";
s3Client_ = "";
s3Bucket_ = "";
internalGetMutableEngineArgs().clear();
internalGetMutableAsyncEngineArgs().clear();
unloadIamRole_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.SourcesProto.internal_static_chalk_graph_v1_RedshiftSource_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.RedshiftSource getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.RedshiftSource.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.RedshiftSource build() {
ai.chalk.protos.chalk.graph.v1.RedshiftSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.RedshiftSource buildPartial() {
ai.chalk.protos.chalk.graph.v1.RedshiftSource result = new ai.chalk.protos.chalk.graph.v1.RedshiftSource(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.RedshiftSource result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.host_ = host_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.port_ = port_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.db_ = db_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.user_ = user_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.password_ = password_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.s3Client_ = s3Client_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.s3Bucket_ = s3Bucket_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.engineArgs_ = internalGetEngineArgs().build(EngineArgsDefaultEntryHolder.defaultEntry);
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.asyncEngineArgs_ = internalGetAsyncEngineArgs().build(AsyncEngineArgsDefaultEntryHolder.defaultEntry);
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.unloadIamRole_ = unloadIamRole_;
}
}
@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.graph.v1.RedshiftSource) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.RedshiftSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.RedshiftSource other) {
if (other == ai.chalk.protos.chalk.graph.v1.RedshiftSource.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getHost().isEmpty()) {
host_ = other.host_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getPort().isEmpty()) {
port_ = other.port_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getDb().isEmpty()) {
db_ = other.db_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getUser().isEmpty()) {
user_ = other.user_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getPassword().isEmpty()) {
password_ = other.password_;
bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getS3Client().isEmpty()) {
s3Client_ = other.s3Client_;
bitField0_ |= 0x00000040;
onChanged();
}
if (!other.getS3Bucket().isEmpty()) {
s3Bucket_ = other.s3Bucket_;
bitField0_ |= 0x00000080;
onChanged();
}
internalGetMutableEngineArgs().mergeFrom(
other.internalGetEngineArgs());
bitField0_ |= 0x00000100;
internalGetMutableAsyncEngineArgs().mergeFrom(
other.internalGetAsyncEngineArgs());
bitField0_ |= 0x00000200;
if (!other.getUnloadIamRole().isEmpty()) {
unloadIamRole_ = other.unloadIamRole_;
bitField0_ |= 0x00000400;
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
case 18: {
host_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
port_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
db_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
user_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
password_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
s3Client_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
s3Bucket_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
engineArgs__ = input.readMessage(
EngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableEngineArgs().ensureBuilderMap().put(
engineArgs__.getKey(), engineArgs__.getValue());
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
asyncEngineArgs__ = input.readMessage(
AsyncEngineArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableAsyncEngineArgs().ensureBuilderMap().put(
asyncEngineArgs__.getKey(), asyncEngineArgs__.getValue());
bitField0_ |= 0x00000200;
break;
} // case 82
case 90: {
unloadIamRole_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 90
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string name = 1 [json_name = "name"];</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object host_ = "";
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The host.
*/
public java.lang.String getHost() {
java.lang.Object ref = host_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
host_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The bytes for host.
*/
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @param value The host to set.
* @return This builder for chaining.
*/
public Builder setHost(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
host_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return This builder for chaining.
*/
public Builder clearHost() {
host_ = getDefaultInstance().getHost();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>string host = 2 [json_name = "host"];</code>
* @param value The bytes for host to set.
* @return This builder for chaining.
*/
public Builder setHostBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
host_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object port_ = "";
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The port.
*/
public java.lang.String getPort() {
java.lang.Object ref = port_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
port_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The bytes for port.
*/
public com.google.protobuf.ByteString
getPortBytes() {
java.lang.Object ref = port_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
port_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @param value The port to set.
* @return This builder for chaining.
*/
public Builder setPort(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
port_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return This builder for chaining.
*/
public Builder clearPort() {
port_ = getDefaultInstance().getPort();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>string port = 3 [json_name = "port"];</code>
* @param value The bytes for port to set.
* @return This builder for chaining.
*/
public Builder setPortBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
port_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object db_ = "";
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The db.
*/
public java.lang.String getDb() {
java.lang.Object ref = db_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
db_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The bytes for db.
*/
public com.google.protobuf.ByteString
getDbBytes() {
java.lang.Object ref = db_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
db_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @param value The db to set.
* @return This builder for chaining.
*/
public Builder setDb(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
db_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return This builder for chaining.
*/
public Builder clearDb() {
db_ = getDefaultInstance().getDb();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>string db = 4 [json_name = "db"];</code>
* @param value The bytes for db to set.
* @return This builder for chaining.
*/
public Builder setDbBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
db_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object user_ = "";
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The user.
*/
public java.lang.String getUser() {
java.lang.Object ref = user_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
user_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The bytes for user.
*/
public com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @param value The user to set.
* @return This builder for chaining.
*/
public Builder setUser(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
user_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return This builder for chaining.
*/
public Builder clearUser() {
user_ = getDefaultInstance().getUser();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>string user = 5 [json_name = "user"];</code>
* @param value The bytes for user to set.
* @return This builder for chaining.
*/
public Builder setUserBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
user_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object password_ = "";
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The password.
*/
public java.lang.String getPassword() {
java.lang.Object ref = password_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
password_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The bytes for password.
*/
public com.google.protobuf.ByteString
getPasswordBytes() {
java.lang.Object ref = password_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
password_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @param value The password to set.
* @return This builder for chaining.
*/
public Builder setPassword(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
password_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return This builder for chaining.
*/
public Builder clearPassword() {
password_ = getDefaultInstance().getPassword();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <code>string password = 6 [json_name = "password"];</code>
* @param value The bytes for password to set.
* @return This builder for chaining.
*/
public Builder setPasswordBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
password_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object s3Client_ = "";
/**
* <code>string s3_client = 7 [json_name = "s3Client"];</code>
* @return The s3Client.
*/
public java.lang.String getS3Client() {
java.lang.Object ref = s3Client_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
s3Client_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string s3_client = 7 [json_name = "s3Client"];</code>
* @return The bytes for s3Client.
*/
public com.google.protobuf.ByteString
getS3ClientBytes() {
java.lang.Object ref = s3Client_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
s3Client_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string s3_client = 7 [json_name = "s3Client"];</code>
* @param value The s3Client to set.
* @return This builder for chaining.
*/
public Builder setS3Client(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
s3Client_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>string s3_client = 7 [json_name = "s3Client"];</code>
* @return This builder for chaining.
*/
public Builder clearS3Client() {
s3Client_ = getDefaultInstance().getS3Client();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* <code>string s3_client = 7 [json_name = "s3Client"];</code>
* @param value The bytes for s3Client to set.
* @return This builder for chaining.
*/
public Builder setS3ClientBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
s3Client_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object s3Bucket_ = "";
/**
* <code>string s3_bucket = 8 [json_name = "s3Bucket"];</code>
* @return The s3Bucket.
*/
public java.lang.String getS3Bucket() {
java.lang.Object ref = s3Bucket_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
s3Bucket_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string s3_bucket = 8 [json_name = "s3Bucket"];</code>
* @return The bytes for s3Bucket.
*/
public com.google.protobuf.ByteString
getS3BucketBytes() {
java.lang.Object ref = s3Bucket_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
s3Bucket_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string s3_bucket = 8 [json_name = "s3Bucket"];</code>
* @param value The s3Bucket to set.
* @return This builder for chaining.
*/
public Builder setS3Bucket(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
s3Bucket_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>string s3_bucket = 8 [json_name = "s3Bucket"];</code>
* @return This builder for chaining.
*/
public Builder clearS3Bucket() {
s3Bucket_ = getDefaultInstance().getS3Bucket();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* <code>string s3_bucket = 8 [json_name = "s3Bucket"];</code>
* @param value The bytes for s3Bucket to set.
* @return This builder for chaining.
*/
public Builder setS3BucketBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
s3Bucket_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private static final class EngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return EngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final EngineArgsConverter engineArgsConverter = new EngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> engineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetEngineArgs() {
if (engineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
return engineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableEngineArgs() {
if (engineArgs_ == null) {
engineArgs_ = new com.google.protobuf.MapFieldBuilder<>(engineArgsConverter);
}
bitField0_ |= 0x00000100;
onChanged();
return engineArgs_;
}
public int getEngineArgsCount() {
return internalGetEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public boolean containsEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgs() {
return getEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getEngineArgsMap() {
return internalGetEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? engineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return engineArgsConverter.build(map.get(key));
}
public Builder clearEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000100);
internalGetMutableEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
public Builder removeEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableEngineArgs().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.ScalarValue>
getMutableEngineArgs() {
bitField0_ |= 0x00000100;
return internalGetMutableEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
public Builder putEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000100;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
public Builder putAllEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000100;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) entry;
}
private static final class AsyncEngineArgsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue> {
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue build(ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder val) {
if (val instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) { return (ai.chalk.protos.chalk.arrow.v1.ScalarValue) val; }
return ((ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) val).build();
}
@java.lang.Override
public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> defaultEntry() {
return AsyncEngineArgsDefaultEntryHolder.defaultEntry;
}
};
private static final AsyncEngineArgsConverter asyncEngineArgsConverter = new AsyncEngineArgsConverter();
private com.google.protobuf.MapFieldBuilder<
java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> asyncEngineArgs_;
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
return asyncEngineArgs_;
}
private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder, ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder>
internalGetMutableAsyncEngineArgs() {
if (asyncEngineArgs_ == null) {
asyncEngineArgs_ = new com.google.protobuf.MapFieldBuilder<>(asyncEngineArgsConverter);
}
bitField0_ |= 0x00000200;
onChanged();
return asyncEngineArgs_;
}
public int getAsyncEngineArgsCount() {
return internalGetAsyncEngineArgs().ensureBuilderMap().size();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public boolean containsAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAsyncEngineArgs().ensureBuilderMap().containsKey(key);
}
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgs() {
return getAsyncEngineArgsMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> getAsyncEngineArgsMap() {
return internalGetAsyncEngineArgs().getImmutableMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public /* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
return map.containsKey(key) ? asyncEngineArgsConverter.build(map.get(key)) : defaultValue;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> map = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return asyncEngineArgsConverter.build(map.get(key));
}
public Builder clearAsyncEngineArgs() {
bitField0_ = (bitField0_ & ~0x00000200);
internalGetMutableAsyncEngineArgs().clear();
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
public Builder removeAsyncEngineArgs(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableAsyncEngineArgs().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.ScalarValue>
getMutableAsyncEngineArgs() {
bitField0_ |= 0x00000200;
return internalGetMutableAsyncEngineArgs().ensureMessageMap();
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAsyncEngineArgs(
java.lang.String key,
ai.chalk.protos.chalk.arrow.v1.ScalarValue value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.put(key, value);
bitField0_ |= 0x00000200;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
public Builder putAllAsyncEngineArgs(
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) {
for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue> e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
internalGetMutableAsyncEngineArgs().ensureBuilderMap()
.putAll(values);
bitField0_ |= 0x00000200;
return this;
}
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder putAsyncEngineArgsBuilderIfAbsent(
java.lang.String key) {
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> builderMap = internalGetMutableAsyncEngineArgs().ensureBuilderMap();
ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = ai.chalk.protos.chalk.arrow.v1.ScalarValue.newBuilder();
builderMap.put(key, entry);
}
if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ScalarValue) {
entry = ((ai.chalk.protos.chalk.arrow.v1.ScalarValue) entry).toBuilder();
builderMap.put(key, entry);
}
return (ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder) entry;
}
private java.lang.Object unloadIamRole_ = "";
/**
* <code>string unload_iam_role = 11 [json_name = "unloadIamRole"];</code>
* @return The unloadIamRole.
*/
public java.lang.String getUnloadIamRole() {
java.lang.Object ref = unloadIamRole_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
unloadIamRole_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string unload_iam_role = 11 [json_name = "unloadIamRole"];</code>
* @return The bytes for unloadIamRole.
*/
public com.google.protobuf.ByteString
getUnloadIamRoleBytes() {
java.lang.Object ref = unloadIamRole_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
unloadIamRole_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string unload_iam_role = 11 [json_name = "unloadIamRole"];</code>
* @param value The unloadIamRole to set.
* @return This builder for chaining.
*/
public Builder setUnloadIamRole(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
unloadIamRole_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>string unload_iam_role = 11 [json_name = "unloadIamRole"];</code>
* @return This builder for chaining.
*/
public Builder clearUnloadIamRole() {
unloadIamRole_ = getDefaultInstance().getUnloadIamRole();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
* <code>string unload_iam_role = 11 [json_name = "unloadIamRole"];</code>
* @param value The bytes for unloadIamRole to set.
* @return This builder for chaining.
*/
public Builder setUnloadIamRoleBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
unloadIamRole_ = 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.graph.v1.RedshiftSource)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.RedshiftSource)
private static final ai.chalk.protos.chalk.graph.v1.RedshiftSource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.RedshiftSource();
}
public static ai.chalk.protos.chalk.graph.v1.RedshiftSource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<RedshiftSource>
PARSER = new com.google.protobuf.AbstractParser<RedshiftSource>() {
@java.lang.Override
public RedshiftSource 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<RedshiftSource> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RedshiftSource> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.RedshiftSource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/RedshiftSourceOrBuilder.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/sources.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
public interface RedshiftSourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:chalk.graph.v1.RedshiftSource)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 1 [json_name = "name"];</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The host.
*/
java.lang.String getHost();
/**
* <code>string host = 2 [json_name = "host"];</code>
* @return The bytes for host.
*/
com.google.protobuf.ByteString
getHostBytes();
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The port.
*/
java.lang.String getPort();
/**
* <code>string port = 3 [json_name = "port"];</code>
* @return The bytes for port.
*/
com.google.protobuf.ByteString
getPortBytes();
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The db.
*/
java.lang.String getDb();
/**
* <code>string db = 4 [json_name = "db"];</code>
* @return The bytes for db.
*/
com.google.protobuf.ByteString
getDbBytes();
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The user.
*/
java.lang.String getUser();
/**
* <code>string user = 5 [json_name = "user"];</code>
* @return The bytes for user.
*/
com.google.protobuf.ByteString
getUserBytes();
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The password.
*/
java.lang.String getPassword();
/**
* <code>string password = 6 [json_name = "password"];</code>
* @return The bytes for password.
*/
com.google.protobuf.ByteString
getPasswordBytes();
/**
* <code>string s3_client = 7 [json_name = "s3Client"];</code>
* @return The s3Client.
*/
java.lang.String getS3Client();
/**
* <code>string s3_client = 7 [json_name = "s3Client"];</code>
* @return The bytes for s3Client.
*/
com.google.protobuf.ByteString
getS3ClientBytes();
/**
* <code>string s3_bucket = 8 [json_name = "s3Bucket"];</code>
* @return The s3Bucket.
*/
java.lang.String getS3Bucket();
/**
* <code>string s3_bucket = 8 [json_name = "s3Bucket"];</code>
* @return The bytes for s3Bucket.
*/
com.google.protobuf.ByteString
getS3BucketBytes();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
int getEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
boolean containsEngineArgs(
java.lang.String key);
/**
* Use {@link #getEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> engine_args = 9 [json_name = "engineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getEngineArgsOrThrow(
java.lang.String key);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
int getAsyncEngineArgsCount();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
boolean containsAsyncEngineArgs(
java.lang.String key);
/**
* Use {@link #getAsyncEngineArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgs();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ScalarValue>
getAsyncEngineArgsMap();
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrDefault(
java.lang.String key,
/* nullable */
ai.chalk.protos.chalk.arrow.v1.ScalarValue defaultValue);
/**
* <code>map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 10 [json_name = "asyncEngineArgs"];</code>
*/
ai.chalk.protos.chalk.arrow.v1.ScalarValue getAsyncEngineArgsOrThrow(
java.lang.String key);
/**
* <code>string unload_iam_role = 11 [json_name = "unloadIamRole"];</code>
* @return The unloadIamRole.
*/
java.lang.String getUnloadIamRole();
/**
* <code>string unload_iam_role = 11 [json_name = "unloadIamRole"];</code>
* @return The bytes for unloadIamRole.
*/
com.google.protobuf.ByteString
getUnloadIamRoleBytes();
}
|
0
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph
|
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/graph/v1/Resolver.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chalk/graph/v1/graph.proto
// Protobuf Java Version: 3.25.1
package ai.chalk.protos.chalk.graph.v1;
/**
* Protobuf type {@code chalk.graph.v1.Resolver}
*/
public final class Resolver extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:chalk.graph.v1.Resolver)
ResolverOrBuilder {
private static final long serialVersionUID = 0L;
// Use Resolver.newBuilder() to construct.
private Resolver(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Resolver() {
fqn_ = "";
kind_ = 0;
inputs_ = java.util.Collections.emptyList();
outputs_ = java.util.Collections.emptyList();
dataSources_ = java.util.Collections.emptyList();
machineType_ = "";
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
owner_ = "";
doc_ = "";
environments_ =
com.google.protobuf.LazyStringArrayList.emptyList();
resourceHint_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Resolver();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_Resolver_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_Resolver_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.Resolver.class, ai.chalk.protos.chalk.graph.v1.Resolver.Builder.class);
}
private int bitField0_;
public static final int FQN_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object fqn_ = "";
/**
* <code>string fqn = 1 [json_name = "fqn"];</code>
* @return The fqn.
*/
@java.lang.Override
public java.lang.String getFqn() {
java.lang.Object ref = fqn_;
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();
fqn_ = s;
return s;
}
}
/**
* <code>string fqn = 1 [json_name = "fqn"];</code>
* @return The bytes for fqn.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFqnBytes() {
java.lang.Object ref = fqn_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fqn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KIND_FIELD_NUMBER = 2;
private int kind_ = 0;
/**
* <code>.chalk.graph.v1.ResolverKind kind = 2 [json_name = "kind"];</code>
* @return The enum numeric value on the wire for kind.
*/
@java.lang.Override public int getKindValue() {
return kind_;
}
/**
* <code>.chalk.graph.v1.ResolverKind kind = 2 [json_name = "kind"];</code>
* @return The kind.
*/
@java.lang.Override public ai.chalk.protos.chalk.graph.v1.ResolverKind getKind() {
ai.chalk.protos.chalk.graph.v1.ResolverKind result = ai.chalk.protos.chalk.graph.v1.ResolverKind.forNumber(kind_);
return result == null ? ai.chalk.protos.chalk.graph.v1.ResolverKind.UNRECOGNIZED : result;
}
public static final int INPUTS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.ResolverInput> inputs_;
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.ResolverInput> getInputsList() {
return inputs_;
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.ResolverInputOrBuilder>
getInputsOrBuilderList() {
return inputs_;
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
@java.lang.Override
public int getInputsCount() {
return inputs_.size();
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ResolverInput getInputs(int index) {
return inputs_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ResolverInputOrBuilder getInputsOrBuilder(
int index) {
return inputs_.get(index);
}
public static final int OUTPUTS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.ResolverOutput> outputs_;
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.ResolverOutput> getOutputsList() {
return outputs_;
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.ResolverOutputOrBuilder>
getOutputsOrBuilderList() {
return outputs_;
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
@java.lang.Override
public int getOutputsCount() {
return outputs_.size();
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ResolverOutput getOutputs(int index) {
return outputs_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ResolverOutputOrBuilder getOutputsOrBuilder(
int index) {
return outputs_.get(index);
}
public static final int IS_GENERATOR_FIELD_NUMBER = 5;
private boolean isGenerator_ = false;
/**
* <code>bool is_generator = 5 [json_name = "isGenerator"];</code>
* @return The isGenerator.
*/
@java.lang.Override
public boolean getIsGenerator() {
return isGenerator_;
}
public static final int DATA_SOURCES_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private java.util.List<ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference> dataSources_;
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
@java.lang.Override
public java.util.List<ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference> getDataSourcesList() {
return dataSources_;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
@java.lang.Override
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.DatabaseSourceReferenceOrBuilder>
getDataSourcesOrBuilderList() {
return dataSources_;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
@java.lang.Override
public int getDataSourcesCount() {
return dataSources_.size();
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference getDataSources(int index) {
return dataSources_.get(index);
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceReferenceOrBuilder getDataSourcesOrBuilder(
int index) {
return dataSources_.get(index);
}
public static final int MACHINE_TYPE_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object machineType_ = "";
/**
* <code>optional string machine_type = 7 [json_name = "machineType"];</code>
* @return Whether the machineType field is set.
*/
@java.lang.Override
public boolean hasMachineType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string machine_type = 7 [json_name = "machineType"];</code>
* @return The machineType.
*/
@java.lang.Override
public java.lang.String getMachineType() {
java.lang.Object ref = machineType_;
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();
machineType_ = s;
return s;
}
}
/**
* <code>optional string machine_type = 7 [json_name = "machineType"];</code>
* @return The bytes for machineType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMachineTypeBytes() {
java.lang.Object ref = machineType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
machineType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TAGS_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
public static final int OWNER_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object owner_ = "";
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
@java.lang.Override
public boolean hasOwner() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
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();
owner_ = s;
return s;
}
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DOC_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private volatile java.lang.Object doc_ = "";
/**
* <pre>
* The docstring of the python function
* </pre>
*
* <code>optional string doc = 10 [json_name = "doc"];</code>
* @return Whether the doc field is set.
*/
@java.lang.Override
public boolean hasDoc() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* The docstring of the python function
* </pre>
*
* <code>optional string doc = 10 [json_name = "doc"];</code>
* @return The doc.
*/
@java.lang.Override
public java.lang.String getDoc() {
java.lang.Object ref = doc_;
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();
doc_ = s;
return s;
}
}
/**
* <pre>
* The docstring of the python function
* </pre>
*
* <code>optional string doc = 10 [json_name = "doc"];</code>
* @return The bytes for doc.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDocBytes() {
java.lang.Object ref = doc_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
doc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENVIRONMENTS_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList environments_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @return A list containing the environments.
*/
public com.google.protobuf.ProtocolStringList
getEnvironmentsList() {
return environments_;
}
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @return The count of environments.
*/
public int getEnvironmentsCount() {
return environments_.size();
}
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @param index The index of the element to return.
* @return The environments at the given index.
*/
public java.lang.String getEnvironments(int index) {
return environments_.get(index);
}
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @param index The index of the value to return.
* @return The bytes of the environments at the given index.
*/
public com.google.protobuf.ByteString
getEnvironmentsBytes(int index) {
return environments_.getByteString(index);
}
public static final int TIMEOUT_DURATION_FIELD_NUMBER = 12;
private com.google.protobuf.Duration timeoutDuration_;
/**
* <code>.google.protobuf.Duration timeout_duration = 12 [json_name = "timeoutDuration"];</code>
* @return Whether the timeoutDuration field is set.
*/
@java.lang.Override
public boolean hasTimeoutDuration() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>.google.protobuf.Duration timeout_duration = 12 [json_name = "timeoutDuration"];</code>
* @return The timeoutDuration.
*/
@java.lang.Override
public com.google.protobuf.Duration getTimeoutDuration() {
return timeoutDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeoutDuration_;
}
/**
* <code>.google.protobuf.Duration timeout_duration = 12 [json_name = "timeoutDuration"];</code>
*/
@java.lang.Override
public com.google.protobuf.DurationOrBuilder getTimeoutDurationOrBuilder() {
return timeoutDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeoutDuration_;
}
public static final int SCHEDULE_FIELD_NUMBER = 13;
private ai.chalk.protos.chalk.graph.v1.Schedule schedule_;
/**
* <code>.chalk.graph.v1.Schedule schedule = 13 [json_name = "schedule"];</code>
* @return Whether the schedule field is set.
*/
@java.lang.Override
public boolean hasSchedule() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>.chalk.graph.v1.Schedule schedule = 13 [json_name = "schedule"];</code>
* @return The schedule.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.Schedule getSchedule() {
return schedule_ == null ? ai.chalk.protos.chalk.graph.v1.Schedule.getDefaultInstance() : schedule_;
}
/**
* <code>.chalk.graph.v1.Schedule schedule = 13 [json_name = "schedule"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ScheduleOrBuilder getScheduleOrBuilder() {
return schedule_ == null ? ai.chalk.protos.chalk.graph.v1.Schedule.getDefaultInstance() : schedule_;
}
public static final int WHEN_FIELD_NUMBER = 14;
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode when_;
/**
* <code>.chalk.expression.v1.LogicalExprNode when = 14 [json_name = "when"];</code>
* @return Whether the when field is set.
*/
@java.lang.Override
public boolean hasWhen() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when = 14 [json_name = "when"];</code>
* @return The when.
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getWhen() {
return when_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : when_;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when = 14 [json_name = "when"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getWhenOrBuilder() {
return when_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : when_;
}
public static final int CRON_FILTER_FIELD_NUMBER = 15;
private ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs cronFilter_;
/**
* <code>.chalk.graph.v1.CronFilterWithFeatureArgs cron_filter = 15 [json_name = "cronFilter"];</code>
* @return Whether the cronFilter field is set.
*/
@java.lang.Override
public boolean hasCronFilter() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>.chalk.graph.v1.CronFilterWithFeatureArgs cron_filter = 15 [json_name = "cronFilter"];</code>
* @return The cronFilter.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs getCronFilter() {
return cronFilter_ == null ? ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.getDefaultInstance() : cronFilter_;
}
/**
* <code>.chalk.graph.v1.CronFilterWithFeatureArgs cron_filter = 15 [json_name = "cronFilter"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgsOrBuilder getCronFilterOrBuilder() {
return cronFilter_ == null ? ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.getDefaultInstance() : cronFilter_;
}
public static final int FUNCTION_FIELD_NUMBER = 16;
private ai.chalk.protos.chalk.graph.v1.FunctionReference function_;
/**
* <code>.chalk.graph.v1.FunctionReference function = 16 [json_name = "function"];</code>
* @return Whether the function field is set.
*/
@java.lang.Override
public boolean hasFunction() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>.chalk.graph.v1.FunctionReference function = 16 [json_name = "function"];</code>
* @return The function.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FunctionReference getFunction() {
return function_ == null ? ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance() : function_;
}
/**
* <code>.chalk.graph.v1.FunctionReference function = 16 [json_name = "function"];</code>
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder getFunctionOrBuilder() {
return function_ == null ? ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance() : function_;
}
public static final int RESOURCE_HINT_FIELD_NUMBER = 17;
private int resourceHint_ = 0;
/**
* <code>.chalk.graph.v1.ResourceHint resource_hint = 17 [json_name = "resourceHint"];</code>
* @return The enum numeric value on the wire for resourceHint.
*/
@java.lang.Override public int getResourceHintValue() {
return resourceHint_;
}
/**
* <code>.chalk.graph.v1.ResourceHint resource_hint = 17 [json_name = "resourceHint"];</code>
* @return The resourceHint.
*/
@java.lang.Override public ai.chalk.protos.chalk.graph.v1.ResourceHint getResourceHint() {
ai.chalk.protos.chalk.graph.v1.ResourceHint result = ai.chalk.protos.chalk.graph.v1.ResourceHint.forNumber(resourceHint_);
return result == null ? ai.chalk.protos.chalk.graph.v1.ResourceHint.UNRECOGNIZED : result;
}
public static final int IS_STATIC_FIELD_NUMBER = 18;
private boolean isStatic_ = false;
/**
* <code>bool is_static = 18 [json_name = "isStatic"];</code>
* @return The isStatic.
*/
@java.lang.Override
public boolean getIsStatic() {
return isStatic_;
}
public static final int IS_TOTAL_FIELD_NUMBER = 19;
private boolean isTotal_ = false;
/**
* <code>optional bool is_total = 19 [json_name = "isTotal"];</code>
* @return Whether the isTotal field is set.
*/
@java.lang.Override
public boolean hasIsTotal() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional bool is_total = 19 [json_name = "isTotal"];</code>
* @return The isTotal.
*/
@java.lang.Override
public boolean getIsTotal() {
return isTotal_;
}
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(fqn_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fqn_);
}
if (kind_ != ai.chalk.protos.chalk.graph.v1.ResolverKind.RESOLVER_KIND_UNSPECIFIED.getNumber()) {
output.writeEnum(2, kind_);
}
for (int i = 0; i < inputs_.size(); i++) {
output.writeMessage(3, inputs_.get(i));
}
for (int i = 0; i < outputs_.size(); i++) {
output.writeMessage(4, outputs_.get(i));
}
if (isGenerator_ != false) {
output.writeBool(5, isGenerator_);
}
for (int i = 0; i < dataSources_.size(); i++) {
output.writeMessage(6, dataSources_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, machineType_);
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, tags_.getRaw(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, owner_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, doc_);
}
for (int i = 0; i < environments_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, environments_.getRaw(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(12, getTimeoutDuration());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(13, getSchedule());
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeMessage(14, getWhen());
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeMessage(15, getCronFilter());
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeMessage(16, getFunction());
}
if (resourceHint_ != ai.chalk.protos.chalk.graph.v1.ResourceHint.RESOURCE_HINT_UNSPECIFIED.getNumber()) {
output.writeEnum(17, resourceHint_);
}
if (isStatic_ != false) {
output.writeBool(18, isStatic_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeBool(19, isTotal_);
}
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(fqn_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fqn_);
}
if (kind_ != ai.chalk.protos.chalk.graph.v1.ResolverKind.RESOLVER_KIND_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, kind_);
}
for (int i = 0; i < inputs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, inputs_.get(i));
}
for (int i = 0; i < outputs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, outputs_.get(i));
}
if (isGenerator_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, isGenerator_);
}
for (int i = 0; i < dataSources_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, dataSources_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, machineType_);
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().size();
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, owner_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, doc_);
}
{
int dataSize = 0;
for (int i = 0; i < environments_.size(); i++) {
dataSize += computeStringSizeNoTag(environments_.getRaw(i));
}
size += dataSize;
size += 1 * getEnvironmentsList().size();
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getTimeoutDuration());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getSchedule());
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getWhen());
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getCronFilter());
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getFunction());
}
if (resourceHint_ != ai.chalk.protos.chalk.graph.v1.ResourceHint.RESOURCE_HINT_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(17, resourceHint_);
}
if (isStatic_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(18, isStatic_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(19, isTotal_);
}
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.graph.v1.Resolver)) {
return super.equals(obj);
}
ai.chalk.protos.chalk.graph.v1.Resolver other = (ai.chalk.protos.chalk.graph.v1.Resolver) obj;
if (!getFqn()
.equals(other.getFqn())) return false;
if (kind_ != other.kind_) return false;
if (!getInputsList()
.equals(other.getInputsList())) return false;
if (!getOutputsList()
.equals(other.getOutputsList())) return false;
if (getIsGenerator()
!= other.getIsGenerator()) return false;
if (!getDataSourcesList()
.equals(other.getDataSourcesList())) return false;
if (hasMachineType() != other.hasMachineType()) return false;
if (hasMachineType()) {
if (!getMachineType()
.equals(other.getMachineType())) return false;
}
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (hasOwner() != other.hasOwner()) return false;
if (hasOwner()) {
if (!getOwner()
.equals(other.getOwner())) return false;
}
if (hasDoc() != other.hasDoc()) return false;
if (hasDoc()) {
if (!getDoc()
.equals(other.getDoc())) return false;
}
if (!getEnvironmentsList()
.equals(other.getEnvironmentsList())) return false;
if (hasTimeoutDuration() != other.hasTimeoutDuration()) return false;
if (hasTimeoutDuration()) {
if (!getTimeoutDuration()
.equals(other.getTimeoutDuration())) return false;
}
if (hasSchedule() != other.hasSchedule()) return false;
if (hasSchedule()) {
if (!getSchedule()
.equals(other.getSchedule())) return false;
}
if (hasWhen() != other.hasWhen()) return false;
if (hasWhen()) {
if (!getWhen()
.equals(other.getWhen())) return false;
}
if (hasCronFilter() != other.hasCronFilter()) return false;
if (hasCronFilter()) {
if (!getCronFilter()
.equals(other.getCronFilter())) return false;
}
if (hasFunction() != other.hasFunction()) return false;
if (hasFunction()) {
if (!getFunction()
.equals(other.getFunction())) return false;
}
if (resourceHint_ != other.resourceHint_) return false;
if (getIsStatic()
!= other.getIsStatic()) return false;
if (hasIsTotal() != other.hasIsTotal()) return false;
if (hasIsTotal()) {
if (getIsTotal()
!= other.getIsTotal()) 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) + FQN_FIELD_NUMBER;
hash = (53 * hash) + getFqn().hashCode();
hash = (37 * hash) + KIND_FIELD_NUMBER;
hash = (53 * hash) + kind_;
if (getInputsCount() > 0) {
hash = (37 * hash) + INPUTS_FIELD_NUMBER;
hash = (53 * hash) + getInputsList().hashCode();
}
if (getOutputsCount() > 0) {
hash = (37 * hash) + OUTPUTS_FIELD_NUMBER;
hash = (53 * hash) + getOutputsList().hashCode();
}
hash = (37 * hash) + IS_GENERATOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsGenerator());
if (getDataSourcesCount() > 0) {
hash = (37 * hash) + DATA_SOURCES_FIELD_NUMBER;
hash = (53 * hash) + getDataSourcesList().hashCode();
}
if (hasMachineType()) {
hash = (37 * hash) + MACHINE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getMachineType().hashCode();
}
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
if (hasDoc()) {
hash = (37 * hash) + DOC_FIELD_NUMBER;
hash = (53 * hash) + getDoc().hashCode();
}
if (getEnvironmentsCount() > 0) {
hash = (37 * hash) + ENVIRONMENTS_FIELD_NUMBER;
hash = (53 * hash) + getEnvironmentsList().hashCode();
}
if (hasTimeoutDuration()) {
hash = (37 * hash) + TIMEOUT_DURATION_FIELD_NUMBER;
hash = (53 * hash) + getTimeoutDuration().hashCode();
}
if (hasSchedule()) {
hash = (37 * hash) + SCHEDULE_FIELD_NUMBER;
hash = (53 * hash) + getSchedule().hashCode();
}
if (hasWhen()) {
hash = (37 * hash) + WHEN_FIELD_NUMBER;
hash = (53 * hash) + getWhen().hashCode();
}
if (hasCronFilter()) {
hash = (37 * hash) + CRON_FILTER_FIELD_NUMBER;
hash = (53 * hash) + getCronFilter().hashCode();
}
if (hasFunction()) {
hash = (37 * hash) + FUNCTION_FIELD_NUMBER;
hash = (53 * hash) + getFunction().hashCode();
}
hash = (37 * hash) + RESOURCE_HINT_FIELD_NUMBER;
hash = (53 * hash) + resourceHint_;
hash = (37 * hash) + IS_STATIC_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsStatic());
if (hasIsTotal()) {
hash = (37 * hash) + IS_TOTAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsTotal());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.chalk.protos.chalk.graph.v1.Resolver parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.Resolver 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.graph.v1.Resolver parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.Resolver 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.graph.v1.Resolver parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.chalk.protos.chalk.graph.v1.Resolver parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.chalk.protos.chalk.graph.v1.Resolver parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.Resolver 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.graph.v1.Resolver parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.Resolver 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.graph.v1.Resolver parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.chalk.protos.chalk.graph.v1.Resolver 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.graph.v1.Resolver 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.graph.v1.Resolver}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:chalk.graph.v1.Resolver)
ai.chalk.protos.chalk.graph.v1.ResolverOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_Resolver_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_Resolver_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.chalk.protos.chalk.graph.v1.Resolver.class, ai.chalk.protos.chalk.graph.v1.Resolver.Builder.class);
}
// Construct using ai.chalk.protos.chalk.graph.v1.Resolver.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getInputsFieldBuilder();
getOutputsFieldBuilder();
getDataSourcesFieldBuilder();
getTimeoutDurationFieldBuilder();
getScheduleFieldBuilder();
getWhenFieldBuilder();
getCronFilterFieldBuilder();
getFunctionFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
fqn_ = "";
kind_ = 0;
if (inputsBuilder_ == null) {
inputs_ = java.util.Collections.emptyList();
} else {
inputs_ = null;
inputsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (outputsBuilder_ == null) {
outputs_ = java.util.Collections.emptyList();
} else {
outputs_ = null;
outputsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
isGenerator_ = false;
if (dataSourcesBuilder_ == null) {
dataSources_ = java.util.Collections.emptyList();
} else {
dataSources_ = null;
dataSourcesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
machineType_ = "";
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
owner_ = "";
doc_ = "";
environments_ =
com.google.protobuf.LazyStringArrayList.emptyList();
timeoutDuration_ = null;
if (timeoutDurationBuilder_ != null) {
timeoutDurationBuilder_.dispose();
timeoutDurationBuilder_ = null;
}
schedule_ = null;
if (scheduleBuilder_ != null) {
scheduleBuilder_.dispose();
scheduleBuilder_ = null;
}
when_ = null;
if (whenBuilder_ != null) {
whenBuilder_.dispose();
whenBuilder_ = null;
}
cronFilter_ = null;
if (cronFilterBuilder_ != null) {
cronFilterBuilder_.dispose();
cronFilterBuilder_ = null;
}
function_ = null;
if (functionBuilder_ != null) {
functionBuilder_.dispose();
functionBuilder_ = null;
}
resourceHint_ = 0;
isStatic_ = false;
isTotal_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.chalk.protos.chalk.graph.v1.GraphProto.internal_static_chalk_graph_v1_Resolver_descriptor;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.Resolver getDefaultInstanceForType() {
return ai.chalk.protos.chalk.graph.v1.Resolver.getDefaultInstance();
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.Resolver build() {
ai.chalk.protos.chalk.graph.v1.Resolver result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.Resolver buildPartial() {
ai.chalk.protos.chalk.graph.v1.Resolver result = new ai.chalk.protos.chalk.graph.v1.Resolver(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ai.chalk.protos.chalk.graph.v1.Resolver result) {
if (inputsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
inputs_ = java.util.Collections.unmodifiableList(inputs_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.inputs_ = inputs_;
} else {
result.inputs_ = inputsBuilder_.build();
}
if (outputsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
outputs_ = java.util.Collections.unmodifiableList(outputs_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.outputs_ = outputs_;
} else {
result.outputs_ = outputsBuilder_.build();
}
if (dataSourcesBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
dataSources_ = java.util.Collections.unmodifiableList(dataSources_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.dataSources_ = dataSources_;
} else {
result.dataSources_ = dataSourcesBuilder_.build();
}
}
private void buildPartial0(ai.chalk.protos.chalk.graph.v1.Resolver result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.fqn_ = fqn_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.kind_ = kind_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.isGenerator_ = isGenerator_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000040) != 0)) {
result.machineType_ = machineType_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
tags_.makeImmutable();
result.tags_ = tags_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.owner_ = owner_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.doc_ = doc_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
environments_.makeImmutable();
result.environments_ = environments_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.timeoutDuration_ = timeoutDurationBuilder_ == null
? timeoutDuration_
: timeoutDurationBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.schedule_ = scheduleBuilder_ == null
? schedule_
: scheduleBuilder_.build();
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.when_ = whenBuilder_ == null
? when_
: whenBuilder_.build();
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.cronFilter_ = cronFilterBuilder_ == null
? cronFilter_
: cronFilterBuilder_.build();
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.function_ = functionBuilder_ == null
? function_
: functionBuilder_.build();
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
result.resourceHint_ = resourceHint_;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
result.isStatic_ = isStatic_;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
result.isTotal_ = isTotal_;
to_bitField0_ |= 0x00000100;
}
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.graph.v1.Resolver) {
return mergeFrom((ai.chalk.protos.chalk.graph.v1.Resolver)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.chalk.protos.chalk.graph.v1.Resolver other) {
if (other == ai.chalk.protos.chalk.graph.v1.Resolver.getDefaultInstance()) return this;
if (!other.getFqn().isEmpty()) {
fqn_ = other.fqn_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.kind_ != 0) {
setKindValue(other.getKindValue());
}
if (inputsBuilder_ == null) {
if (!other.inputs_.isEmpty()) {
if (inputs_.isEmpty()) {
inputs_ = other.inputs_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureInputsIsMutable();
inputs_.addAll(other.inputs_);
}
onChanged();
}
} else {
if (!other.inputs_.isEmpty()) {
if (inputsBuilder_.isEmpty()) {
inputsBuilder_.dispose();
inputsBuilder_ = null;
inputs_ = other.inputs_;
bitField0_ = (bitField0_ & ~0x00000004);
inputsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getInputsFieldBuilder() : null;
} else {
inputsBuilder_.addAllMessages(other.inputs_);
}
}
}
if (outputsBuilder_ == null) {
if (!other.outputs_.isEmpty()) {
if (outputs_.isEmpty()) {
outputs_ = other.outputs_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureOutputsIsMutable();
outputs_.addAll(other.outputs_);
}
onChanged();
}
} else {
if (!other.outputs_.isEmpty()) {
if (outputsBuilder_.isEmpty()) {
outputsBuilder_.dispose();
outputsBuilder_ = null;
outputs_ = other.outputs_;
bitField0_ = (bitField0_ & ~0x00000008);
outputsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOutputsFieldBuilder() : null;
} else {
outputsBuilder_.addAllMessages(other.outputs_);
}
}
}
if (other.getIsGenerator() != false) {
setIsGenerator(other.getIsGenerator());
}
if (dataSourcesBuilder_ == null) {
if (!other.dataSources_.isEmpty()) {
if (dataSources_.isEmpty()) {
dataSources_ = other.dataSources_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureDataSourcesIsMutable();
dataSources_.addAll(other.dataSources_);
}
onChanged();
}
} else {
if (!other.dataSources_.isEmpty()) {
if (dataSourcesBuilder_.isEmpty()) {
dataSourcesBuilder_.dispose();
dataSourcesBuilder_ = null;
dataSources_ = other.dataSources_;
bitField0_ = (bitField0_ & ~0x00000020);
dataSourcesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDataSourcesFieldBuilder() : null;
} else {
dataSourcesBuilder_.addAllMessages(other.dataSources_);
}
}
}
if (other.hasMachineType()) {
machineType_ = other.machineType_;
bitField0_ |= 0x00000040;
onChanged();
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ |= 0x00000080;
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
if (other.hasOwner()) {
owner_ = other.owner_;
bitField0_ |= 0x00000100;
onChanged();
}
if (other.hasDoc()) {
doc_ = other.doc_;
bitField0_ |= 0x00000200;
onChanged();
}
if (!other.environments_.isEmpty()) {
if (environments_.isEmpty()) {
environments_ = other.environments_;
bitField0_ |= 0x00000400;
} else {
ensureEnvironmentsIsMutable();
environments_.addAll(other.environments_);
}
onChanged();
}
if (other.hasTimeoutDuration()) {
mergeTimeoutDuration(other.getTimeoutDuration());
}
if (other.hasSchedule()) {
mergeSchedule(other.getSchedule());
}
if (other.hasWhen()) {
mergeWhen(other.getWhen());
}
if (other.hasCronFilter()) {
mergeCronFilter(other.getCronFilter());
}
if (other.hasFunction()) {
mergeFunction(other.getFunction());
}
if (other.resourceHint_ != 0) {
setResourceHintValue(other.getResourceHintValue());
}
if (other.getIsStatic() != false) {
setIsStatic(other.getIsStatic());
}
if (other.hasIsTotal()) {
setIsTotal(other.getIsTotal());
}
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: {
fqn_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
kind_ = input.readEnum();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
ai.chalk.protos.chalk.graph.v1.ResolverInput m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.ResolverInput.parser(),
extensionRegistry);
if (inputsBuilder_ == null) {
ensureInputsIsMutable();
inputs_.add(m);
} else {
inputsBuilder_.addMessage(m);
}
break;
} // case 26
case 34: {
ai.chalk.protos.chalk.graph.v1.ResolverOutput m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.ResolverOutput.parser(),
extensionRegistry);
if (outputsBuilder_ == null) {
ensureOutputsIsMutable();
outputs_.add(m);
} else {
outputsBuilder_.addMessage(m);
}
break;
} // case 34
case 40: {
isGenerator_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
case 50: {
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference m =
input.readMessage(
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.parser(),
extensionRegistry);
if (dataSourcesBuilder_ == null) {
ensureDataSourcesIsMutable();
dataSources_.add(m);
} else {
dataSourcesBuilder_.addMessage(m);
}
break;
} // case 50
case 58: {
machineType_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
java.lang.String s = input.readStringRequireUtf8();
ensureTagsIsMutable();
tags_.add(s);
break;
} // case 66
case 74: {
owner_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
doc_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 82
case 90: {
java.lang.String s = input.readStringRequireUtf8();
ensureEnvironmentsIsMutable();
environments_.add(s);
break;
} // case 90
case 98: {
input.readMessage(
getTimeoutDurationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000800;
break;
} // case 98
case 106: {
input.readMessage(
getScheduleFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00001000;
break;
} // case 106
case 114: {
input.readMessage(
getWhenFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00002000;
break;
} // case 114
case 122: {
input.readMessage(
getCronFilterFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00004000;
break;
} // case 122
case 130: {
input.readMessage(
getFunctionFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00008000;
break;
} // case 130
case 136: {
resourceHint_ = input.readEnum();
bitField0_ |= 0x00010000;
break;
} // case 136
case 144: {
isStatic_ = input.readBool();
bitField0_ |= 0x00020000;
break;
} // case 144
case 152: {
isTotal_ = input.readBool();
bitField0_ |= 0x00040000;
break;
} // case 152
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 fqn_ = "";
/**
* <code>string fqn = 1 [json_name = "fqn"];</code>
* @return The fqn.
*/
public java.lang.String getFqn() {
java.lang.Object ref = fqn_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fqn_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string fqn = 1 [json_name = "fqn"];</code>
* @return The bytes for fqn.
*/
public com.google.protobuf.ByteString
getFqnBytes() {
java.lang.Object ref = fqn_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fqn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string fqn = 1 [json_name = "fqn"];</code>
* @param value The fqn to set.
* @return This builder for chaining.
*/
public Builder setFqn(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
fqn_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string fqn = 1 [json_name = "fqn"];</code>
* @return This builder for chaining.
*/
public Builder clearFqn() {
fqn_ = getDefaultInstance().getFqn();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string fqn = 1 [json_name = "fqn"];</code>
* @param value The bytes for fqn to set.
* @return This builder for chaining.
*/
public Builder setFqnBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
fqn_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private int kind_ = 0;
/**
* <code>.chalk.graph.v1.ResolverKind kind = 2 [json_name = "kind"];</code>
* @return The enum numeric value on the wire for kind.
*/
@java.lang.Override public int getKindValue() {
return kind_;
}
/**
* <code>.chalk.graph.v1.ResolverKind kind = 2 [json_name = "kind"];</code>
* @param value The enum numeric value on the wire for kind to set.
* @return This builder for chaining.
*/
public Builder setKindValue(int value) {
kind_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.ResolverKind kind = 2 [json_name = "kind"];</code>
* @return The kind.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ResolverKind getKind() {
ai.chalk.protos.chalk.graph.v1.ResolverKind result = ai.chalk.protos.chalk.graph.v1.ResolverKind.forNumber(kind_);
return result == null ? ai.chalk.protos.chalk.graph.v1.ResolverKind.UNRECOGNIZED : result;
}
/**
* <code>.chalk.graph.v1.ResolverKind kind = 2 [json_name = "kind"];</code>
* @param value The kind to set.
* @return This builder for chaining.
*/
public Builder setKind(ai.chalk.protos.chalk.graph.v1.ResolverKind value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
kind_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.ResolverKind kind = 2 [json_name = "kind"];</code>
* @return This builder for chaining.
*/
public Builder clearKind() {
bitField0_ = (bitField0_ & ~0x00000002);
kind_ = 0;
onChanged();
return this;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.ResolverInput> inputs_ =
java.util.Collections.emptyList();
private void ensureInputsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
inputs_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.ResolverInput>(inputs_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.ResolverInput, ai.chalk.protos.chalk.graph.v1.ResolverInput.Builder, ai.chalk.protos.chalk.graph.v1.ResolverInputOrBuilder> inputsBuilder_;
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.ResolverInput> getInputsList() {
if (inputsBuilder_ == null) {
return java.util.Collections.unmodifiableList(inputs_);
} else {
return inputsBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public int getInputsCount() {
if (inputsBuilder_ == null) {
return inputs_.size();
} else {
return inputsBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ResolverInput getInputs(int index) {
if (inputsBuilder_ == null) {
return inputs_.get(index);
} else {
return inputsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public Builder setInputs(
int index, ai.chalk.protos.chalk.graph.v1.ResolverInput value) {
if (inputsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInputsIsMutable();
inputs_.set(index, value);
onChanged();
} else {
inputsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public Builder setInputs(
int index, ai.chalk.protos.chalk.graph.v1.ResolverInput.Builder builderForValue) {
if (inputsBuilder_ == null) {
ensureInputsIsMutable();
inputs_.set(index, builderForValue.build());
onChanged();
} else {
inputsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public Builder addInputs(ai.chalk.protos.chalk.graph.v1.ResolverInput value) {
if (inputsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInputsIsMutable();
inputs_.add(value);
onChanged();
} else {
inputsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public Builder addInputs(
int index, ai.chalk.protos.chalk.graph.v1.ResolverInput value) {
if (inputsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInputsIsMutable();
inputs_.add(index, value);
onChanged();
} else {
inputsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public Builder addInputs(
ai.chalk.protos.chalk.graph.v1.ResolverInput.Builder builderForValue) {
if (inputsBuilder_ == null) {
ensureInputsIsMutable();
inputs_.add(builderForValue.build());
onChanged();
} else {
inputsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public Builder addInputs(
int index, ai.chalk.protos.chalk.graph.v1.ResolverInput.Builder builderForValue) {
if (inputsBuilder_ == null) {
ensureInputsIsMutable();
inputs_.add(index, builderForValue.build());
onChanged();
} else {
inputsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public Builder addAllInputs(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.ResolverInput> values) {
if (inputsBuilder_ == null) {
ensureInputsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, inputs_);
onChanged();
} else {
inputsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public Builder clearInputs() {
if (inputsBuilder_ == null) {
inputs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
inputsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public Builder removeInputs(int index) {
if (inputsBuilder_ == null) {
ensureInputsIsMutable();
inputs_.remove(index);
onChanged();
} else {
inputsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ResolverInput.Builder getInputsBuilder(
int index) {
return getInputsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ResolverInputOrBuilder getInputsOrBuilder(
int index) {
if (inputsBuilder_ == null) {
return inputs_.get(index); } else {
return inputsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.ResolverInputOrBuilder>
getInputsOrBuilderList() {
if (inputsBuilder_ != null) {
return inputsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(inputs_);
}
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ResolverInput.Builder addInputsBuilder() {
return getInputsFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.ResolverInput.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ResolverInput.Builder addInputsBuilder(
int index) {
return getInputsFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.ResolverInput.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.ResolverInput inputs = 3 [json_name = "inputs"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.ResolverInput.Builder>
getInputsBuilderList() {
return getInputsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.ResolverInput, ai.chalk.protos.chalk.graph.v1.ResolverInput.Builder, ai.chalk.protos.chalk.graph.v1.ResolverInputOrBuilder>
getInputsFieldBuilder() {
if (inputsBuilder_ == null) {
inputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.ResolverInput, ai.chalk.protos.chalk.graph.v1.ResolverInput.Builder, ai.chalk.protos.chalk.graph.v1.ResolverInputOrBuilder>(
inputs_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
inputs_ = null;
}
return inputsBuilder_;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.ResolverOutput> outputs_ =
java.util.Collections.emptyList();
private void ensureOutputsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
outputs_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.ResolverOutput>(outputs_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.ResolverOutput, ai.chalk.protos.chalk.graph.v1.ResolverOutput.Builder, ai.chalk.protos.chalk.graph.v1.ResolverOutputOrBuilder> outputsBuilder_;
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.ResolverOutput> getOutputsList() {
if (outputsBuilder_ == null) {
return java.util.Collections.unmodifiableList(outputs_);
} else {
return outputsBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public int getOutputsCount() {
if (outputsBuilder_ == null) {
return outputs_.size();
} else {
return outputsBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ResolverOutput getOutputs(int index) {
if (outputsBuilder_ == null) {
return outputs_.get(index);
} else {
return outputsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public Builder setOutputs(
int index, ai.chalk.protos.chalk.graph.v1.ResolverOutput value) {
if (outputsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOutputsIsMutable();
outputs_.set(index, value);
onChanged();
} else {
outputsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public Builder setOutputs(
int index, ai.chalk.protos.chalk.graph.v1.ResolverOutput.Builder builderForValue) {
if (outputsBuilder_ == null) {
ensureOutputsIsMutable();
outputs_.set(index, builderForValue.build());
onChanged();
} else {
outputsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public Builder addOutputs(ai.chalk.protos.chalk.graph.v1.ResolverOutput value) {
if (outputsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOutputsIsMutable();
outputs_.add(value);
onChanged();
} else {
outputsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public Builder addOutputs(
int index, ai.chalk.protos.chalk.graph.v1.ResolverOutput value) {
if (outputsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOutputsIsMutable();
outputs_.add(index, value);
onChanged();
} else {
outputsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public Builder addOutputs(
ai.chalk.protos.chalk.graph.v1.ResolverOutput.Builder builderForValue) {
if (outputsBuilder_ == null) {
ensureOutputsIsMutable();
outputs_.add(builderForValue.build());
onChanged();
} else {
outputsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public Builder addOutputs(
int index, ai.chalk.protos.chalk.graph.v1.ResolverOutput.Builder builderForValue) {
if (outputsBuilder_ == null) {
ensureOutputsIsMutable();
outputs_.add(index, builderForValue.build());
onChanged();
} else {
outputsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public Builder addAllOutputs(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.ResolverOutput> values) {
if (outputsBuilder_ == null) {
ensureOutputsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, outputs_);
onChanged();
} else {
outputsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public Builder clearOutputs() {
if (outputsBuilder_ == null) {
outputs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
outputsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public Builder removeOutputs(int index) {
if (outputsBuilder_ == null) {
ensureOutputsIsMutable();
outputs_.remove(index);
onChanged();
} else {
outputsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ResolverOutput.Builder getOutputsBuilder(
int index) {
return getOutputsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ResolverOutputOrBuilder getOutputsOrBuilder(
int index) {
if (outputsBuilder_ == null) {
return outputs_.get(index); } else {
return outputsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.ResolverOutputOrBuilder>
getOutputsOrBuilderList() {
if (outputsBuilder_ != null) {
return outputsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(outputs_);
}
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ResolverOutput.Builder addOutputsBuilder() {
return getOutputsFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.ResolverOutput.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ResolverOutput.Builder addOutputsBuilder(
int index) {
return getOutputsFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.ResolverOutput.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.ResolverOutput outputs = 4 [json_name = "outputs"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.ResolverOutput.Builder>
getOutputsBuilderList() {
return getOutputsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.ResolverOutput, ai.chalk.protos.chalk.graph.v1.ResolverOutput.Builder, ai.chalk.protos.chalk.graph.v1.ResolverOutputOrBuilder>
getOutputsFieldBuilder() {
if (outputsBuilder_ == null) {
outputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.ResolverOutput, ai.chalk.protos.chalk.graph.v1.ResolverOutput.Builder, ai.chalk.protos.chalk.graph.v1.ResolverOutputOrBuilder>(
outputs_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
outputs_ = null;
}
return outputsBuilder_;
}
private boolean isGenerator_ ;
/**
* <code>bool is_generator = 5 [json_name = "isGenerator"];</code>
* @return The isGenerator.
*/
@java.lang.Override
public boolean getIsGenerator() {
return isGenerator_;
}
/**
* <code>bool is_generator = 5 [json_name = "isGenerator"];</code>
* @param value The isGenerator to set.
* @return This builder for chaining.
*/
public Builder setIsGenerator(boolean value) {
isGenerator_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>bool is_generator = 5 [json_name = "isGenerator"];</code>
* @return This builder for chaining.
*/
public Builder clearIsGenerator() {
bitField0_ = (bitField0_ & ~0x00000010);
isGenerator_ = false;
onChanged();
return this;
}
private java.util.List<ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference> dataSources_ =
java.util.Collections.emptyList();
private void ensureDataSourcesIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
dataSources_ = new java.util.ArrayList<ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference>(dataSources_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.Builder, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReferenceOrBuilder> dataSourcesBuilder_;
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference> getDataSourcesList() {
if (dataSourcesBuilder_ == null) {
return java.util.Collections.unmodifiableList(dataSources_);
} else {
return dataSourcesBuilder_.getMessageList();
}
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public int getDataSourcesCount() {
if (dataSourcesBuilder_ == null) {
return dataSources_.size();
} else {
return dataSourcesBuilder_.getCount();
}
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference getDataSources(int index) {
if (dataSourcesBuilder_ == null) {
return dataSources_.get(index);
} else {
return dataSourcesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public Builder setDataSources(
int index, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference value) {
if (dataSourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataSourcesIsMutable();
dataSources_.set(index, value);
onChanged();
} else {
dataSourcesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public Builder setDataSources(
int index, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.Builder builderForValue) {
if (dataSourcesBuilder_ == null) {
ensureDataSourcesIsMutable();
dataSources_.set(index, builderForValue.build());
onChanged();
} else {
dataSourcesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public Builder addDataSources(ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference value) {
if (dataSourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataSourcesIsMutable();
dataSources_.add(value);
onChanged();
} else {
dataSourcesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public Builder addDataSources(
int index, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference value) {
if (dataSourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataSourcesIsMutable();
dataSources_.add(index, value);
onChanged();
} else {
dataSourcesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public Builder addDataSources(
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.Builder builderForValue) {
if (dataSourcesBuilder_ == null) {
ensureDataSourcesIsMutable();
dataSources_.add(builderForValue.build());
onChanged();
} else {
dataSourcesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public Builder addDataSources(
int index, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.Builder builderForValue) {
if (dataSourcesBuilder_ == null) {
ensureDataSourcesIsMutable();
dataSources_.add(index, builderForValue.build());
onChanged();
} else {
dataSourcesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public Builder addAllDataSources(
java.lang.Iterable<? extends ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference> values) {
if (dataSourcesBuilder_ == null) {
ensureDataSourcesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dataSources_);
onChanged();
} else {
dataSourcesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public Builder clearDataSources() {
if (dataSourcesBuilder_ == null) {
dataSources_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
dataSourcesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public Builder removeDataSources(int index) {
if (dataSourcesBuilder_ == null) {
ensureDataSourcesIsMutable();
dataSources_.remove(index);
onChanged();
} else {
dataSourcesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.Builder getDataSourcesBuilder(
int index) {
return getDataSourcesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceReferenceOrBuilder getDataSourcesOrBuilder(
int index) {
if (dataSourcesBuilder_ == null) {
return dataSources_.get(index); } else {
return dataSourcesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public java.util.List<? extends ai.chalk.protos.chalk.graph.v1.DatabaseSourceReferenceOrBuilder>
getDataSourcesOrBuilderList() {
if (dataSourcesBuilder_ != null) {
return dataSourcesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(dataSources_);
}
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.Builder addDataSourcesBuilder() {
return getDataSourcesFieldBuilder().addBuilder(
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.Builder addDataSourcesBuilder(
int index) {
return getDataSourcesFieldBuilder().addBuilder(
index, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.getDefaultInstance());
}
/**
* <code>repeated .chalk.graph.v1.DatabaseSourceReference data_sources = 6 [json_name = "dataSources"];</code>
*/
public java.util.List<ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.Builder>
getDataSourcesBuilderList() {
return getDataSourcesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.Builder, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReferenceOrBuilder>
getDataSourcesFieldBuilder() {
if (dataSourcesBuilder_ == null) {
dataSourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReference.Builder, ai.chalk.protos.chalk.graph.v1.DatabaseSourceReferenceOrBuilder>(
dataSources_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
dataSources_ = null;
}
return dataSourcesBuilder_;
}
private java.lang.Object machineType_ = "";
/**
* <code>optional string machine_type = 7 [json_name = "machineType"];</code>
* @return Whether the machineType field is set.
*/
public boolean hasMachineType() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional string machine_type = 7 [json_name = "machineType"];</code>
* @return The machineType.
*/
public java.lang.String getMachineType() {
java.lang.Object ref = machineType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
machineType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string machine_type = 7 [json_name = "machineType"];</code>
* @return The bytes for machineType.
*/
public com.google.protobuf.ByteString
getMachineTypeBytes() {
java.lang.Object ref = machineType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
machineType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string machine_type = 7 [json_name = "machineType"];</code>
* @param value The machineType to set.
* @return This builder for chaining.
*/
public Builder setMachineType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
machineType_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional string machine_type = 7 [json_name = "machineType"];</code>
* @return This builder for chaining.
*/
public Builder clearMachineType() {
machineType_ = getDefaultInstance().getMachineType();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* <code>optional string machine_type = 7 [json_name = "machineType"];</code>
* @param value The bytes for machineType to set.
* @return This builder for chaining.
*/
public Builder setMachineTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
machineType_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureTagsIsMutable() {
if (!tags_.isModifiable()) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
}
bitField0_ |= 0x00000080;
}
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
tags_.makeImmutable();
return tags_;
}
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @param index The index to set the value at.
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.set(index, value);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @param value The tags to add.
* @return This builder for chaining.
*/
public Builder addTags(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @param values The tags to add.
* @return This builder for chaining.
*/
public Builder addAllTags(
java.lang.Iterable<java.lang.String> values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @return This builder for chaining.
*/
public Builder clearTags() {
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);;
onChanged();
return this;
}
/**
* <code>repeated string tags = 8 [json_name = "tags"];</code>
* @param value The bytes of the tags to add.
* @return This builder for chaining.
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object owner_ = "";
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return Whether the owner field is set.
*/
public boolean hasOwner() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
owner_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return The bytes for owner.
*/
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
owner_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* <code>optional string owner = 9 [json_name = "owner"];</code>
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
owner_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private java.lang.Object doc_ = "";
/**
* <pre>
* The docstring of the python function
* </pre>
*
* <code>optional string doc = 10 [json_name = "doc"];</code>
* @return Whether the doc field is set.
*/
public boolean hasDoc() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* The docstring of the python function
* </pre>
*
* <code>optional string doc = 10 [json_name = "doc"];</code>
* @return The doc.
*/
public java.lang.String getDoc() {
java.lang.Object ref = doc_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
doc_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* The docstring of the python function
* </pre>
*
* <code>optional string doc = 10 [json_name = "doc"];</code>
* @return The bytes for doc.
*/
public com.google.protobuf.ByteString
getDocBytes() {
java.lang.Object ref = doc_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
doc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* The docstring of the python function
* </pre>
*
* <code>optional string doc = 10 [json_name = "doc"];</code>
* @param value The doc to set.
* @return This builder for chaining.
*/
public Builder setDoc(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
doc_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <pre>
* The docstring of the python function
* </pre>
*
* <code>optional string doc = 10 [json_name = "doc"];</code>
* @return This builder for chaining.
*/
public Builder clearDoc() {
doc_ = getDefaultInstance().getDoc();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* <pre>
* The docstring of the python function
* </pre>
*
* <code>optional string doc = 10 [json_name = "doc"];</code>
* @param value The bytes for doc to set.
* @return This builder for chaining.
*/
public Builder setDocBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
doc_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList environments_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureEnvironmentsIsMutable() {
if (!environments_.isModifiable()) {
environments_ = new com.google.protobuf.LazyStringArrayList(environments_);
}
bitField0_ |= 0x00000400;
}
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @return A list containing the environments.
*/
public com.google.protobuf.ProtocolStringList
getEnvironmentsList() {
environments_.makeImmutable();
return environments_;
}
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @return The count of environments.
*/
public int getEnvironmentsCount() {
return environments_.size();
}
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @param index The index of the element to return.
* @return The environments at the given index.
*/
public java.lang.String getEnvironments(int index) {
return environments_.get(index);
}
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @param index The index of the value to return.
* @return The bytes of the environments at the given index.
*/
public com.google.protobuf.ByteString
getEnvironmentsBytes(int index) {
return environments_.getByteString(index);
}
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @param index The index to set the value at.
* @param value The environments to set.
* @return This builder for chaining.
*/
public Builder setEnvironments(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureEnvironmentsIsMutable();
environments_.set(index, value);
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @param value The environments to add.
* @return This builder for chaining.
*/
public Builder addEnvironments(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureEnvironmentsIsMutable();
environments_.add(value);
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @param values The environments to add.
* @return This builder for chaining.
*/
public Builder addAllEnvironments(
java.lang.Iterable<java.lang.String> values) {
ensureEnvironmentsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, environments_);
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @return This builder for chaining.
*/
public Builder clearEnvironments() {
environments_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);;
onChanged();
return this;
}
/**
* <code>repeated string environments = 11 [json_name = "environments"];</code>
* @param value The bytes of the environments to add.
* @return This builder for chaining.
*/
public Builder addEnvironmentsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureEnvironmentsIsMutable();
environments_.add(value);
bitField0_ |= 0x00000400;
onChanged();
return this;
}
private com.google.protobuf.Duration timeoutDuration_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeoutDurationBuilder_;
/**
* <code>.google.protobuf.Duration timeout_duration = 12 [json_name = "timeoutDuration"];</code>
* @return Whether the timeoutDuration field is set.
*/
public boolean hasTimeoutDuration() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>.google.protobuf.Duration timeout_duration = 12 [json_name = "timeoutDuration"];</code>
* @return The timeoutDuration.
*/
public com.google.protobuf.Duration getTimeoutDuration() {
if (timeoutDurationBuilder_ == null) {
return timeoutDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeoutDuration_;
} else {
return timeoutDurationBuilder_.getMessage();
}
}
/**
* <code>.google.protobuf.Duration timeout_duration = 12 [json_name = "timeoutDuration"];</code>
*/
public Builder setTimeoutDuration(com.google.protobuf.Duration value) {
if (timeoutDurationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timeoutDuration_ = value;
} else {
timeoutDurationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration timeout_duration = 12 [json_name = "timeoutDuration"];</code>
*/
public Builder setTimeoutDuration(
com.google.protobuf.Duration.Builder builderForValue) {
if (timeoutDurationBuilder_ == null) {
timeoutDuration_ = builderForValue.build();
} else {
timeoutDurationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration timeout_duration = 12 [json_name = "timeoutDuration"];</code>
*/
public Builder mergeTimeoutDuration(com.google.protobuf.Duration value) {
if (timeoutDurationBuilder_ == null) {
if (((bitField0_ & 0x00000800) != 0) &&
timeoutDuration_ != null &&
timeoutDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
getTimeoutDurationBuilder().mergeFrom(value);
} else {
timeoutDuration_ = value;
}
} else {
timeoutDurationBuilder_.mergeFrom(value);
}
if (timeoutDuration_ != null) {
bitField0_ |= 0x00000800;
onChanged();
}
return this;
}
/**
* <code>.google.protobuf.Duration timeout_duration = 12 [json_name = "timeoutDuration"];</code>
*/
public Builder clearTimeoutDuration() {
bitField0_ = (bitField0_ & ~0x00000800);
timeoutDuration_ = null;
if (timeoutDurationBuilder_ != null) {
timeoutDurationBuilder_.dispose();
timeoutDurationBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.google.protobuf.Duration timeout_duration = 12 [json_name = "timeoutDuration"];</code>
*/
public com.google.protobuf.Duration.Builder getTimeoutDurationBuilder() {
bitField0_ |= 0x00000800;
onChanged();
return getTimeoutDurationFieldBuilder().getBuilder();
}
/**
* <code>.google.protobuf.Duration timeout_duration = 12 [json_name = "timeoutDuration"];</code>
*/
public com.google.protobuf.DurationOrBuilder getTimeoutDurationOrBuilder() {
if (timeoutDurationBuilder_ != null) {
return timeoutDurationBuilder_.getMessageOrBuilder();
} else {
return timeoutDuration_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : timeoutDuration_;
}
}
/**
* <code>.google.protobuf.Duration timeout_duration = 12 [json_name = "timeoutDuration"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getTimeoutDurationFieldBuilder() {
if (timeoutDurationBuilder_ == null) {
timeoutDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getTimeoutDuration(),
getParentForChildren(),
isClean());
timeoutDuration_ = null;
}
return timeoutDurationBuilder_;
}
private ai.chalk.protos.chalk.graph.v1.Schedule schedule_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.Schedule, ai.chalk.protos.chalk.graph.v1.Schedule.Builder, ai.chalk.protos.chalk.graph.v1.ScheduleOrBuilder> scheduleBuilder_;
/**
* <code>.chalk.graph.v1.Schedule schedule = 13 [json_name = "schedule"];</code>
* @return Whether the schedule field is set.
*/
public boolean hasSchedule() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>.chalk.graph.v1.Schedule schedule = 13 [json_name = "schedule"];</code>
* @return The schedule.
*/
public ai.chalk.protos.chalk.graph.v1.Schedule getSchedule() {
if (scheduleBuilder_ == null) {
return schedule_ == null ? ai.chalk.protos.chalk.graph.v1.Schedule.getDefaultInstance() : schedule_;
} else {
return scheduleBuilder_.getMessage();
}
}
/**
* <code>.chalk.graph.v1.Schedule schedule = 13 [json_name = "schedule"];</code>
*/
public Builder setSchedule(ai.chalk.protos.chalk.graph.v1.Schedule value) {
if (scheduleBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
schedule_ = value;
} else {
scheduleBuilder_.setMessage(value);
}
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.Schedule schedule = 13 [json_name = "schedule"];</code>
*/
public Builder setSchedule(
ai.chalk.protos.chalk.graph.v1.Schedule.Builder builderForValue) {
if (scheduleBuilder_ == null) {
schedule_ = builderForValue.build();
} else {
scheduleBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.Schedule schedule = 13 [json_name = "schedule"];</code>
*/
public Builder mergeSchedule(ai.chalk.protos.chalk.graph.v1.Schedule value) {
if (scheduleBuilder_ == null) {
if (((bitField0_ & 0x00001000) != 0) &&
schedule_ != null &&
schedule_ != ai.chalk.protos.chalk.graph.v1.Schedule.getDefaultInstance()) {
getScheduleBuilder().mergeFrom(value);
} else {
schedule_ = value;
}
} else {
scheduleBuilder_.mergeFrom(value);
}
if (schedule_ != null) {
bitField0_ |= 0x00001000;
onChanged();
}
return this;
}
/**
* <code>.chalk.graph.v1.Schedule schedule = 13 [json_name = "schedule"];</code>
*/
public Builder clearSchedule() {
bitField0_ = (bitField0_ & ~0x00001000);
schedule_ = null;
if (scheduleBuilder_ != null) {
scheduleBuilder_.dispose();
scheduleBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.Schedule schedule = 13 [json_name = "schedule"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.Schedule.Builder getScheduleBuilder() {
bitField0_ |= 0x00001000;
onChanged();
return getScheduleFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.Schedule schedule = 13 [json_name = "schedule"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.ScheduleOrBuilder getScheduleOrBuilder() {
if (scheduleBuilder_ != null) {
return scheduleBuilder_.getMessageOrBuilder();
} else {
return schedule_ == null ?
ai.chalk.protos.chalk.graph.v1.Schedule.getDefaultInstance() : schedule_;
}
}
/**
* <code>.chalk.graph.v1.Schedule schedule = 13 [json_name = "schedule"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.Schedule, ai.chalk.protos.chalk.graph.v1.Schedule.Builder, ai.chalk.protos.chalk.graph.v1.ScheduleOrBuilder>
getScheduleFieldBuilder() {
if (scheduleBuilder_ == null) {
scheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.Schedule, ai.chalk.protos.chalk.graph.v1.Schedule.Builder, ai.chalk.protos.chalk.graph.v1.ScheduleOrBuilder>(
getSchedule(),
getParentForChildren(),
isClean());
schedule_ = null;
}
return scheduleBuilder_;
}
private ai.chalk.protos.chalk.expression.v1.LogicalExprNode when_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> whenBuilder_;
/**
* <code>.chalk.expression.v1.LogicalExprNode when = 14 [json_name = "when"];</code>
* @return Whether the when field is set.
*/
public boolean hasWhen() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when = 14 [json_name = "when"];</code>
* @return The when.
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getWhen() {
if (whenBuilder_ == null) {
return when_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : when_;
} else {
return whenBuilder_.getMessage();
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when = 14 [json_name = "when"];</code>
*/
public Builder setWhen(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (whenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
when_ = value;
} else {
whenBuilder_.setMessage(value);
}
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when = 14 [json_name = "when"];</code>
*/
public Builder setWhen(
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) {
if (whenBuilder_ == null) {
when_ = builderForValue.build();
} else {
whenBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when = 14 [json_name = "when"];</code>
*/
public Builder mergeWhen(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) {
if (whenBuilder_ == null) {
if (((bitField0_ & 0x00002000) != 0) &&
when_ != null &&
when_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) {
getWhenBuilder().mergeFrom(value);
} else {
when_ = value;
}
} else {
whenBuilder_.mergeFrom(value);
}
if (when_ != null) {
bitField0_ |= 0x00002000;
onChanged();
}
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when = 14 [json_name = "when"];</code>
*/
public Builder clearWhen() {
bitField0_ = (bitField0_ & ~0x00002000);
when_ = null;
if (whenBuilder_ != null) {
whenBuilder_.dispose();
whenBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when = 14 [json_name = "when"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getWhenBuilder() {
bitField0_ |= 0x00002000;
onChanged();
return getWhenFieldBuilder().getBuilder();
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when = 14 [json_name = "when"];</code>
*/
public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getWhenOrBuilder() {
if (whenBuilder_ != null) {
return whenBuilder_.getMessageOrBuilder();
} else {
return when_ == null ?
ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : when_;
}
}
/**
* <code>.chalk.expression.v1.LogicalExprNode when = 14 [json_name = "when"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>
getWhenFieldBuilder() {
if (whenBuilder_ == null) {
whenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>(
getWhen(),
getParentForChildren(),
isClean());
when_ = null;
}
return whenBuilder_;
}
private ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs cronFilter_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs, ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.Builder, ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgsOrBuilder> cronFilterBuilder_;
/**
* <code>.chalk.graph.v1.CronFilterWithFeatureArgs cron_filter = 15 [json_name = "cronFilter"];</code>
* @return Whether the cronFilter field is set.
*/
public boolean hasCronFilter() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <code>.chalk.graph.v1.CronFilterWithFeatureArgs cron_filter = 15 [json_name = "cronFilter"];</code>
* @return The cronFilter.
*/
public ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs getCronFilter() {
if (cronFilterBuilder_ == null) {
return cronFilter_ == null ? ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.getDefaultInstance() : cronFilter_;
} else {
return cronFilterBuilder_.getMessage();
}
}
/**
* <code>.chalk.graph.v1.CronFilterWithFeatureArgs cron_filter = 15 [json_name = "cronFilter"];</code>
*/
public Builder setCronFilter(ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs value) {
if (cronFilterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
cronFilter_ = value;
} else {
cronFilterBuilder_.setMessage(value);
}
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.CronFilterWithFeatureArgs cron_filter = 15 [json_name = "cronFilter"];</code>
*/
public Builder setCronFilter(
ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.Builder builderForValue) {
if (cronFilterBuilder_ == null) {
cronFilter_ = builderForValue.build();
} else {
cronFilterBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.CronFilterWithFeatureArgs cron_filter = 15 [json_name = "cronFilter"];</code>
*/
public Builder mergeCronFilter(ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs value) {
if (cronFilterBuilder_ == null) {
if (((bitField0_ & 0x00004000) != 0) &&
cronFilter_ != null &&
cronFilter_ != ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.getDefaultInstance()) {
getCronFilterBuilder().mergeFrom(value);
} else {
cronFilter_ = value;
}
} else {
cronFilterBuilder_.mergeFrom(value);
}
if (cronFilter_ != null) {
bitField0_ |= 0x00004000;
onChanged();
}
return this;
}
/**
* <code>.chalk.graph.v1.CronFilterWithFeatureArgs cron_filter = 15 [json_name = "cronFilter"];</code>
*/
public Builder clearCronFilter() {
bitField0_ = (bitField0_ & ~0x00004000);
cronFilter_ = null;
if (cronFilterBuilder_ != null) {
cronFilterBuilder_.dispose();
cronFilterBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.CronFilterWithFeatureArgs cron_filter = 15 [json_name = "cronFilter"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.Builder getCronFilterBuilder() {
bitField0_ |= 0x00004000;
onChanged();
return getCronFilterFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.CronFilterWithFeatureArgs cron_filter = 15 [json_name = "cronFilter"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgsOrBuilder getCronFilterOrBuilder() {
if (cronFilterBuilder_ != null) {
return cronFilterBuilder_.getMessageOrBuilder();
} else {
return cronFilter_ == null ?
ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.getDefaultInstance() : cronFilter_;
}
}
/**
* <code>.chalk.graph.v1.CronFilterWithFeatureArgs cron_filter = 15 [json_name = "cronFilter"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs, ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.Builder, ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgsOrBuilder>
getCronFilterFieldBuilder() {
if (cronFilterBuilder_ == null) {
cronFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs, ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgs.Builder, ai.chalk.protos.chalk.graph.v1.CronFilterWithFeatureArgsOrBuilder>(
getCronFilter(),
getParentForChildren(),
isClean());
cronFilter_ = null;
}
return cronFilterBuilder_;
}
private ai.chalk.protos.chalk.graph.v1.FunctionReference function_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FunctionReference, ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder, ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder> functionBuilder_;
/**
* <code>.chalk.graph.v1.FunctionReference function = 16 [json_name = "function"];</code>
* @return Whether the function field is set.
*/
public boolean hasFunction() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <code>.chalk.graph.v1.FunctionReference function = 16 [json_name = "function"];</code>
* @return The function.
*/
public ai.chalk.protos.chalk.graph.v1.FunctionReference getFunction() {
if (functionBuilder_ == null) {
return function_ == null ? ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance() : function_;
} else {
return functionBuilder_.getMessage();
}
}
/**
* <code>.chalk.graph.v1.FunctionReference function = 16 [json_name = "function"];</code>
*/
public Builder setFunction(ai.chalk.protos.chalk.graph.v1.FunctionReference value) {
if (functionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
function_ = value;
} else {
functionBuilder_.setMessage(value);
}
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.FunctionReference function = 16 [json_name = "function"];</code>
*/
public Builder setFunction(
ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder builderForValue) {
if (functionBuilder_ == null) {
function_ = builderForValue.build();
} else {
functionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.FunctionReference function = 16 [json_name = "function"];</code>
*/
public Builder mergeFunction(ai.chalk.protos.chalk.graph.v1.FunctionReference value) {
if (functionBuilder_ == null) {
if (((bitField0_ & 0x00008000) != 0) &&
function_ != null &&
function_ != ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance()) {
getFunctionBuilder().mergeFrom(value);
} else {
function_ = value;
}
} else {
functionBuilder_.mergeFrom(value);
}
if (function_ != null) {
bitField0_ |= 0x00008000;
onChanged();
}
return this;
}
/**
* <code>.chalk.graph.v1.FunctionReference function = 16 [json_name = "function"];</code>
*/
public Builder clearFunction() {
bitField0_ = (bitField0_ & ~0x00008000);
function_ = null;
if (functionBuilder_ != null) {
functionBuilder_.dispose();
functionBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.FunctionReference function = 16 [json_name = "function"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder getFunctionBuilder() {
bitField0_ |= 0x00008000;
onChanged();
return getFunctionFieldBuilder().getBuilder();
}
/**
* <code>.chalk.graph.v1.FunctionReference function = 16 [json_name = "function"];</code>
*/
public ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder getFunctionOrBuilder() {
if (functionBuilder_ != null) {
return functionBuilder_.getMessageOrBuilder();
} else {
return function_ == null ?
ai.chalk.protos.chalk.graph.v1.FunctionReference.getDefaultInstance() : function_;
}
}
/**
* <code>.chalk.graph.v1.FunctionReference function = 16 [json_name = "function"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FunctionReference, ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder, ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder>
getFunctionFieldBuilder() {
if (functionBuilder_ == null) {
functionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.chalk.protos.chalk.graph.v1.FunctionReference, ai.chalk.protos.chalk.graph.v1.FunctionReference.Builder, ai.chalk.protos.chalk.graph.v1.FunctionReferenceOrBuilder>(
getFunction(),
getParentForChildren(),
isClean());
function_ = null;
}
return functionBuilder_;
}
private int resourceHint_ = 0;
/**
* <code>.chalk.graph.v1.ResourceHint resource_hint = 17 [json_name = "resourceHint"];</code>
* @return The enum numeric value on the wire for resourceHint.
*/
@java.lang.Override public int getResourceHintValue() {
return resourceHint_;
}
/**
* <code>.chalk.graph.v1.ResourceHint resource_hint = 17 [json_name = "resourceHint"];</code>
* @param value The enum numeric value on the wire for resourceHint to set.
* @return This builder for chaining.
*/
public Builder setResourceHintValue(int value) {
resourceHint_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.ResourceHint resource_hint = 17 [json_name = "resourceHint"];</code>
* @return The resourceHint.
*/
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.ResourceHint getResourceHint() {
ai.chalk.protos.chalk.graph.v1.ResourceHint result = ai.chalk.protos.chalk.graph.v1.ResourceHint.forNumber(resourceHint_);
return result == null ? ai.chalk.protos.chalk.graph.v1.ResourceHint.UNRECOGNIZED : result;
}
/**
* <code>.chalk.graph.v1.ResourceHint resource_hint = 17 [json_name = "resourceHint"];</code>
* @param value The resourceHint to set.
* @return This builder for chaining.
*/
public Builder setResourceHint(ai.chalk.protos.chalk.graph.v1.ResourceHint value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
resourceHint_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.chalk.graph.v1.ResourceHint resource_hint = 17 [json_name = "resourceHint"];</code>
* @return This builder for chaining.
*/
public Builder clearResourceHint() {
bitField0_ = (bitField0_ & ~0x00010000);
resourceHint_ = 0;
onChanged();
return this;
}
private boolean isStatic_ ;
/**
* <code>bool is_static = 18 [json_name = "isStatic"];</code>
* @return The isStatic.
*/
@java.lang.Override
public boolean getIsStatic() {
return isStatic_;
}
/**
* <code>bool is_static = 18 [json_name = "isStatic"];</code>
* @param value The isStatic to set.
* @return This builder for chaining.
*/
public Builder setIsStatic(boolean value) {
isStatic_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* <code>bool is_static = 18 [json_name = "isStatic"];</code>
* @return This builder for chaining.
*/
public Builder clearIsStatic() {
bitField0_ = (bitField0_ & ~0x00020000);
isStatic_ = false;
onChanged();
return this;
}
private boolean isTotal_ ;
/**
* <code>optional bool is_total = 19 [json_name = "isTotal"];</code>
* @return Whether the isTotal field is set.
*/
@java.lang.Override
public boolean hasIsTotal() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* <code>optional bool is_total = 19 [json_name = "isTotal"];</code>
* @return The isTotal.
*/
@java.lang.Override
public boolean getIsTotal() {
return isTotal_;
}
/**
* <code>optional bool is_total = 19 [json_name = "isTotal"];</code>
* @param value The isTotal to set.
* @return This builder for chaining.
*/
public Builder setIsTotal(boolean value) {
isTotal_ = value;
bitField0_ |= 0x00040000;
onChanged();
return this;
}
/**
* <code>optional bool is_total = 19 [json_name = "isTotal"];</code>
* @return This builder for chaining.
*/
public Builder clearIsTotal() {
bitField0_ = (bitField0_ & ~0x00040000);
isTotal_ = 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.graph.v1.Resolver)
}
// @@protoc_insertion_point(class_scope:chalk.graph.v1.Resolver)
private static final ai.chalk.protos.chalk.graph.v1.Resolver DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.chalk.protos.chalk.graph.v1.Resolver();
}
public static ai.chalk.protos.chalk.graph.v1.Resolver getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Resolver>
PARSER = new com.google.protobuf.AbstractParser<Resolver>() {
@java.lang.Override
public Resolver 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<Resolver> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Resolver> getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.chalk.protos.chalk.graph.v1.Resolver getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.