All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.substrait.proto.FunctionSignature Maven / Gradle / Ivy

Go to download

Create a well-defined, cross-language specification for data compute operations

There is a newer version: 0.46.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: substrait/function.proto

// Protobuf Java Version: 3.25.5
package io.substrait.proto;

/**
 * 
 * List of function signatures available.
 * 
* * Protobuf type {@code substrait.FunctionSignature} */ public final class FunctionSignature extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:substrait.FunctionSignature) FunctionSignatureOrBuilder { private static final long serialVersionUID = 0L; // Use FunctionSignature.newBuilder() to construct. private FunctionSignature(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FunctionSignature() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FunctionSignature(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.class, io.substrait.proto.FunctionSignature.Builder.class); } public interface FinalArgVariadicOrBuilder extends // @@protoc_insertion_point(interface_extends:substrait.FunctionSignature.FinalArgVariadic) com.google.protobuf.MessageOrBuilder { /** *
     * the minimum number of arguments allowed for the list of final arguments
     * (inclusive).
     * 
* * int64 min_args = 1; * @return The minArgs. */ long getMinArgs(); /** *
     * the maximum number of arguments allowed for the list of final arguments
     * (exclusive)
     * 
* * int64 max_args = 2; * @return The maxArgs. */ long getMaxArgs(); /** *
     * the type of parameterized type consistency
     * 
* * .substrait.FunctionSignature.FinalArgVariadic.ParameterConsistency consistency = 3; * @return The enum numeric value on the wire for consistency. */ int getConsistencyValue(); /** *
     * the type of parameterized type consistency
     * 
* * .substrait.FunctionSignature.FinalArgVariadic.ParameterConsistency consistency = 3; * @return The consistency. */ io.substrait.proto.FunctionSignature.FinalArgVariadic.ParameterConsistency getConsistency(); } /** * Protobuf type {@code substrait.FunctionSignature.FinalArgVariadic} */ public static final class FinalArgVariadic extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:substrait.FunctionSignature.FinalArgVariadic) FinalArgVariadicOrBuilder { private static final long serialVersionUID = 0L; // Use FinalArgVariadic.newBuilder() to construct. private FinalArgVariadic(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FinalArgVariadic() { consistency_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FinalArgVariadic(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_FinalArgVariadic_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_FinalArgVariadic_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.FinalArgVariadic.class, io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder.class); } /** * Protobuf enum {@code substrait.FunctionSignature.FinalArgVariadic.ParameterConsistency} */ public enum ParameterConsistency implements com.google.protobuf.ProtocolMessageEnum { /** * PARAMETER_CONSISTENCY_UNSPECIFIED = 0; */ PARAMETER_CONSISTENCY_UNSPECIFIED(0), /** *
       * All argument must be the same concrete type.
       * 
* * PARAMETER_CONSISTENCY_CONSISTENT = 1; */ PARAMETER_CONSISTENCY_CONSISTENT(1), /** *
       * Each argument can be any possible concrete type afforded by the bounds
       * of any parameter defined in the arguments specification.
       * 
* * PARAMETER_CONSISTENCY_INCONSISTENT = 2; */ PARAMETER_CONSISTENCY_INCONSISTENT(2), UNRECOGNIZED(-1), ; /** * PARAMETER_CONSISTENCY_UNSPECIFIED = 0; */ public static final int PARAMETER_CONSISTENCY_UNSPECIFIED_VALUE = 0; /** *
       * All argument must be the same concrete type.
       * 
* * PARAMETER_CONSISTENCY_CONSISTENT = 1; */ public static final int PARAMETER_CONSISTENCY_CONSISTENT_VALUE = 1; /** *
       * Each argument can be any possible concrete type afforded by the bounds
       * of any parameter defined in the arguments specification.
       * 
* * PARAMETER_CONSISTENCY_INCONSISTENT = 2; */ public static final int PARAMETER_CONSISTENCY_INCONSISTENT_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ParameterConsistency 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 ParameterConsistency forNumber(int value) { switch (value) { case 0: return PARAMETER_CONSISTENCY_UNSPECIFIED; case 1: return PARAMETER_CONSISTENCY_CONSISTENT; case 2: return PARAMETER_CONSISTENCY_INCONSISTENT; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ParameterConsistency> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ParameterConsistency findValueByNumber(int number) { return ParameterConsistency.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 io.substrait.proto.FunctionSignature.FinalArgVariadic.getDescriptor().getEnumTypes().get(0); } private static final ParameterConsistency[] VALUES = values(); public static ParameterConsistency 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 ParameterConsistency(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:substrait.FunctionSignature.FinalArgVariadic.ParameterConsistency) } public static final int MIN_ARGS_FIELD_NUMBER = 1; private long minArgs_ = 0L; /** *
     * the minimum number of arguments allowed for the list of final arguments
     * (inclusive).
     * 
* * int64 min_args = 1; * @return The minArgs. */ @java.lang.Override public long getMinArgs() { return minArgs_; } public static final int MAX_ARGS_FIELD_NUMBER = 2; private long maxArgs_ = 0L; /** *
     * the maximum number of arguments allowed for the list of final arguments
     * (exclusive)
     * 
* * int64 max_args = 2; * @return The maxArgs. */ @java.lang.Override public long getMaxArgs() { return maxArgs_; } public static final int CONSISTENCY_FIELD_NUMBER = 3; private int consistency_ = 0; /** *
     * the type of parameterized type consistency
     * 
* * .substrait.FunctionSignature.FinalArgVariadic.ParameterConsistency consistency = 3; * @return The enum numeric value on the wire for consistency. */ @java.lang.Override public int getConsistencyValue() { return consistency_; } /** *
     * the type of parameterized type consistency
     * 
* * .substrait.FunctionSignature.FinalArgVariadic.ParameterConsistency consistency = 3; * @return The consistency. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadic.ParameterConsistency getConsistency() { io.substrait.proto.FunctionSignature.FinalArgVariadic.ParameterConsistency result = io.substrait.proto.FunctionSignature.FinalArgVariadic.ParameterConsistency.forNumber(consistency_); return result == null ? io.substrait.proto.FunctionSignature.FinalArgVariadic.ParameterConsistency.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (minArgs_ != 0L) { output.writeInt64(1, minArgs_); } if (maxArgs_ != 0L) { output.writeInt64(2, maxArgs_); } if (consistency_ != io.substrait.proto.FunctionSignature.FinalArgVariadic.ParameterConsistency.PARAMETER_CONSISTENCY_UNSPECIFIED.getNumber()) { output.writeEnum(3, consistency_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (minArgs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, minArgs_); } if (maxArgs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, maxArgs_); } if (consistency_ != io.substrait.proto.FunctionSignature.FinalArgVariadic.ParameterConsistency.PARAMETER_CONSISTENCY_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, consistency_); } 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 io.substrait.proto.FunctionSignature.FinalArgVariadic)) { return super.equals(obj); } io.substrait.proto.FunctionSignature.FinalArgVariadic other = (io.substrait.proto.FunctionSignature.FinalArgVariadic) obj; if (getMinArgs() != other.getMinArgs()) return false; if (getMaxArgs() != other.getMaxArgs()) return false; if (consistency_ != other.consistency_) 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) + MIN_ARGS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinArgs()); hash = (37 * hash) + MAX_ARGS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxArgs()); hash = (37 * hash) + CONSISTENCY_FIELD_NUMBER; hash = (53 * hash) + consistency_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.substrait.proto.FunctionSignature.FinalArgVariadic parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.FinalArgVariadic parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.FinalArgVariadic parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.FinalArgVariadic parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.FinalArgVariadic parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.FinalArgVariadic parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.FinalArgVariadic parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.FinalArgVariadic 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 io.substrait.proto.FunctionSignature.FinalArgVariadic parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.FinalArgVariadic 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 io.substrait.proto.FunctionSignature.FinalArgVariadic parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.FinalArgVariadic 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(io.substrait.proto.FunctionSignature.FinalArgVariadic 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 substrait.FunctionSignature.FinalArgVariadic} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:substrait.FunctionSignature.FinalArgVariadic) io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_FinalArgVariadic_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_FinalArgVariadic_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.FinalArgVariadic.class, io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder.class); } // Construct using io.substrait.proto.FunctionSignature.FinalArgVariadic.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; minArgs_ = 0L; maxArgs_ = 0L; consistency_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_FinalArgVariadic_descriptor; } @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadic getDefaultInstanceForType() { return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadic build() { io.substrait.proto.FunctionSignature.FinalArgVariadic result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadic buildPartial() { io.substrait.proto.FunctionSignature.FinalArgVariadic result = new io.substrait.proto.FunctionSignature.FinalArgVariadic(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.substrait.proto.FunctionSignature.FinalArgVariadic result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.minArgs_ = minArgs_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.maxArgs_ = maxArgs_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.consistency_ = consistency_; } } @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 io.substrait.proto.FunctionSignature.FinalArgVariadic) { return mergeFrom((io.substrait.proto.FunctionSignature.FinalArgVariadic)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.substrait.proto.FunctionSignature.FinalArgVariadic other) { if (other == io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance()) return this; if (other.getMinArgs() != 0L) { setMinArgs(other.getMinArgs()); } if (other.getMaxArgs() != 0L) { setMaxArgs(other.getMaxArgs()); } if (other.consistency_ != 0) { setConsistencyValue(other.getConsistencyValue()); } 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: { minArgs_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { maxArgs_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { consistency_ = input.readEnum(); 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 long minArgs_ ; /** *
       * the minimum number of arguments allowed for the list of final arguments
       * (inclusive).
       * 
* * int64 min_args = 1; * @return The minArgs. */ @java.lang.Override public long getMinArgs() { return minArgs_; } /** *
       * the minimum number of arguments allowed for the list of final arguments
       * (inclusive).
       * 
* * int64 min_args = 1; * @param value The minArgs to set. * @return This builder for chaining. */ public Builder setMinArgs(long value) { minArgs_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * the minimum number of arguments allowed for the list of final arguments
       * (inclusive).
       * 
* * int64 min_args = 1; * @return This builder for chaining. */ public Builder clearMinArgs() { bitField0_ = (bitField0_ & ~0x00000001); minArgs_ = 0L; onChanged(); return this; } private long maxArgs_ ; /** *
       * the maximum number of arguments allowed for the list of final arguments
       * (exclusive)
       * 
* * int64 max_args = 2; * @return The maxArgs. */ @java.lang.Override public long getMaxArgs() { return maxArgs_; } /** *
       * the maximum number of arguments allowed for the list of final arguments
       * (exclusive)
       * 
* * int64 max_args = 2; * @param value The maxArgs to set. * @return This builder for chaining. */ public Builder setMaxArgs(long value) { maxArgs_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * the maximum number of arguments allowed for the list of final arguments
       * (exclusive)
       * 
* * int64 max_args = 2; * @return This builder for chaining. */ public Builder clearMaxArgs() { bitField0_ = (bitField0_ & ~0x00000002); maxArgs_ = 0L; onChanged(); return this; } private int consistency_ = 0; /** *
       * the type of parameterized type consistency
       * 
* * .substrait.FunctionSignature.FinalArgVariadic.ParameterConsistency consistency = 3; * @return The enum numeric value on the wire for consistency. */ @java.lang.Override public int getConsistencyValue() { return consistency_; } /** *
       * the type of parameterized type consistency
       * 
* * .substrait.FunctionSignature.FinalArgVariadic.ParameterConsistency consistency = 3; * @param value The enum numeric value on the wire for consistency to set. * @return This builder for chaining. */ public Builder setConsistencyValue(int value) { consistency_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * the type of parameterized type consistency
       * 
* * .substrait.FunctionSignature.FinalArgVariadic.ParameterConsistency consistency = 3; * @return The consistency. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadic.ParameterConsistency getConsistency() { io.substrait.proto.FunctionSignature.FinalArgVariadic.ParameterConsistency result = io.substrait.proto.FunctionSignature.FinalArgVariadic.ParameterConsistency.forNumber(consistency_); return result == null ? io.substrait.proto.FunctionSignature.FinalArgVariadic.ParameterConsistency.UNRECOGNIZED : result; } /** *
       * the type of parameterized type consistency
       * 
* * .substrait.FunctionSignature.FinalArgVariadic.ParameterConsistency consistency = 3; * @param value The consistency to set. * @return This builder for chaining. */ public Builder setConsistency(io.substrait.proto.FunctionSignature.FinalArgVariadic.ParameterConsistency value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; consistency_ = value.getNumber(); onChanged(); return this; } /** *
       * the type of parameterized type consistency
       * 
* * .substrait.FunctionSignature.FinalArgVariadic.ParameterConsistency consistency = 3; * @return This builder for chaining. */ public Builder clearConsistency() { bitField0_ = (bitField0_ & ~0x00000004); consistency_ = 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:substrait.FunctionSignature.FinalArgVariadic) } // @@protoc_insertion_point(class_scope:substrait.FunctionSignature.FinalArgVariadic) private static final io.substrait.proto.FunctionSignature.FinalArgVariadic DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.substrait.proto.FunctionSignature.FinalArgVariadic(); } public static io.substrait.proto.FunctionSignature.FinalArgVariadic getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FinalArgVariadic parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadic getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FinalArgNormalOrBuilder extends // @@protoc_insertion_point(interface_extends:substrait.FunctionSignature.FinalArgNormal) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code substrait.FunctionSignature.FinalArgNormal} */ public static final class FinalArgNormal extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:substrait.FunctionSignature.FinalArgNormal) FinalArgNormalOrBuilder { private static final long serialVersionUID = 0L; // Use FinalArgNormal.newBuilder() to construct. private FinalArgNormal(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FinalArgNormal() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FinalArgNormal(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_FinalArgNormal_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_FinalArgNormal_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.FinalArgNormal.class, io.substrait.proto.FunctionSignature.FinalArgNormal.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.substrait.proto.FunctionSignature.FinalArgNormal)) { return super.equals(obj); } io.substrait.proto.FunctionSignature.FinalArgNormal other = (io.substrait.proto.FunctionSignature.FinalArgNormal) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.substrait.proto.FunctionSignature.FinalArgNormal parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.FinalArgNormal parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.FinalArgNormal parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.FinalArgNormal parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.FinalArgNormal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.FinalArgNormal parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.FinalArgNormal parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.FinalArgNormal 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 io.substrait.proto.FunctionSignature.FinalArgNormal parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.FinalArgNormal 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 io.substrait.proto.FunctionSignature.FinalArgNormal parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.FinalArgNormal 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(io.substrait.proto.FunctionSignature.FinalArgNormal 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 substrait.FunctionSignature.FinalArgNormal} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:substrait.FunctionSignature.FinalArgNormal) io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_FinalArgNormal_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_FinalArgNormal_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.FinalArgNormal.class, io.substrait.proto.FunctionSignature.FinalArgNormal.Builder.class); } // Construct using io.substrait.proto.FunctionSignature.FinalArgNormal.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_FinalArgNormal_descriptor; } @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormal getDefaultInstanceForType() { return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormal build() { io.substrait.proto.FunctionSignature.FinalArgNormal result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormal buildPartial() { io.substrait.proto.FunctionSignature.FinalArgNormal result = new io.substrait.proto.FunctionSignature.FinalArgNormal(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.substrait.proto.FunctionSignature.FinalArgNormal) { return mergeFrom((io.substrait.proto.FunctionSignature.FinalArgNormal)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.substrait.proto.FunctionSignature.FinalArgNormal other) { if (other == io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:substrait.FunctionSignature.FinalArgNormal) } // @@protoc_insertion_point(class_scope:substrait.FunctionSignature.FinalArgNormal) private static final io.substrait.proto.FunctionSignature.FinalArgNormal DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.substrait.proto.FunctionSignature.FinalArgNormal(); } public static io.substrait.proto.FunctionSignature.FinalArgNormal getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FinalArgNormal parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormal getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ScalarOrBuilder extends // @@protoc_insertion_point(interface_extends:substrait.FunctionSignature.Scalar) com.google.protobuf.MessageOrBuilder { /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ java.util.List getArgumentsList(); /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ io.substrait.proto.FunctionSignature.Argument getArguments(int index); /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ int getArgumentsCount(); /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ java.util.List getArgumentsOrBuilderList(); /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ io.substrait.proto.FunctionSignature.ArgumentOrBuilder getArgumentsOrBuilder( int index); /** * repeated string name = 3; * @return A list containing the name. */ java.util.List getNameList(); /** * repeated string name = 3; * @return The count of name. */ int getNameCount(); /** * repeated string name = 3; * @param index The index of the element to return. * @return The name at the given index. */ java.lang.String getName(int index); /** * repeated string name = 3; * @param index The index of the value to return. * @return The bytes of the name at the given index. */ com.google.protobuf.ByteString getNameBytes(int index); /** * .substrait.FunctionSignature.Description description = 4; * @return Whether the description field is set. */ boolean hasDescription(); /** * .substrait.FunctionSignature.Description description = 4; * @return The description. */ io.substrait.proto.FunctionSignature.Description getDescription(); /** * .substrait.FunctionSignature.Description description = 4; */ io.substrait.proto.FunctionSignature.DescriptionOrBuilder getDescriptionOrBuilder(); /** * bool deterministic = 7; * @return The deterministic. */ boolean getDeterministic(); /** * bool session_dependent = 8; * @return The sessionDependent. */ boolean getSessionDependent(); /** * .substrait.DerivationExpression output_type = 9; * @return Whether the outputType field is set. */ boolean hasOutputType(); /** * .substrait.DerivationExpression output_type = 9; * @return The outputType. */ io.substrait.proto.DerivationExpression getOutputType(); /** * .substrait.DerivationExpression output_type = 9; */ io.substrait.proto.DerivationExpressionOrBuilder getOutputTypeOrBuilder(); /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; * @return Whether the variadic field is set. */ boolean hasVariadic(); /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; * @return The variadic. */ io.substrait.proto.FunctionSignature.FinalArgVariadic getVariadic(); /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder getVariadicOrBuilder(); /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; * @return Whether the normal field is set. */ boolean hasNormal(); /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; * @return The normal. */ io.substrait.proto.FunctionSignature.FinalArgNormal getNormal(); /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder getNormalOrBuilder(); /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ java.util.List getImplementationsList(); /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ io.substrait.proto.FunctionSignature.Implementation getImplementations(int index); /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ int getImplementationsCount(); /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ java.util.List getImplementationsOrBuilderList(); /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ io.substrait.proto.FunctionSignature.ImplementationOrBuilder getImplementationsOrBuilder( int index); io.substrait.proto.FunctionSignature.Scalar.FinalVariableBehaviorCase getFinalVariableBehaviorCase(); } /** * Protobuf type {@code substrait.FunctionSignature.Scalar} */ public static final class Scalar extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:substrait.FunctionSignature.Scalar) ScalarOrBuilder { private static final long serialVersionUID = 0L; // Use Scalar.newBuilder() to construct. private Scalar(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Scalar() { arguments_ = java.util.Collections.emptyList(); name_ = com.google.protobuf.LazyStringArrayList.emptyList(); implementations_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Scalar(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Scalar_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Scalar_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Scalar.class, io.substrait.proto.FunctionSignature.Scalar.Builder.class); } private int bitField0_; private int finalVariableBehaviorCase_ = 0; @SuppressWarnings("serial") private java.lang.Object finalVariableBehavior_; public enum FinalVariableBehaviorCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VARIADIC(10), NORMAL(11), FINALVARIABLEBEHAVIOR_NOT_SET(0); private final int value; private FinalVariableBehaviorCase(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 FinalVariableBehaviorCase valueOf(int value) { return forNumber(value); } public static FinalVariableBehaviorCase forNumber(int value) { switch (value) { case 10: return VARIADIC; case 11: return NORMAL; case 0: return FINALVARIABLEBEHAVIOR_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public FinalVariableBehaviorCase getFinalVariableBehaviorCase() { return FinalVariableBehaviorCase.forNumber( finalVariableBehaviorCase_); } public static final int ARGUMENTS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List arguments_; /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public java.util.List getArgumentsList() { return arguments_; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public java.util.List getArgumentsOrBuilderList() { return arguments_; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public int getArgumentsCount() { return arguments_.size(); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument getArguments(int index) { return arguments_.get(index); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public io.substrait.proto.FunctionSignature.ArgumentOrBuilder getArgumentsOrBuilder( int index) { return arguments_.get(index); } public static final int NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList name_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string name = 3; * @return A list containing the name. */ public com.google.protobuf.ProtocolStringList getNameList() { return name_; } /** * repeated string name = 3; * @return The count of name. */ public int getNameCount() { return name_.size(); } /** * repeated string name = 3; * @param index The index of the element to return. * @return The name at the given index. */ public java.lang.String getName(int index) { return name_.get(index); } /** * repeated string name = 3; * @param index The index of the value to return. * @return The bytes of the name at the given index. */ public com.google.protobuf.ByteString getNameBytes(int index) { return name_.getByteString(index); } public static final int DESCRIPTION_FIELD_NUMBER = 4; private io.substrait.proto.FunctionSignature.Description description_; /** * .substrait.FunctionSignature.Description description = 4; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return ((bitField0_ & 0x00000001) != 0); } /** * .substrait.FunctionSignature.Description description = 4; * @return The description. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Description getDescription() { return description_ == null ? io.substrait.proto.FunctionSignature.Description.getDefaultInstance() : description_; } /** * .substrait.FunctionSignature.Description description = 4; */ @java.lang.Override public io.substrait.proto.FunctionSignature.DescriptionOrBuilder getDescriptionOrBuilder() { return description_ == null ? io.substrait.proto.FunctionSignature.Description.getDefaultInstance() : description_; } public static final int DETERMINISTIC_FIELD_NUMBER = 7; private boolean deterministic_ = false; /** * bool deterministic = 7; * @return The deterministic. */ @java.lang.Override public boolean getDeterministic() { return deterministic_; } public static final int SESSION_DEPENDENT_FIELD_NUMBER = 8; private boolean sessionDependent_ = false; /** * bool session_dependent = 8; * @return The sessionDependent. */ @java.lang.Override public boolean getSessionDependent() { return sessionDependent_; } public static final int OUTPUT_TYPE_FIELD_NUMBER = 9; private io.substrait.proto.DerivationExpression outputType_; /** * .substrait.DerivationExpression output_type = 9; * @return Whether the outputType field is set. */ @java.lang.Override public boolean hasOutputType() { return ((bitField0_ & 0x00000002) != 0); } /** * .substrait.DerivationExpression output_type = 9; * @return The outputType. */ @java.lang.Override public io.substrait.proto.DerivationExpression getOutputType() { return outputType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : outputType_; } /** * .substrait.DerivationExpression output_type = 9; */ @java.lang.Override public io.substrait.proto.DerivationExpressionOrBuilder getOutputTypeOrBuilder() { return outputType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : outputType_; } public static final int VARIADIC_FIELD_NUMBER = 10; /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; * @return Whether the variadic field is set. */ @java.lang.Override public boolean hasVariadic() { return finalVariableBehaviorCase_ == 10; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; * @return The variadic. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadic getVariadic() { if (finalVariableBehaviorCase_ == 10) { return (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder getVariadicOrBuilder() { if (finalVariableBehaviorCase_ == 10) { return (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } public static final int NORMAL_FIELD_NUMBER = 11; /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; * @return Whether the normal field is set. */ @java.lang.Override public boolean hasNormal() { return finalVariableBehaviorCase_ == 11; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; * @return The normal. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormal getNormal() { if (finalVariableBehaviorCase_ == 11) { return (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder getNormalOrBuilder() { if (finalVariableBehaviorCase_ == 11) { return (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } public static final int IMPLEMENTATIONS_FIELD_NUMBER = 12; @SuppressWarnings("serial") private java.util.List implementations_; /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ @java.lang.Override public java.util.List getImplementationsList() { return implementations_; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ @java.lang.Override public java.util.List getImplementationsOrBuilderList() { return implementations_; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ @java.lang.Override public int getImplementationsCount() { return implementations_.size(); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ @java.lang.Override public io.substrait.proto.FunctionSignature.Implementation getImplementations(int index) { return implementations_.get(index); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ @java.lang.Override public io.substrait.proto.FunctionSignature.ImplementationOrBuilder getImplementationsOrBuilder( int index) { return implementations_.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 < arguments_.size(); i++) { output.writeMessage(2, arguments_.get(i)); } for (int i = 0; i < name_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_.getRaw(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getDescription()); } if (deterministic_ != false) { output.writeBool(7, deterministic_); } if (sessionDependent_ != false) { output.writeBool(8, sessionDependent_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(9, getOutputType()); } if (finalVariableBehaviorCase_ == 10) { output.writeMessage(10, (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_); } if (finalVariableBehaviorCase_ == 11) { output.writeMessage(11, (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_); } for (int i = 0; i < implementations_.size(); i++) { output.writeMessage(12, implementations_.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 < arguments_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, arguments_.get(i)); } { int dataSize = 0; for (int i = 0; i < name_.size(); i++) { dataSize += computeStringSizeNoTag(name_.getRaw(i)); } size += dataSize; size += 1 * getNameList().size(); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getDescription()); } if (deterministic_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, deterministic_); } if (sessionDependent_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, sessionDependent_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getOutputType()); } if (finalVariableBehaviorCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_); } if (finalVariableBehaviorCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_); } for (int i = 0; i < implementations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, implementations_.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 io.substrait.proto.FunctionSignature.Scalar)) { return super.equals(obj); } io.substrait.proto.FunctionSignature.Scalar other = (io.substrait.proto.FunctionSignature.Scalar) obj; if (!getArgumentsList() .equals(other.getArgumentsList())) return false; if (!getNameList() .equals(other.getNameList())) return false; if (hasDescription() != other.hasDescription()) return false; if (hasDescription()) { if (!getDescription() .equals(other.getDescription())) return false; } if (getDeterministic() != other.getDeterministic()) return false; if (getSessionDependent() != other.getSessionDependent()) return false; if (hasOutputType() != other.hasOutputType()) return false; if (hasOutputType()) { if (!getOutputType() .equals(other.getOutputType())) return false; } if (!getImplementationsList() .equals(other.getImplementationsList())) return false; if (!getFinalVariableBehaviorCase().equals(other.getFinalVariableBehaviorCase())) return false; switch (finalVariableBehaviorCase_) { case 10: if (!getVariadic() .equals(other.getVariadic())) return false; break; case 11: if (!getNormal() .equals(other.getNormal())) 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 (getArgumentsCount() > 0) { hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER; hash = (53 * hash) + getArgumentsList().hashCode(); } if (getNameCount() > 0) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getNameList().hashCode(); } if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } hash = (37 * hash) + DETERMINISTIC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeterministic()); hash = (37 * hash) + SESSION_DEPENDENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSessionDependent()); if (hasOutputType()) { hash = (37 * hash) + OUTPUT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getOutputType().hashCode(); } if (getImplementationsCount() > 0) { hash = (37 * hash) + IMPLEMENTATIONS_FIELD_NUMBER; hash = (53 * hash) + getImplementationsList().hashCode(); } switch (finalVariableBehaviorCase_) { case 10: hash = (37 * hash) + VARIADIC_FIELD_NUMBER; hash = (53 * hash) + getVariadic().hashCode(); break; case 11: hash = (37 * hash) + NORMAL_FIELD_NUMBER; hash = (53 * hash) + getNormal().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.substrait.proto.FunctionSignature.Scalar parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Scalar parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Scalar parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Scalar parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Scalar parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Scalar parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Scalar parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Scalar 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 io.substrait.proto.FunctionSignature.Scalar parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Scalar 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 io.substrait.proto.FunctionSignature.Scalar parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Scalar 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(io.substrait.proto.FunctionSignature.Scalar 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 substrait.FunctionSignature.Scalar} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:substrait.FunctionSignature.Scalar) io.substrait.proto.FunctionSignature.ScalarOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Scalar_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Scalar_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Scalar.class, io.substrait.proto.FunctionSignature.Scalar.Builder.class); } // Construct using io.substrait.proto.FunctionSignature.Scalar.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getArgumentsFieldBuilder(); getDescriptionFieldBuilder(); getOutputTypeFieldBuilder(); getImplementationsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (argumentsBuilder_ == null) { arguments_ = java.util.Collections.emptyList(); } else { arguments_ = null; argumentsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); name_ = com.google.protobuf.LazyStringArrayList.emptyList(); description_ = null; if (descriptionBuilder_ != null) { descriptionBuilder_.dispose(); descriptionBuilder_ = null; } deterministic_ = false; sessionDependent_ = false; outputType_ = null; if (outputTypeBuilder_ != null) { outputTypeBuilder_.dispose(); outputTypeBuilder_ = null; } if (variadicBuilder_ != null) { variadicBuilder_.clear(); } if (normalBuilder_ != null) { normalBuilder_.clear(); } if (implementationsBuilder_ == null) { implementations_ = java.util.Collections.emptyList(); } else { implementations_ = null; implementationsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Scalar_descriptor; } @java.lang.Override public io.substrait.proto.FunctionSignature.Scalar getDefaultInstanceForType() { return io.substrait.proto.FunctionSignature.Scalar.getDefaultInstance(); } @java.lang.Override public io.substrait.proto.FunctionSignature.Scalar build() { io.substrait.proto.FunctionSignature.Scalar result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.substrait.proto.FunctionSignature.Scalar buildPartial() { io.substrait.proto.FunctionSignature.Scalar result = new io.substrait.proto.FunctionSignature.Scalar(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartialRepeatedFields(io.substrait.proto.FunctionSignature.Scalar result) { if (argumentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { arguments_ = java.util.Collections.unmodifiableList(arguments_); bitField0_ = (bitField0_ & ~0x00000001); } result.arguments_ = arguments_; } else { result.arguments_ = argumentsBuilder_.build(); } if (implementationsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { implementations_ = java.util.Collections.unmodifiableList(implementations_); bitField0_ = (bitField0_ & ~0x00000100); } result.implementations_ = implementations_; } else { result.implementations_ = implementationsBuilder_.build(); } } private void buildPartial0(io.substrait.proto.FunctionSignature.Scalar result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { name_.makeImmutable(); result.name_ = name_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.description_ = descriptionBuilder_ == null ? description_ : descriptionBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.deterministic_ = deterministic_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.sessionDependent_ = sessionDependent_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.outputType_ = outputTypeBuilder_ == null ? outputType_ : outputTypeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(io.substrait.proto.FunctionSignature.Scalar result) { result.finalVariableBehaviorCase_ = finalVariableBehaviorCase_; result.finalVariableBehavior_ = this.finalVariableBehavior_; if (finalVariableBehaviorCase_ == 10 && variadicBuilder_ != null) { result.finalVariableBehavior_ = variadicBuilder_.build(); } if (finalVariableBehaviorCase_ == 11 && normalBuilder_ != null) { result.finalVariableBehavior_ = normalBuilder_.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 io.substrait.proto.FunctionSignature.Scalar) { return mergeFrom((io.substrait.proto.FunctionSignature.Scalar)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.substrait.proto.FunctionSignature.Scalar other) { if (other == io.substrait.proto.FunctionSignature.Scalar.getDefaultInstance()) return this; if (argumentsBuilder_ == null) { if (!other.arguments_.isEmpty()) { if (arguments_.isEmpty()) { arguments_ = other.arguments_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureArgumentsIsMutable(); arguments_.addAll(other.arguments_); } onChanged(); } } else { if (!other.arguments_.isEmpty()) { if (argumentsBuilder_.isEmpty()) { argumentsBuilder_.dispose(); argumentsBuilder_ = null; arguments_ = other.arguments_; bitField0_ = (bitField0_ & ~0x00000001); argumentsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getArgumentsFieldBuilder() : null; } else { argumentsBuilder_.addAllMessages(other.arguments_); } } } if (!other.name_.isEmpty()) { if (name_.isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000002; } else { ensureNameIsMutable(); name_.addAll(other.name_); } onChanged(); } if (other.hasDescription()) { mergeDescription(other.getDescription()); } if (other.getDeterministic() != false) { setDeterministic(other.getDeterministic()); } if (other.getSessionDependent() != false) { setSessionDependent(other.getSessionDependent()); } if (other.hasOutputType()) { mergeOutputType(other.getOutputType()); } if (implementationsBuilder_ == null) { if (!other.implementations_.isEmpty()) { if (implementations_.isEmpty()) { implementations_ = other.implementations_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureImplementationsIsMutable(); implementations_.addAll(other.implementations_); } onChanged(); } } else { if (!other.implementations_.isEmpty()) { if (implementationsBuilder_.isEmpty()) { implementationsBuilder_.dispose(); implementationsBuilder_ = null; implementations_ = other.implementations_; bitField0_ = (bitField0_ & ~0x00000100); implementationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getImplementationsFieldBuilder() : null; } else { implementationsBuilder_.addAllMessages(other.implementations_); } } } switch (other.getFinalVariableBehaviorCase()) { case VARIADIC: { mergeVariadic(other.getVariadic()); break; } case NORMAL: { mergeNormal(other.getNormal()); break; } case FINALVARIABLEBEHAVIOR_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 18: { io.substrait.proto.FunctionSignature.Argument m = input.readMessage( io.substrait.proto.FunctionSignature.Argument.parser(), extensionRegistry); if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.add(m); } else { argumentsBuilder_.addMessage(m); } break; } // case 18 case 26: { java.lang.String s = input.readStringRequireUtf8(); ensureNameIsMutable(); name_.add(s); break; } // case 26 case 34: { input.readMessage( getDescriptionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 case 56: { deterministic_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 56 case 64: { sessionDependent_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 64 case 74: { input.readMessage( getOutputTypeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 74 case 82: { input.readMessage( getVariadicFieldBuilder().getBuilder(), extensionRegistry); finalVariableBehaviorCase_ = 10; break; } // case 82 case 90: { input.readMessage( getNormalFieldBuilder().getBuilder(), extensionRegistry); finalVariableBehaviorCase_ = 11; break; } // case 90 case 98: { io.substrait.proto.FunctionSignature.Implementation m = input.readMessage( io.substrait.proto.FunctionSignature.Implementation.parser(), extensionRegistry); if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.add(m); } else { implementationsBuilder_.addMessage(m); } break; } // case 98 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int finalVariableBehaviorCase_ = 0; private java.lang.Object finalVariableBehavior_; public FinalVariableBehaviorCase getFinalVariableBehaviorCase() { return FinalVariableBehaviorCase.forNumber( finalVariableBehaviorCase_); } public Builder clearFinalVariableBehavior() { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; onChanged(); return this; } private int bitField0_; private java.util.List arguments_ = java.util.Collections.emptyList(); private void ensureArgumentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { arguments_ = new java.util.ArrayList(arguments_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument, io.substrait.proto.FunctionSignature.Argument.Builder, io.substrait.proto.FunctionSignature.ArgumentOrBuilder> argumentsBuilder_; /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public java.util.List getArgumentsList() { if (argumentsBuilder_ == null) { return java.util.Collections.unmodifiableList(arguments_); } else { return argumentsBuilder_.getMessageList(); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public int getArgumentsCount() { if (argumentsBuilder_ == null) { return arguments_.size(); } else { return argumentsBuilder_.getCount(); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.Argument getArguments(int index) { if (argumentsBuilder_ == null) { return arguments_.get(index); } else { return argumentsBuilder_.getMessage(index); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder setArguments( int index, io.substrait.proto.FunctionSignature.Argument value) { if (argumentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentsIsMutable(); arguments_.set(index, value); onChanged(); } else { argumentsBuilder_.setMessage(index, value); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder setArguments( int index, io.substrait.proto.FunctionSignature.Argument.Builder builderForValue) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.set(index, builderForValue.build()); onChanged(); } else { argumentsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addArguments(io.substrait.proto.FunctionSignature.Argument value) { if (argumentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentsIsMutable(); arguments_.add(value); onChanged(); } else { argumentsBuilder_.addMessage(value); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addArguments( int index, io.substrait.proto.FunctionSignature.Argument value) { if (argumentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentsIsMutable(); arguments_.add(index, value); onChanged(); } else { argumentsBuilder_.addMessage(index, value); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addArguments( io.substrait.proto.FunctionSignature.Argument.Builder builderForValue) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.add(builderForValue.build()); onChanged(); } else { argumentsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addArguments( int index, io.substrait.proto.FunctionSignature.Argument.Builder builderForValue) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.add(index, builderForValue.build()); onChanged(); } else { argumentsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addAllArguments( java.lang.Iterable values) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, arguments_); onChanged(); } else { argumentsBuilder_.addAllMessages(values); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder clearArguments() { if (argumentsBuilder_ == null) { arguments_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { argumentsBuilder_.clear(); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder removeArguments(int index) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.remove(index); onChanged(); } else { argumentsBuilder_.remove(index); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.Argument.Builder getArgumentsBuilder( int index) { return getArgumentsFieldBuilder().getBuilder(index); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.ArgumentOrBuilder getArgumentsOrBuilder( int index) { if (argumentsBuilder_ == null) { return arguments_.get(index); } else { return argumentsBuilder_.getMessageOrBuilder(index); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public java.util.List getArgumentsOrBuilderList() { if (argumentsBuilder_ != null) { return argumentsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(arguments_); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.Argument.Builder addArgumentsBuilder() { return getArgumentsFieldBuilder().addBuilder( io.substrait.proto.FunctionSignature.Argument.getDefaultInstance()); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.Argument.Builder addArgumentsBuilder( int index) { return getArgumentsFieldBuilder().addBuilder( index, io.substrait.proto.FunctionSignature.Argument.getDefaultInstance()); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public java.util.List getArgumentsBuilderList() { return getArgumentsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument, io.substrait.proto.FunctionSignature.Argument.Builder, io.substrait.proto.FunctionSignature.ArgumentOrBuilder> getArgumentsFieldBuilder() { if (argumentsBuilder_ == null) { argumentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument, io.substrait.proto.FunctionSignature.Argument.Builder, io.substrait.proto.FunctionSignature.ArgumentOrBuilder>( arguments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); arguments_ = null; } return argumentsBuilder_; } private com.google.protobuf.LazyStringArrayList name_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureNameIsMutable() { if (!name_.isModifiable()) { name_ = new com.google.protobuf.LazyStringArrayList(name_); } bitField0_ |= 0x00000002; } /** * repeated string name = 3; * @return A list containing the name. */ public com.google.protobuf.ProtocolStringList getNameList() { name_.makeImmutable(); return name_; } /** * repeated string name = 3; * @return The count of name. */ public int getNameCount() { return name_.size(); } /** * repeated string name = 3; * @param index The index of the element to return. * @return The name at the given index. */ public java.lang.String getName(int index) { return name_.get(index); } /** * repeated string name = 3; * @param index The index of the value to return. * @return The bytes of the name at the given index. */ public com.google.protobuf.ByteString getNameBytes(int index) { return name_.getByteString(index); } /** * repeated string name = 3; * @param index The index to set the value at. * @param value The name to set. * @return This builder for chaining. */ public Builder setName( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNameIsMutable(); name_.set(index, value); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string name = 3; * @param value The name to add. * @return This builder for chaining. */ public Builder addName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNameIsMutable(); name_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string name = 3; * @param values The name to add. * @return This builder for chaining. */ public Builder addAllName( java.lang.Iterable values) { ensureNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, name_); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string name = 3; * @return This builder for chaining. */ public Builder clearName() { name_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** * repeated string name = 3; * @param value The bytes of the name to add. * @return This builder for chaining. */ public Builder addNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNameIsMutable(); name_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } private io.substrait.proto.FunctionSignature.Description description_; private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Description, io.substrait.proto.FunctionSignature.Description.Builder, io.substrait.proto.FunctionSignature.DescriptionOrBuilder> descriptionBuilder_; /** * .substrait.FunctionSignature.Description description = 4; * @return Whether the description field is set. */ public boolean hasDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * .substrait.FunctionSignature.Description description = 4; * @return The description. */ public io.substrait.proto.FunctionSignature.Description getDescription() { if (descriptionBuilder_ == null) { return description_ == null ? io.substrait.proto.FunctionSignature.Description.getDefaultInstance() : description_; } else { return descriptionBuilder_.getMessage(); } } /** * .substrait.FunctionSignature.Description description = 4; */ public Builder setDescription(io.substrait.proto.FunctionSignature.Description value) { if (descriptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } description_ = value; } else { descriptionBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .substrait.FunctionSignature.Description description = 4; */ public Builder setDescription( io.substrait.proto.FunctionSignature.Description.Builder builderForValue) { if (descriptionBuilder_ == null) { description_ = builderForValue.build(); } else { descriptionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .substrait.FunctionSignature.Description description = 4; */ public Builder mergeDescription(io.substrait.proto.FunctionSignature.Description value) { if (descriptionBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && description_ != null && description_ != io.substrait.proto.FunctionSignature.Description.getDefaultInstance()) { getDescriptionBuilder().mergeFrom(value); } else { description_ = value; } } else { descriptionBuilder_.mergeFrom(value); } if (description_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .substrait.FunctionSignature.Description description = 4; */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000004); description_ = null; if (descriptionBuilder_ != null) { descriptionBuilder_.dispose(); descriptionBuilder_ = null; } onChanged(); return this; } /** * .substrait.FunctionSignature.Description description = 4; */ public io.substrait.proto.FunctionSignature.Description.Builder getDescriptionBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDescriptionFieldBuilder().getBuilder(); } /** * .substrait.FunctionSignature.Description description = 4; */ public io.substrait.proto.FunctionSignature.DescriptionOrBuilder getDescriptionOrBuilder() { if (descriptionBuilder_ != null) { return descriptionBuilder_.getMessageOrBuilder(); } else { return description_ == null ? io.substrait.proto.FunctionSignature.Description.getDefaultInstance() : description_; } } /** * .substrait.FunctionSignature.Description description = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Description, io.substrait.proto.FunctionSignature.Description.Builder, io.substrait.proto.FunctionSignature.DescriptionOrBuilder> getDescriptionFieldBuilder() { if (descriptionBuilder_ == null) { descriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Description, io.substrait.proto.FunctionSignature.Description.Builder, io.substrait.proto.FunctionSignature.DescriptionOrBuilder>( getDescription(), getParentForChildren(), isClean()); description_ = null; } return descriptionBuilder_; } private boolean deterministic_ ; /** * bool deterministic = 7; * @return The deterministic. */ @java.lang.Override public boolean getDeterministic() { return deterministic_; } /** * bool deterministic = 7; * @param value The deterministic to set. * @return This builder for chaining. */ public Builder setDeterministic(boolean value) { deterministic_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * bool deterministic = 7; * @return This builder for chaining. */ public Builder clearDeterministic() { bitField0_ = (bitField0_ & ~0x00000008); deterministic_ = false; onChanged(); return this; } private boolean sessionDependent_ ; /** * bool session_dependent = 8; * @return The sessionDependent. */ @java.lang.Override public boolean getSessionDependent() { return sessionDependent_; } /** * bool session_dependent = 8; * @param value The sessionDependent to set. * @return This builder for chaining. */ public Builder setSessionDependent(boolean value) { sessionDependent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * bool session_dependent = 8; * @return This builder for chaining. */ public Builder clearSessionDependent() { bitField0_ = (bitField0_ & ~0x00000010); sessionDependent_ = false; onChanged(); return this; } private io.substrait.proto.DerivationExpression outputType_; private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.DerivationExpression, io.substrait.proto.DerivationExpression.Builder, io.substrait.proto.DerivationExpressionOrBuilder> outputTypeBuilder_; /** * .substrait.DerivationExpression output_type = 9; * @return Whether the outputType field is set. */ public boolean hasOutputType() { return ((bitField0_ & 0x00000020) != 0); } /** * .substrait.DerivationExpression output_type = 9; * @return The outputType. */ public io.substrait.proto.DerivationExpression getOutputType() { if (outputTypeBuilder_ == null) { return outputType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : outputType_; } else { return outputTypeBuilder_.getMessage(); } } /** * .substrait.DerivationExpression output_type = 9; */ public Builder setOutputType(io.substrait.proto.DerivationExpression value) { if (outputTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } outputType_ = value; } else { outputTypeBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * .substrait.DerivationExpression output_type = 9; */ public Builder setOutputType( io.substrait.proto.DerivationExpression.Builder builderForValue) { if (outputTypeBuilder_ == null) { outputType_ = builderForValue.build(); } else { outputTypeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * .substrait.DerivationExpression output_type = 9; */ public Builder mergeOutputType(io.substrait.proto.DerivationExpression value) { if (outputTypeBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && outputType_ != null && outputType_ != io.substrait.proto.DerivationExpression.getDefaultInstance()) { getOutputTypeBuilder().mergeFrom(value); } else { outputType_ = value; } } else { outputTypeBuilder_.mergeFrom(value); } if (outputType_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** * .substrait.DerivationExpression output_type = 9; */ public Builder clearOutputType() { bitField0_ = (bitField0_ & ~0x00000020); outputType_ = null; if (outputTypeBuilder_ != null) { outputTypeBuilder_.dispose(); outputTypeBuilder_ = null; } onChanged(); return this; } /** * .substrait.DerivationExpression output_type = 9; */ public io.substrait.proto.DerivationExpression.Builder getOutputTypeBuilder() { bitField0_ |= 0x00000020; onChanged(); return getOutputTypeFieldBuilder().getBuilder(); } /** * .substrait.DerivationExpression output_type = 9; */ public io.substrait.proto.DerivationExpressionOrBuilder getOutputTypeOrBuilder() { if (outputTypeBuilder_ != null) { return outputTypeBuilder_.getMessageOrBuilder(); } else { return outputType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : outputType_; } } /** * .substrait.DerivationExpression output_type = 9; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.DerivationExpression, io.substrait.proto.DerivationExpression.Builder, io.substrait.proto.DerivationExpressionOrBuilder> getOutputTypeFieldBuilder() { if (outputTypeBuilder_ == null) { outputTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.DerivationExpression, io.substrait.proto.DerivationExpression.Builder, io.substrait.proto.DerivationExpressionOrBuilder>( getOutputType(), getParentForChildren(), isClean()); outputType_ = null; } return outputTypeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgVariadic, io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder, io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder> variadicBuilder_; /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; * @return Whether the variadic field is set. */ @java.lang.Override public boolean hasVariadic() { return finalVariableBehaviorCase_ == 10; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; * @return The variadic. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadic getVariadic() { if (variadicBuilder_ == null) { if (finalVariableBehaviorCase_ == 10) { return (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } else { if (finalVariableBehaviorCase_ == 10) { return variadicBuilder_.getMessage(); } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ public Builder setVariadic(io.substrait.proto.FunctionSignature.FinalArgVariadic value) { if (variadicBuilder_ == null) { if (value == null) { throw new NullPointerException(); } finalVariableBehavior_ = value; onChanged(); } else { variadicBuilder_.setMessage(value); } finalVariableBehaviorCase_ = 10; return this; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ public Builder setVariadic( io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder builderForValue) { if (variadicBuilder_ == null) { finalVariableBehavior_ = builderForValue.build(); onChanged(); } else { variadicBuilder_.setMessage(builderForValue.build()); } finalVariableBehaviorCase_ = 10; return this; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ public Builder mergeVariadic(io.substrait.proto.FunctionSignature.FinalArgVariadic value) { if (variadicBuilder_ == null) { if (finalVariableBehaviorCase_ == 10 && finalVariableBehavior_ != io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance()) { finalVariableBehavior_ = io.substrait.proto.FunctionSignature.FinalArgVariadic.newBuilder((io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_) .mergeFrom(value).buildPartial(); } else { finalVariableBehavior_ = value; } onChanged(); } else { if (finalVariableBehaviorCase_ == 10) { variadicBuilder_.mergeFrom(value); } else { variadicBuilder_.setMessage(value); } } finalVariableBehaviorCase_ = 10; return this; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ public Builder clearVariadic() { if (variadicBuilder_ == null) { if (finalVariableBehaviorCase_ == 10) { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; onChanged(); } } else { if (finalVariableBehaviorCase_ == 10) { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; } variadicBuilder_.clear(); } return this; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ public io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder getVariadicBuilder() { return getVariadicFieldBuilder().getBuilder(); } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder getVariadicOrBuilder() { if ((finalVariableBehaviorCase_ == 10) && (variadicBuilder_ != null)) { return variadicBuilder_.getMessageOrBuilder(); } else { if (finalVariableBehaviorCase_ == 10) { return (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgVariadic, io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder, io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder> getVariadicFieldBuilder() { if (variadicBuilder_ == null) { if (!(finalVariableBehaviorCase_ == 10)) { finalVariableBehavior_ = io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } variadicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgVariadic, io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder, io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder>( (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_, getParentForChildren(), isClean()); finalVariableBehavior_ = null; } finalVariableBehaviorCase_ = 10; onChanged(); return variadicBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgNormal, io.substrait.proto.FunctionSignature.FinalArgNormal.Builder, io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder> normalBuilder_; /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; * @return Whether the normal field is set. */ @java.lang.Override public boolean hasNormal() { return finalVariableBehaviorCase_ == 11; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; * @return The normal. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormal getNormal() { if (normalBuilder_ == null) { if (finalVariableBehaviorCase_ == 11) { return (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } else { if (finalVariableBehaviorCase_ == 11) { return normalBuilder_.getMessage(); } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ public Builder setNormal(io.substrait.proto.FunctionSignature.FinalArgNormal value) { if (normalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } finalVariableBehavior_ = value; onChanged(); } else { normalBuilder_.setMessage(value); } finalVariableBehaviorCase_ = 11; return this; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ public Builder setNormal( io.substrait.proto.FunctionSignature.FinalArgNormal.Builder builderForValue) { if (normalBuilder_ == null) { finalVariableBehavior_ = builderForValue.build(); onChanged(); } else { normalBuilder_.setMessage(builderForValue.build()); } finalVariableBehaviorCase_ = 11; return this; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ public Builder mergeNormal(io.substrait.proto.FunctionSignature.FinalArgNormal value) { if (normalBuilder_ == null) { if (finalVariableBehaviorCase_ == 11 && finalVariableBehavior_ != io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance()) { finalVariableBehavior_ = io.substrait.proto.FunctionSignature.FinalArgNormal.newBuilder((io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_) .mergeFrom(value).buildPartial(); } else { finalVariableBehavior_ = value; } onChanged(); } else { if (finalVariableBehaviorCase_ == 11) { normalBuilder_.mergeFrom(value); } else { normalBuilder_.setMessage(value); } } finalVariableBehaviorCase_ = 11; return this; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ public Builder clearNormal() { if (normalBuilder_ == null) { if (finalVariableBehaviorCase_ == 11) { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; onChanged(); } } else { if (finalVariableBehaviorCase_ == 11) { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; } normalBuilder_.clear(); } return this; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ public io.substrait.proto.FunctionSignature.FinalArgNormal.Builder getNormalBuilder() { return getNormalFieldBuilder().getBuilder(); } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder getNormalOrBuilder() { if ((finalVariableBehaviorCase_ == 11) && (normalBuilder_ != null)) { return normalBuilder_.getMessageOrBuilder(); } else { if (finalVariableBehaviorCase_ == 11) { return (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgNormal, io.substrait.proto.FunctionSignature.FinalArgNormal.Builder, io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder> getNormalFieldBuilder() { if (normalBuilder_ == null) { if (!(finalVariableBehaviorCase_ == 11)) { finalVariableBehavior_ = io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } normalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgNormal, io.substrait.proto.FunctionSignature.FinalArgNormal.Builder, io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder>( (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_, getParentForChildren(), isClean()); finalVariableBehavior_ = null; } finalVariableBehaviorCase_ = 11; onChanged(); return normalBuilder_; } private java.util.List implementations_ = java.util.Collections.emptyList(); private void ensureImplementationsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { implementations_ = new java.util.ArrayList(implementations_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Implementation, io.substrait.proto.FunctionSignature.Implementation.Builder, io.substrait.proto.FunctionSignature.ImplementationOrBuilder> implementationsBuilder_; /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public java.util.List getImplementationsList() { if (implementationsBuilder_ == null) { return java.util.Collections.unmodifiableList(implementations_); } else { return implementationsBuilder_.getMessageList(); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public int getImplementationsCount() { if (implementationsBuilder_ == null) { return implementations_.size(); } else { return implementationsBuilder_.getCount(); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public io.substrait.proto.FunctionSignature.Implementation getImplementations(int index) { if (implementationsBuilder_ == null) { return implementations_.get(index); } else { return implementationsBuilder_.getMessage(index); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public Builder setImplementations( int index, io.substrait.proto.FunctionSignature.Implementation value) { if (implementationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureImplementationsIsMutable(); implementations_.set(index, value); onChanged(); } else { implementationsBuilder_.setMessage(index, value); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public Builder setImplementations( int index, io.substrait.proto.FunctionSignature.Implementation.Builder builderForValue) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.set(index, builderForValue.build()); onChanged(); } else { implementationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public Builder addImplementations(io.substrait.proto.FunctionSignature.Implementation value) { if (implementationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureImplementationsIsMutable(); implementations_.add(value); onChanged(); } else { implementationsBuilder_.addMessage(value); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public Builder addImplementations( int index, io.substrait.proto.FunctionSignature.Implementation value) { if (implementationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureImplementationsIsMutable(); implementations_.add(index, value); onChanged(); } else { implementationsBuilder_.addMessage(index, value); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public Builder addImplementations( io.substrait.proto.FunctionSignature.Implementation.Builder builderForValue) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.add(builderForValue.build()); onChanged(); } else { implementationsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public Builder addImplementations( int index, io.substrait.proto.FunctionSignature.Implementation.Builder builderForValue) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.add(index, builderForValue.build()); onChanged(); } else { implementationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public Builder addAllImplementations( java.lang.Iterable values) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, implementations_); onChanged(); } else { implementationsBuilder_.addAllMessages(values); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public Builder clearImplementations() { if (implementationsBuilder_ == null) { implementations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { implementationsBuilder_.clear(); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public Builder removeImplementations(int index) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.remove(index); onChanged(); } else { implementationsBuilder_.remove(index); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public io.substrait.proto.FunctionSignature.Implementation.Builder getImplementationsBuilder( int index) { return getImplementationsFieldBuilder().getBuilder(index); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public io.substrait.proto.FunctionSignature.ImplementationOrBuilder getImplementationsOrBuilder( int index) { if (implementationsBuilder_ == null) { return implementations_.get(index); } else { return implementationsBuilder_.getMessageOrBuilder(index); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public java.util.List getImplementationsOrBuilderList() { if (implementationsBuilder_ != null) { return implementationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(implementations_); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public io.substrait.proto.FunctionSignature.Implementation.Builder addImplementationsBuilder() { return getImplementationsFieldBuilder().addBuilder( io.substrait.proto.FunctionSignature.Implementation.getDefaultInstance()); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public io.substrait.proto.FunctionSignature.Implementation.Builder addImplementationsBuilder( int index) { return getImplementationsFieldBuilder().addBuilder( index, io.substrait.proto.FunctionSignature.Implementation.getDefaultInstance()); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 12; */ public java.util.List getImplementationsBuilderList() { return getImplementationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Implementation, io.substrait.proto.FunctionSignature.Implementation.Builder, io.substrait.proto.FunctionSignature.ImplementationOrBuilder> getImplementationsFieldBuilder() { if (implementationsBuilder_ == null) { implementationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Implementation, io.substrait.proto.FunctionSignature.Implementation.Builder, io.substrait.proto.FunctionSignature.ImplementationOrBuilder>( implementations_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); implementations_ = null; } return implementationsBuilder_; } @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:substrait.FunctionSignature.Scalar) } // @@protoc_insertion_point(class_scope:substrait.FunctionSignature.Scalar) private static final io.substrait.proto.FunctionSignature.Scalar DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.substrait.proto.FunctionSignature.Scalar(); } public static io.substrait.proto.FunctionSignature.Scalar getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Scalar parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.substrait.proto.FunctionSignature.Scalar getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AggregateOrBuilder extends // @@protoc_insertion_point(interface_extends:substrait.FunctionSignature.Aggregate) com.google.protobuf.MessageOrBuilder { /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ java.util.List getArgumentsList(); /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ io.substrait.proto.FunctionSignature.Argument getArguments(int index); /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ int getArgumentsCount(); /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ java.util.List getArgumentsOrBuilderList(); /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ io.substrait.proto.FunctionSignature.ArgumentOrBuilder getArgumentsOrBuilder( int index); /** * string name = 3; * @return The name. */ java.lang.String getName(); /** * string name = 3; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * .substrait.FunctionSignature.Description description = 4; * @return Whether the description field is set. */ boolean hasDescription(); /** * .substrait.FunctionSignature.Description description = 4; * @return The description. */ io.substrait.proto.FunctionSignature.Description getDescription(); /** * .substrait.FunctionSignature.Description description = 4; */ io.substrait.proto.FunctionSignature.DescriptionOrBuilder getDescriptionOrBuilder(); /** * bool deterministic = 7; * @return The deterministic. */ boolean getDeterministic(); /** * bool session_dependent = 8; * @return The sessionDependent. */ boolean getSessionDependent(); /** * .substrait.DerivationExpression output_type = 9; * @return Whether the outputType field is set. */ boolean hasOutputType(); /** * .substrait.DerivationExpression output_type = 9; * @return The outputType. */ io.substrait.proto.DerivationExpression getOutputType(); /** * .substrait.DerivationExpression output_type = 9; */ io.substrait.proto.DerivationExpressionOrBuilder getOutputTypeOrBuilder(); /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; * @return Whether the variadic field is set. */ boolean hasVariadic(); /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; * @return The variadic. */ io.substrait.proto.FunctionSignature.FinalArgVariadic getVariadic(); /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder getVariadicOrBuilder(); /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; * @return Whether the normal field is set. */ boolean hasNormal(); /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; * @return The normal. */ io.substrait.proto.FunctionSignature.FinalArgNormal getNormal(); /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder getNormalOrBuilder(); /** * bool ordered = 14; * @return The ordered. */ boolean getOrdered(); /** * uint64 max_set = 12; * @return The maxSet. */ long getMaxSet(); /** * .substrait.Type intermediate_type = 13; * @return Whether the intermediateType field is set. */ boolean hasIntermediateType(); /** * .substrait.Type intermediate_type = 13; * @return The intermediateType. */ io.substrait.proto.Type getIntermediateType(); /** * .substrait.Type intermediate_type = 13; */ io.substrait.proto.TypeOrBuilder getIntermediateTypeOrBuilder(); /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ java.util.List getImplementationsList(); /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ io.substrait.proto.FunctionSignature.Implementation getImplementations(int index); /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ int getImplementationsCount(); /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ java.util.List getImplementationsOrBuilderList(); /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ io.substrait.proto.FunctionSignature.ImplementationOrBuilder getImplementationsOrBuilder( int index); io.substrait.proto.FunctionSignature.Aggregate.FinalVariableBehaviorCase getFinalVariableBehaviorCase(); } /** * Protobuf type {@code substrait.FunctionSignature.Aggregate} */ public static final class Aggregate extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:substrait.FunctionSignature.Aggregate) AggregateOrBuilder { private static final long serialVersionUID = 0L; // Use Aggregate.newBuilder() to construct. private Aggregate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Aggregate() { arguments_ = java.util.Collections.emptyList(); name_ = ""; implementations_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Aggregate(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Aggregate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Aggregate_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Aggregate.class, io.substrait.proto.FunctionSignature.Aggregate.Builder.class); } private int bitField0_; private int finalVariableBehaviorCase_ = 0; @SuppressWarnings("serial") private java.lang.Object finalVariableBehavior_; public enum FinalVariableBehaviorCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VARIADIC(10), NORMAL(11), FINALVARIABLEBEHAVIOR_NOT_SET(0); private final int value; private FinalVariableBehaviorCase(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 FinalVariableBehaviorCase valueOf(int value) { return forNumber(value); } public static FinalVariableBehaviorCase forNumber(int value) { switch (value) { case 10: return VARIADIC; case 11: return NORMAL; case 0: return FINALVARIABLEBEHAVIOR_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public FinalVariableBehaviorCase getFinalVariableBehaviorCase() { return FinalVariableBehaviorCase.forNumber( finalVariableBehaviorCase_); } public static final int ARGUMENTS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List arguments_; /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public java.util.List getArgumentsList() { return arguments_; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public java.util.List getArgumentsOrBuilderList() { return arguments_; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public int getArgumentsCount() { return arguments_.size(); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument getArguments(int index) { return arguments_.get(index); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public io.substrait.proto.FunctionSignature.ArgumentOrBuilder getArgumentsOrBuilder( int index) { return arguments_.get(index); } public static final int NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * string name = 3; * @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; } } /** * string name = 3; * @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 DESCRIPTION_FIELD_NUMBER = 4; private io.substrait.proto.FunctionSignature.Description description_; /** * .substrait.FunctionSignature.Description description = 4; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return ((bitField0_ & 0x00000001) != 0); } /** * .substrait.FunctionSignature.Description description = 4; * @return The description. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Description getDescription() { return description_ == null ? io.substrait.proto.FunctionSignature.Description.getDefaultInstance() : description_; } /** * .substrait.FunctionSignature.Description description = 4; */ @java.lang.Override public io.substrait.proto.FunctionSignature.DescriptionOrBuilder getDescriptionOrBuilder() { return description_ == null ? io.substrait.proto.FunctionSignature.Description.getDefaultInstance() : description_; } public static final int DETERMINISTIC_FIELD_NUMBER = 7; private boolean deterministic_ = false; /** * bool deterministic = 7; * @return The deterministic. */ @java.lang.Override public boolean getDeterministic() { return deterministic_; } public static final int SESSION_DEPENDENT_FIELD_NUMBER = 8; private boolean sessionDependent_ = false; /** * bool session_dependent = 8; * @return The sessionDependent. */ @java.lang.Override public boolean getSessionDependent() { return sessionDependent_; } public static final int OUTPUT_TYPE_FIELD_NUMBER = 9; private io.substrait.proto.DerivationExpression outputType_; /** * .substrait.DerivationExpression output_type = 9; * @return Whether the outputType field is set. */ @java.lang.Override public boolean hasOutputType() { return ((bitField0_ & 0x00000002) != 0); } /** * .substrait.DerivationExpression output_type = 9; * @return The outputType. */ @java.lang.Override public io.substrait.proto.DerivationExpression getOutputType() { return outputType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : outputType_; } /** * .substrait.DerivationExpression output_type = 9; */ @java.lang.Override public io.substrait.proto.DerivationExpressionOrBuilder getOutputTypeOrBuilder() { return outputType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : outputType_; } public static final int VARIADIC_FIELD_NUMBER = 10; /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; * @return Whether the variadic field is set. */ @java.lang.Override public boolean hasVariadic() { return finalVariableBehaviorCase_ == 10; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; * @return The variadic. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadic getVariadic() { if (finalVariableBehaviorCase_ == 10) { return (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder getVariadicOrBuilder() { if (finalVariableBehaviorCase_ == 10) { return (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } public static final int NORMAL_FIELD_NUMBER = 11; /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; * @return Whether the normal field is set. */ @java.lang.Override public boolean hasNormal() { return finalVariableBehaviorCase_ == 11; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; * @return The normal. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormal getNormal() { if (finalVariableBehaviorCase_ == 11) { return (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder getNormalOrBuilder() { if (finalVariableBehaviorCase_ == 11) { return (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } public static final int ORDERED_FIELD_NUMBER = 14; private boolean ordered_ = false; /** * bool ordered = 14; * @return The ordered. */ @java.lang.Override public boolean getOrdered() { return ordered_; } public static final int MAX_SET_FIELD_NUMBER = 12; private long maxSet_ = 0L; /** * uint64 max_set = 12; * @return The maxSet. */ @java.lang.Override public long getMaxSet() { return maxSet_; } public static final int INTERMEDIATE_TYPE_FIELD_NUMBER = 13; private io.substrait.proto.Type intermediateType_; /** * .substrait.Type intermediate_type = 13; * @return Whether the intermediateType field is set. */ @java.lang.Override public boolean hasIntermediateType() { return ((bitField0_ & 0x00000004) != 0); } /** * .substrait.Type intermediate_type = 13; * @return The intermediateType. */ @java.lang.Override public io.substrait.proto.Type getIntermediateType() { return intermediateType_ == null ? io.substrait.proto.Type.getDefaultInstance() : intermediateType_; } /** * .substrait.Type intermediate_type = 13; */ @java.lang.Override public io.substrait.proto.TypeOrBuilder getIntermediateTypeOrBuilder() { return intermediateType_ == null ? io.substrait.proto.Type.getDefaultInstance() : intermediateType_; } public static final int IMPLEMENTATIONS_FIELD_NUMBER = 15; @SuppressWarnings("serial") private java.util.List implementations_; /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ @java.lang.Override public java.util.List getImplementationsList() { return implementations_; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ @java.lang.Override public java.util.List getImplementationsOrBuilderList() { return implementations_; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ @java.lang.Override public int getImplementationsCount() { return implementations_.size(); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ @java.lang.Override public io.substrait.proto.FunctionSignature.Implementation getImplementations(int index) { return implementations_.get(index); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ @java.lang.Override public io.substrait.proto.FunctionSignature.ImplementationOrBuilder getImplementationsOrBuilder( int index) { return implementations_.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 < arguments_.size(); i++) { output.writeMessage(2, arguments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getDescription()); } if (deterministic_ != false) { output.writeBool(7, deterministic_); } if (sessionDependent_ != false) { output.writeBool(8, sessionDependent_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(9, getOutputType()); } if (finalVariableBehaviorCase_ == 10) { output.writeMessage(10, (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_); } if (finalVariableBehaviorCase_ == 11) { output.writeMessage(11, (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_); } if (maxSet_ != 0L) { output.writeUInt64(12, maxSet_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(13, getIntermediateType()); } if (ordered_ != false) { output.writeBool(14, ordered_); } for (int i = 0; i < implementations_.size(); i++) { output.writeMessage(15, implementations_.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 < arguments_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, arguments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getDescription()); } if (deterministic_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, deterministic_); } if (sessionDependent_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, sessionDependent_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getOutputType()); } if (finalVariableBehaviorCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_); } if (finalVariableBehaviorCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_); } if (maxSet_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(12, maxSet_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getIntermediateType()); } if (ordered_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(14, ordered_); } for (int i = 0; i < implementations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, implementations_.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 io.substrait.proto.FunctionSignature.Aggregate)) { return super.equals(obj); } io.substrait.proto.FunctionSignature.Aggregate other = (io.substrait.proto.FunctionSignature.Aggregate) obj; if (!getArgumentsList() .equals(other.getArgumentsList())) return false; if (!getName() .equals(other.getName())) return false; if (hasDescription() != other.hasDescription()) return false; if (hasDescription()) { if (!getDescription() .equals(other.getDescription())) return false; } if (getDeterministic() != other.getDeterministic()) return false; if (getSessionDependent() != other.getSessionDependent()) return false; if (hasOutputType() != other.hasOutputType()) return false; if (hasOutputType()) { if (!getOutputType() .equals(other.getOutputType())) return false; } if (getOrdered() != other.getOrdered()) return false; if (getMaxSet() != other.getMaxSet()) return false; if (hasIntermediateType() != other.hasIntermediateType()) return false; if (hasIntermediateType()) { if (!getIntermediateType() .equals(other.getIntermediateType())) return false; } if (!getImplementationsList() .equals(other.getImplementationsList())) return false; if (!getFinalVariableBehaviorCase().equals(other.getFinalVariableBehaviorCase())) return false; switch (finalVariableBehaviorCase_) { case 10: if (!getVariadic() .equals(other.getVariadic())) return false; break; case 11: if (!getNormal() .equals(other.getNormal())) 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 (getArgumentsCount() > 0) { hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER; hash = (53 * hash) + getArgumentsList().hashCode(); } hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } hash = (37 * hash) + DETERMINISTIC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeterministic()); hash = (37 * hash) + SESSION_DEPENDENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSessionDependent()); if (hasOutputType()) { hash = (37 * hash) + OUTPUT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getOutputType().hashCode(); } hash = (37 * hash) + ORDERED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOrdered()); hash = (37 * hash) + MAX_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxSet()); if (hasIntermediateType()) { hash = (37 * hash) + INTERMEDIATE_TYPE_FIELD_NUMBER; hash = (53 * hash) + getIntermediateType().hashCode(); } if (getImplementationsCount() > 0) { hash = (37 * hash) + IMPLEMENTATIONS_FIELD_NUMBER; hash = (53 * hash) + getImplementationsList().hashCode(); } switch (finalVariableBehaviorCase_) { case 10: hash = (37 * hash) + VARIADIC_FIELD_NUMBER; hash = (53 * hash) + getVariadic().hashCode(); break; case 11: hash = (37 * hash) + NORMAL_FIELD_NUMBER; hash = (53 * hash) + getNormal().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.substrait.proto.FunctionSignature.Aggregate parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Aggregate parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Aggregate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Aggregate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Aggregate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Aggregate parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Aggregate parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Aggregate 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 io.substrait.proto.FunctionSignature.Aggregate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Aggregate 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 io.substrait.proto.FunctionSignature.Aggregate parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Aggregate 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(io.substrait.proto.FunctionSignature.Aggregate 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 substrait.FunctionSignature.Aggregate} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:substrait.FunctionSignature.Aggregate) io.substrait.proto.FunctionSignature.AggregateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Aggregate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Aggregate_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Aggregate.class, io.substrait.proto.FunctionSignature.Aggregate.Builder.class); } // Construct using io.substrait.proto.FunctionSignature.Aggregate.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getArgumentsFieldBuilder(); getDescriptionFieldBuilder(); getOutputTypeFieldBuilder(); getIntermediateTypeFieldBuilder(); getImplementationsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (argumentsBuilder_ == null) { arguments_ = java.util.Collections.emptyList(); } else { arguments_ = null; argumentsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; description_ = null; if (descriptionBuilder_ != null) { descriptionBuilder_.dispose(); descriptionBuilder_ = null; } deterministic_ = false; sessionDependent_ = false; outputType_ = null; if (outputTypeBuilder_ != null) { outputTypeBuilder_.dispose(); outputTypeBuilder_ = null; } if (variadicBuilder_ != null) { variadicBuilder_.clear(); } if (normalBuilder_ != null) { normalBuilder_.clear(); } ordered_ = false; maxSet_ = 0L; intermediateType_ = null; if (intermediateTypeBuilder_ != null) { intermediateTypeBuilder_.dispose(); intermediateTypeBuilder_ = null; } if (implementationsBuilder_ == null) { implementations_ = java.util.Collections.emptyList(); } else { implementations_ = null; implementationsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Aggregate_descriptor; } @java.lang.Override public io.substrait.proto.FunctionSignature.Aggregate getDefaultInstanceForType() { return io.substrait.proto.FunctionSignature.Aggregate.getDefaultInstance(); } @java.lang.Override public io.substrait.proto.FunctionSignature.Aggregate build() { io.substrait.proto.FunctionSignature.Aggregate result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.substrait.proto.FunctionSignature.Aggregate buildPartial() { io.substrait.proto.FunctionSignature.Aggregate result = new io.substrait.proto.FunctionSignature.Aggregate(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartialRepeatedFields(io.substrait.proto.FunctionSignature.Aggregate result) { if (argumentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { arguments_ = java.util.Collections.unmodifiableList(arguments_); bitField0_ = (bitField0_ & ~0x00000001); } result.arguments_ = arguments_; } else { result.arguments_ = argumentsBuilder_.build(); } if (implementationsBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { implementations_ = java.util.Collections.unmodifiableList(implementations_); bitField0_ = (bitField0_ & ~0x00000800); } result.implementations_ = implementations_; } else { result.implementations_ = implementationsBuilder_.build(); } } private void buildPartial0(io.substrait.proto.FunctionSignature.Aggregate result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.name_ = name_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.description_ = descriptionBuilder_ == null ? description_ : descriptionBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.deterministic_ = deterministic_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.sessionDependent_ = sessionDependent_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.outputType_ = outputTypeBuilder_ == null ? outputType_ : outputTypeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000100) != 0)) { result.ordered_ = ordered_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.maxSet_ = maxSet_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.intermediateType_ = intermediateTypeBuilder_ == null ? intermediateType_ : intermediateTypeBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(io.substrait.proto.FunctionSignature.Aggregate result) { result.finalVariableBehaviorCase_ = finalVariableBehaviorCase_; result.finalVariableBehavior_ = this.finalVariableBehavior_; if (finalVariableBehaviorCase_ == 10 && variadicBuilder_ != null) { result.finalVariableBehavior_ = variadicBuilder_.build(); } if (finalVariableBehaviorCase_ == 11 && normalBuilder_ != null) { result.finalVariableBehavior_ = normalBuilder_.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 io.substrait.proto.FunctionSignature.Aggregate) { return mergeFrom((io.substrait.proto.FunctionSignature.Aggregate)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.substrait.proto.FunctionSignature.Aggregate other) { if (other == io.substrait.proto.FunctionSignature.Aggregate.getDefaultInstance()) return this; if (argumentsBuilder_ == null) { if (!other.arguments_.isEmpty()) { if (arguments_.isEmpty()) { arguments_ = other.arguments_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureArgumentsIsMutable(); arguments_.addAll(other.arguments_); } onChanged(); } } else { if (!other.arguments_.isEmpty()) { if (argumentsBuilder_.isEmpty()) { argumentsBuilder_.dispose(); argumentsBuilder_ = null; arguments_ = other.arguments_; bitField0_ = (bitField0_ & ~0x00000001); argumentsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getArgumentsFieldBuilder() : null; } else { argumentsBuilder_.addAllMessages(other.arguments_); } } } if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasDescription()) { mergeDescription(other.getDescription()); } if (other.getDeterministic() != false) { setDeterministic(other.getDeterministic()); } if (other.getSessionDependent() != false) { setSessionDependent(other.getSessionDependent()); } if (other.hasOutputType()) { mergeOutputType(other.getOutputType()); } if (other.getOrdered() != false) { setOrdered(other.getOrdered()); } if (other.getMaxSet() != 0L) { setMaxSet(other.getMaxSet()); } if (other.hasIntermediateType()) { mergeIntermediateType(other.getIntermediateType()); } if (implementationsBuilder_ == null) { if (!other.implementations_.isEmpty()) { if (implementations_.isEmpty()) { implementations_ = other.implementations_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureImplementationsIsMutable(); implementations_.addAll(other.implementations_); } onChanged(); } } else { if (!other.implementations_.isEmpty()) { if (implementationsBuilder_.isEmpty()) { implementationsBuilder_.dispose(); implementationsBuilder_ = null; implementations_ = other.implementations_; bitField0_ = (bitField0_ & ~0x00000800); implementationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getImplementationsFieldBuilder() : null; } else { implementationsBuilder_.addAllMessages(other.implementations_); } } } switch (other.getFinalVariableBehaviorCase()) { case VARIADIC: { mergeVariadic(other.getVariadic()); break; } case NORMAL: { mergeNormal(other.getNormal()); break; } case FINALVARIABLEBEHAVIOR_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 18: { io.substrait.proto.FunctionSignature.Argument m = input.readMessage( io.substrait.proto.FunctionSignature.Argument.parser(), extensionRegistry); if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.add(m); } else { argumentsBuilder_.addMessage(m); } break; } // case 18 case 26: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 26 case 34: { input.readMessage( getDescriptionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 case 56: { deterministic_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 56 case 64: { sessionDependent_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 64 case 74: { input.readMessage( getOutputTypeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 74 case 82: { input.readMessage( getVariadicFieldBuilder().getBuilder(), extensionRegistry); finalVariableBehaviorCase_ = 10; break; } // case 82 case 90: { input.readMessage( getNormalFieldBuilder().getBuilder(), extensionRegistry); finalVariableBehaviorCase_ = 11; break; } // case 90 case 96: { maxSet_ = input.readUInt64(); bitField0_ |= 0x00000200; break; } // case 96 case 106: { input.readMessage( getIntermediateTypeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 106 case 112: { ordered_ = input.readBool(); bitField0_ |= 0x00000100; break; } // case 112 case 122: { io.substrait.proto.FunctionSignature.Implementation m = input.readMessage( io.substrait.proto.FunctionSignature.Implementation.parser(), extensionRegistry); if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.add(m); } else { implementationsBuilder_.addMessage(m); } break; } // case 122 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 finalVariableBehaviorCase_ = 0; private java.lang.Object finalVariableBehavior_; public FinalVariableBehaviorCase getFinalVariableBehaviorCase() { return FinalVariableBehaviorCase.forNumber( finalVariableBehaviorCase_); } public Builder clearFinalVariableBehavior() { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; onChanged(); return this; } private int bitField0_; private java.util.List arguments_ = java.util.Collections.emptyList(); private void ensureArgumentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { arguments_ = new java.util.ArrayList(arguments_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument, io.substrait.proto.FunctionSignature.Argument.Builder, io.substrait.proto.FunctionSignature.ArgumentOrBuilder> argumentsBuilder_; /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public java.util.List getArgumentsList() { if (argumentsBuilder_ == null) { return java.util.Collections.unmodifiableList(arguments_); } else { return argumentsBuilder_.getMessageList(); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public int getArgumentsCount() { if (argumentsBuilder_ == null) { return arguments_.size(); } else { return argumentsBuilder_.getCount(); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.Argument getArguments(int index) { if (argumentsBuilder_ == null) { return arguments_.get(index); } else { return argumentsBuilder_.getMessage(index); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder setArguments( int index, io.substrait.proto.FunctionSignature.Argument value) { if (argumentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentsIsMutable(); arguments_.set(index, value); onChanged(); } else { argumentsBuilder_.setMessage(index, value); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder setArguments( int index, io.substrait.proto.FunctionSignature.Argument.Builder builderForValue) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.set(index, builderForValue.build()); onChanged(); } else { argumentsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addArguments(io.substrait.proto.FunctionSignature.Argument value) { if (argumentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentsIsMutable(); arguments_.add(value); onChanged(); } else { argumentsBuilder_.addMessage(value); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addArguments( int index, io.substrait.proto.FunctionSignature.Argument value) { if (argumentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentsIsMutable(); arguments_.add(index, value); onChanged(); } else { argumentsBuilder_.addMessage(index, value); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addArguments( io.substrait.proto.FunctionSignature.Argument.Builder builderForValue) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.add(builderForValue.build()); onChanged(); } else { argumentsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addArguments( int index, io.substrait.proto.FunctionSignature.Argument.Builder builderForValue) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.add(index, builderForValue.build()); onChanged(); } else { argumentsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addAllArguments( java.lang.Iterable values) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, arguments_); onChanged(); } else { argumentsBuilder_.addAllMessages(values); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder clearArguments() { if (argumentsBuilder_ == null) { arguments_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { argumentsBuilder_.clear(); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder removeArguments(int index) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.remove(index); onChanged(); } else { argumentsBuilder_.remove(index); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.Argument.Builder getArgumentsBuilder( int index) { return getArgumentsFieldBuilder().getBuilder(index); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.ArgumentOrBuilder getArgumentsOrBuilder( int index) { if (argumentsBuilder_ == null) { return arguments_.get(index); } else { return argumentsBuilder_.getMessageOrBuilder(index); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public java.util.List getArgumentsOrBuilderList() { if (argumentsBuilder_ != null) { return argumentsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(arguments_); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.Argument.Builder addArgumentsBuilder() { return getArgumentsFieldBuilder().addBuilder( io.substrait.proto.FunctionSignature.Argument.getDefaultInstance()); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.Argument.Builder addArgumentsBuilder( int index) { return getArgumentsFieldBuilder().addBuilder( index, io.substrait.proto.FunctionSignature.Argument.getDefaultInstance()); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public java.util.List getArgumentsBuilderList() { return getArgumentsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument, io.substrait.proto.FunctionSignature.Argument.Builder, io.substrait.proto.FunctionSignature.ArgumentOrBuilder> getArgumentsFieldBuilder() { if (argumentsBuilder_ == null) { argumentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument, io.substrait.proto.FunctionSignature.Argument.Builder, io.substrait.proto.FunctionSignature.ArgumentOrBuilder>( arguments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); arguments_ = null; } return argumentsBuilder_; } private java.lang.Object name_ = ""; /** * string name = 3; * @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; } } /** * string name = 3; * @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; } } /** * string name = 3; * @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; } /** * string name = 3; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string name = 3; * @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; } private io.substrait.proto.FunctionSignature.Description description_; private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Description, io.substrait.proto.FunctionSignature.Description.Builder, io.substrait.proto.FunctionSignature.DescriptionOrBuilder> descriptionBuilder_; /** * .substrait.FunctionSignature.Description description = 4; * @return Whether the description field is set. */ public boolean hasDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * .substrait.FunctionSignature.Description description = 4; * @return The description. */ public io.substrait.proto.FunctionSignature.Description getDescription() { if (descriptionBuilder_ == null) { return description_ == null ? io.substrait.proto.FunctionSignature.Description.getDefaultInstance() : description_; } else { return descriptionBuilder_.getMessage(); } } /** * .substrait.FunctionSignature.Description description = 4; */ public Builder setDescription(io.substrait.proto.FunctionSignature.Description value) { if (descriptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } description_ = value; } else { descriptionBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .substrait.FunctionSignature.Description description = 4; */ public Builder setDescription( io.substrait.proto.FunctionSignature.Description.Builder builderForValue) { if (descriptionBuilder_ == null) { description_ = builderForValue.build(); } else { descriptionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .substrait.FunctionSignature.Description description = 4; */ public Builder mergeDescription(io.substrait.proto.FunctionSignature.Description value) { if (descriptionBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && description_ != null && description_ != io.substrait.proto.FunctionSignature.Description.getDefaultInstance()) { getDescriptionBuilder().mergeFrom(value); } else { description_ = value; } } else { descriptionBuilder_.mergeFrom(value); } if (description_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .substrait.FunctionSignature.Description description = 4; */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000004); description_ = null; if (descriptionBuilder_ != null) { descriptionBuilder_.dispose(); descriptionBuilder_ = null; } onChanged(); return this; } /** * .substrait.FunctionSignature.Description description = 4; */ public io.substrait.proto.FunctionSignature.Description.Builder getDescriptionBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDescriptionFieldBuilder().getBuilder(); } /** * .substrait.FunctionSignature.Description description = 4; */ public io.substrait.proto.FunctionSignature.DescriptionOrBuilder getDescriptionOrBuilder() { if (descriptionBuilder_ != null) { return descriptionBuilder_.getMessageOrBuilder(); } else { return description_ == null ? io.substrait.proto.FunctionSignature.Description.getDefaultInstance() : description_; } } /** * .substrait.FunctionSignature.Description description = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Description, io.substrait.proto.FunctionSignature.Description.Builder, io.substrait.proto.FunctionSignature.DescriptionOrBuilder> getDescriptionFieldBuilder() { if (descriptionBuilder_ == null) { descriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Description, io.substrait.proto.FunctionSignature.Description.Builder, io.substrait.proto.FunctionSignature.DescriptionOrBuilder>( getDescription(), getParentForChildren(), isClean()); description_ = null; } return descriptionBuilder_; } private boolean deterministic_ ; /** * bool deterministic = 7; * @return The deterministic. */ @java.lang.Override public boolean getDeterministic() { return deterministic_; } /** * bool deterministic = 7; * @param value The deterministic to set. * @return This builder for chaining. */ public Builder setDeterministic(boolean value) { deterministic_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * bool deterministic = 7; * @return This builder for chaining. */ public Builder clearDeterministic() { bitField0_ = (bitField0_ & ~0x00000008); deterministic_ = false; onChanged(); return this; } private boolean sessionDependent_ ; /** * bool session_dependent = 8; * @return The sessionDependent. */ @java.lang.Override public boolean getSessionDependent() { return sessionDependent_; } /** * bool session_dependent = 8; * @param value The sessionDependent to set. * @return This builder for chaining. */ public Builder setSessionDependent(boolean value) { sessionDependent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * bool session_dependent = 8; * @return This builder for chaining. */ public Builder clearSessionDependent() { bitField0_ = (bitField0_ & ~0x00000010); sessionDependent_ = false; onChanged(); return this; } private io.substrait.proto.DerivationExpression outputType_; private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.DerivationExpression, io.substrait.proto.DerivationExpression.Builder, io.substrait.proto.DerivationExpressionOrBuilder> outputTypeBuilder_; /** * .substrait.DerivationExpression output_type = 9; * @return Whether the outputType field is set. */ public boolean hasOutputType() { return ((bitField0_ & 0x00000020) != 0); } /** * .substrait.DerivationExpression output_type = 9; * @return The outputType. */ public io.substrait.proto.DerivationExpression getOutputType() { if (outputTypeBuilder_ == null) { return outputType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : outputType_; } else { return outputTypeBuilder_.getMessage(); } } /** * .substrait.DerivationExpression output_type = 9; */ public Builder setOutputType(io.substrait.proto.DerivationExpression value) { if (outputTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } outputType_ = value; } else { outputTypeBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * .substrait.DerivationExpression output_type = 9; */ public Builder setOutputType( io.substrait.proto.DerivationExpression.Builder builderForValue) { if (outputTypeBuilder_ == null) { outputType_ = builderForValue.build(); } else { outputTypeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * .substrait.DerivationExpression output_type = 9; */ public Builder mergeOutputType(io.substrait.proto.DerivationExpression value) { if (outputTypeBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && outputType_ != null && outputType_ != io.substrait.proto.DerivationExpression.getDefaultInstance()) { getOutputTypeBuilder().mergeFrom(value); } else { outputType_ = value; } } else { outputTypeBuilder_.mergeFrom(value); } if (outputType_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** * .substrait.DerivationExpression output_type = 9; */ public Builder clearOutputType() { bitField0_ = (bitField0_ & ~0x00000020); outputType_ = null; if (outputTypeBuilder_ != null) { outputTypeBuilder_.dispose(); outputTypeBuilder_ = null; } onChanged(); return this; } /** * .substrait.DerivationExpression output_type = 9; */ public io.substrait.proto.DerivationExpression.Builder getOutputTypeBuilder() { bitField0_ |= 0x00000020; onChanged(); return getOutputTypeFieldBuilder().getBuilder(); } /** * .substrait.DerivationExpression output_type = 9; */ public io.substrait.proto.DerivationExpressionOrBuilder getOutputTypeOrBuilder() { if (outputTypeBuilder_ != null) { return outputTypeBuilder_.getMessageOrBuilder(); } else { return outputType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : outputType_; } } /** * .substrait.DerivationExpression output_type = 9; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.DerivationExpression, io.substrait.proto.DerivationExpression.Builder, io.substrait.proto.DerivationExpressionOrBuilder> getOutputTypeFieldBuilder() { if (outputTypeBuilder_ == null) { outputTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.DerivationExpression, io.substrait.proto.DerivationExpression.Builder, io.substrait.proto.DerivationExpressionOrBuilder>( getOutputType(), getParentForChildren(), isClean()); outputType_ = null; } return outputTypeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgVariadic, io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder, io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder> variadicBuilder_; /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; * @return Whether the variadic field is set. */ @java.lang.Override public boolean hasVariadic() { return finalVariableBehaviorCase_ == 10; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; * @return The variadic. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadic getVariadic() { if (variadicBuilder_ == null) { if (finalVariableBehaviorCase_ == 10) { return (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } else { if (finalVariableBehaviorCase_ == 10) { return variadicBuilder_.getMessage(); } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ public Builder setVariadic(io.substrait.proto.FunctionSignature.FinalArgVariadic value) { if (variadicBuilder_ == null) { if (value == null) { throw new NullPointerException(); } finalVariableBehavior_ = value; onChanged(); } else { variadicBuilder_.setMessage(value); } finalVariableBehaviorCase_ = 10; return this; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ public Builder setVariadic( io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder builderForValue) { if (variadicBuilder_ == null) { finalVariableBehavior_ = builderForValue.build(); onChanged(); } else { variadicBuilder_.setMessage(builderForValue.build()); } finalVariableBehaviorCase_ = 10; return this; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ public Builder mergeVariadic(io.substrait.proto.FunctionSignature.FinalArgVariadic value) { if (variadicBuilder_ == null) { if (finalVariableBehaviorCase_ == 10 && finalVariableBehavior_ != io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance()) { finalVariableBehavior_ = io.substrait.proto.FunctionSignature.FinalArgVariadic.newBuilder((io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_) .mergeFrom(value).buildPartial(); } else { finalVariableBehavior_ = value; } onChanged(); } else { if (finalVariableBehaviorCase_ == 10) { variadicBuilder_.mergeFrom(value); } else { variadicBuilder_.setMessage(value); } } finalVariableBehaviorCase_ = 10; return this; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ public Builder clearVariadic() { if (variadicBuilder_ == null) { if (finalVariableBehaviorCase_ == 10) { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; onChanged(); } } else { if (finalVariableBehaviorCase_ == 10) { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; } variadicBuilder_.clear(); } return this; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ public io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder getVariadicBuilder() { return getVariadicFieldBuilder().getBuilder(); } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder getVariadicOrBuilder() { if ((finalVariableBehaviorCase_ == 10) && (variadicBuilder_ != null)) { return variadicBuilder_.getMessageOrBuilder(); } else { if (finalVariableBehaviorCase_ == 10) { return (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 10; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgVariadic, io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder, io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder> getVariadicFieldBuilder() { if (variadicBuilder_ == null) { if (!(finalVariableBehaviorCase_ == 10)) { finalVariableBehavior_ = io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } variadicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgVariadic, io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder, io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder>( (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_, getParentForChildren(), isClean()); finalVariableBehavior_ = null; } finalVariableBehaviorCase_ = 10; onChanged(); return variadicBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgNormal, io.substrait.proto.FunctionSignature.FinalArgNormal.Builder, io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder> normalBuilder_; /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; * @return Whether the normal field is set. */ @java.lang.Override public boolean hasNormal() { return finalVariableBehaviorCase_ == 11; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; * @return The normal. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormal getNormal() { if (normalBuilder_ == null) { if (finalVariableBehaviorCase_ == 11) { return (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } else { if (finalVariableBehaviorCase_ == 11) { return normalBuilder_.getMessage(); } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ public Builder setNormal(io.substrait.proto.FunctionSignature.FinalArgNormal value) { if (normalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } finalVariableBehavior_ = value; onChanged(); } else { normalBuilder_.setMessage(value); } finalVariableBehaviorCase_ = 11; return this; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ public Builder setNormal( io.substrait.proto.FunctionSignature.FinalArgNormal.Builder builderForValue) { if (normalBuilder_ == null) { finalVariableBehavior_ = builderForValue.build(); onChanged(); } else { normalBuilder_.setMessage(builderForValue.build()); } finalVariableBehaviorCase_ = 11; return this; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ public Builder mergeNormal(io.substrait.proto.FunctionSignature.FinalArgNormal value) { if (normalBuilder_ == null) { if (finalVariableBehaviorCase_ == 11 && finalVariableBehavior_ != io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance()) { finalVariableBehavior_ = io.substrait.proto.FunctionSignature.FinalArgNormal.newBuilder((io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_) .mergeFrom(value).buildPartial(); } else { finalVariableBehavior_ = value; } onChanged(); } else { if (finalVariableBehaviorCase_ == 11) { normalBuilder_.mergeFrom(value); } else { normalBuilder_.setMessage(value); } } finalVariableBehaviorCase_ = 11; return this; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ public Builder clearNormal() { if (normalBuilder_ == null) { if (finalVariableBehaviorCase_ == 11) { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; onChanged(); } } else { if (finalVariableBehaviorCase_ == 11) { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; } normalBuilder_.clear(); } return this; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ public io.substrait.proto.FunctionSignature.FinalArgNormal.Builder getNormalBuilder() { return getNormalFieldBuilder().getBuilder(); } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder getNormalOrBuilder() { if ((finalVariableBehaviorCase_ == 11) && (normalBuilder_ != null)) { return normalBuilder_.getMessageOrBuilder(); } else { if (finalVariableBehaviorCase_ == 11) { return (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } } /** * .substrait.FunctionSignature.FinalArgNormal normal = 11; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgNormal, io.substrait.proto.FunctionSignature.FinalArgNormal.Builder, io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder> getNormalFieldBuilder() { if (normalBuilder_ == null) { if (!(finalVariableBehaviorCase_ == 11)) { finalVariableBehavior_ = io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } normalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgNormal, io.substrait.proto.FunctionSignature.FinalArgNormal.Builder, io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder>( (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_, getParentForChildren(), isClean()); finalVariableBehavior_ = null; } finalVariableBehaviorCase_ = 11; onChanged(); return normalBuilder_; } private boolean ordered_ ; /** * bool ordered = 14; * @return The ordered. */ @java.lang.Override public boolean getOrdered() { return ordered_; } /** * bool ordered = 14; * @param value The ordered to set. * @return This builder for chaining. */ public Builder setOrdered(boolean value) { ordered_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * bool ordered = 14; * @return This builder for chaining. */ public Builder clearOrdered() { bitField0_ = (bitField0_ & ~0x00000100); ordered_ = false; onChanged(); return this; } private long maxSet_ ; /** * uint64 max_set = 12; * @return The maxSet. */ @java.lang.Override public long getMaxSet() { return maxSet_; } /** * uint64 max_set = 12; * @param value The maxSet to set. * @return This builder for chaining. */ public Builder setMaxSet(long value) { maxSet_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** * uint64 max_set = 12; * @return This builder for chaining. */ public Builder clearMaxSet() { bitField0_ = (bitField0_ & ~0x00000200); maxSet_ = 0L; onChanged(); return this; } private io.substrait.proto.Type intermediateType_; private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.Type, io.substrait.proto.Type.Builder, io.substrait.proto.TypeOrBuilder> intermediateTypeBuilder_; /** * .substrait.Type intermediate_type = 13; * @return Whether the intermediateType field is set. */ public boolean hasIntermediateType() { return ((bitField0_ & 0x00000400) != 0); } /** * .substrait.Type intermediate_type = 13; * @return The intermediateType. */ public io.substrait.proto.Type getIntermediateType() { if (intermediateTypeBuilder_ == null) { return intermediateType_ == null ? io.substrait.proto.Type.getDefaultInstance() : intermediateType_; } else { return intermediateTypeBuilder_.getMessage(); } } /** * .substrait.Type intermediate_type = 13; */ public Builder setIntermediateType(io.substrait.proto.Type value) { if (intermediateTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } intermediateType_ = value; } else { intermediateTypeBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * .substrait.Type intermediate_type = 13; */ public Builder setIntermediateType( io.substrait.proto.Type.Builder builderForValue) { if (intermediateTypeBuilder_ == null) { intermediateType_ = builderForValue.build(); } else { intermediateTypeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * .substrait.Type intermediate_type = 13; */ public Builder mergeIntermediateType(io.substrait.proto.Type value) { if (intermediateTypeBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && intermediateType_ != null && intermediateType_ != io.substrait.proto.Type.getDefaultInstance()) { getIntermediateTypeBuilder().mergeFrom(value); } else { intermediateType_ = value; } } else { intermediateTypeBuilder_.mergeFrom(value); } if (intermediateType_ != null) { bitField0_ |= 0x00000400; onChanged(); } return this; } /** * .substrait.Type intermediate_type = 13; */ public Builder clearIntermediateType() { bitField0_ = (bitField0_ & ~0x00000400); intermediateType_ = null; if (intermediateTypeBuilder_ != null) { intermediateTypeBuilder_.dispose(); intermediateTypeBuilder_ = null; } onChanged(); return this; } /** * .substrait.Type intermediate_type = 13; */ public io.substrait.proto.Type.Builder getIntermediateTypeBuilder() { bitField0_ |= 0x00000400; onChanged(); return getIntermediateTypeFieldBuilder().getBuilder(); } /** * .substrait.Type intermediate_type = 13; */ public io.substrait.proto.TypeOrBuilder getIntermediateTypeOrBuilder() { if (intermediateTypeBuilder_ != null) { return intermediateTypeBuilder_.getMessageOrBuilder(); } else { return intermediateType_ == null ? io.substrait.proto.Type.getDefaultInstance() : intermediateType_; } } /** * .substrait.Type intermediate_type = 13; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.Type, io.substrait.proto.Type.Builder, io.substrait.proto.TypeOrBuilder> getIntermediateTypeFieldBuilder() { if (intermediateTypeBuilder_ == null) { intermediateTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.Type, io.substrait.proto.Type.Builder, io.substrait.proto.TypeOrBuilder>( getIntermediateType(), getParentForChildren(), isClean()); intermediateType_ = null; } return intermediateTypeBuilder_; } private java.util.List implementations_ = java.util.Collections.emptyList(); private void ensureImplementationsIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { implementations_ = new java.util.ArrayList(implementations_); bitField0_ |= 0x00000800; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Implementation, io.substrait.proto.FunctionSignature.Implementation.Builder, io.substrait.proto.FunctionSignature.ImplementationOrBuilder> implementationsBuilder_; /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public java.util.List getImplementationsList() { if (implementationsBuilder_ == null) { return java.util.Collections.unmodifiableList(implementations_); } else { return implementationsBuilder_.getMessageList(); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public int getImplementationsCount() { if (implementationsBuilder_ == null) { return implementations_.size(); } else { return implementationsBuilder_.getCount(); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public io.substrait.proto.FunctionSignature.Implementation getImplementations(int index) { if (implementationsBuilder_ == null) { return implementations_.get(index); } else { return implementationsBuilder_.getMessage(index); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder setImplementations( int index, io.substrait.proto.FunctionSignature.Implementation value) { if (implementationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureImplementationsIsMutable(); implementations_.set(index, value); onChanged(); } else { implementationsBuilder_.setMessage(index, value); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder setImplementations( int index, io.substrait.proto.FunctionSignature.Implementation.Builder builderForValue) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.set(index, builderForValue.build()); onChanged(); } else { implementationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder addImplementations(io.substrait.proto.FunctionSignature.Implementation value) { if (implementationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureImplementationsIsMutable(); implementations_.add(value); onChanged(); } else { implementationsBuilder_.addMessage(value); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder addImplementations( int index, io.substrait.proto.FunctionSignature.Implementation value) { if (implementationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureImplementationsIsMutable(); implementations_.add(index, value); onChanged(); } else { implementationsBuilder_.addMessage(index, value); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder addImplementations( io.substrait.proto.FunctionSignature.Implementation.Builder builderForValue) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.add(builderForValue.build()); onChanged(); } else { implementationsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder addImplementations( int index, io.substrait.proto.FunctionSignature.Implementation.Builder builderForValue) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.add(index, builderForValue.build()); onChanged(); } else { implementationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder addAllImplementations( java.lang.Iterable values) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, implementations_); onChanged(); } else { implementationsBuilder_.addAllMessages(values); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder clearImplementations() { if (implementationsBuilder_ == null) { implementations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); } else { implementationsBuilder_.clear(); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder removeImplementations(int index) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.remove(index); onChanged(); } else { implementationsBuilder_.remove(index); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public io.substrait.proto.FunctionSignature.Implementation.Builder getImplementationsBuilder( int index) { return getImplementationsFieldBuilder().getBuilder(index); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public io.substrait.proto.FunctionSignature.ImplementationOrBuilder getImplementationsOrBuilder( int index) { if (implementationsBuilder_ == null) { return implementations_.get(index); } else { return implementationsBuilder_.getMessageOrBuilder(index); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public java.util.List getImplementationsOrBuilderList() { if (implementationsBuilder_ != null) { return implementationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(implementations_); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public io.substrait.proto.FunctionSignature.Implementation.Builder addImplementationsBuilder() { return getImplementationsFieldBuilder().addBuilder( io.substrait.proto.FunctionSignature.Implementation.getDefaultInstance()); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public io.substrait.proto.FunctionSignature.Implementation.Builder addImplementationsBuilder( int index) { return getImplementationsFieldBuilder().addBuilder( index, io.substrait.proto.FunctionSignature.Implementation.getDefaultInstance()); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public java.util.List getImplementationsBuilderList() { return getImplementationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Implementation, io.substrait.proto.FunctionSignature.Implementation.Builder, io.substrait.proto.FunctionSignature.ImplementationOrBuilder> getImplementationsFieldBuilder() { if (implementationsBuilder_ == null) { implementationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Implementation, io.substrait.proto.FunctionSignature.Implementation.Builder, io.substrait.proto.FunctionSignature.ImplementationOrBuilder>( implementations_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); implementations_ = null; } return implementationsBuilder_; } @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:substrait.FunctionSignature.Aggregate) } // @@protoc_insertion_point(class_scope:substrait.FunctionSignature.Aggregate) private static final io.substrait.proto.FunctionSignature.Aggregate DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.substrait.proto.FunctionSignature.Aggregate(); } public static io.substrait.proto.FunctionSignature.Aggregate getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Aggregate parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.substrait.proto.FunctionSignature.Aggregate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WindowOrBuilder extends // @@protoc_insertion_point(interface_extends:substrait.FunctionSignature.Window) com.google.protobuf.MessageOrBuilder { /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ java.util.List getArgumentsList(); /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ io.substrait.proto.FunctionSignature.Argument getArguments(int index); /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ int getArgumentsCount(); /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ java.util.List getArgumentsOrBuilderList(); /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ io.substrait.proto.FunctionSignature.ArgumentOrBuilder getArgumentsOrBuilder( int index); /** * repeated string name = 3; * @return A list containing the name. */ java.util.List getNameList(); /** * repeated string name = 3; * @return The count of name. */ int getNameCount(); /** * repeated string name = 3; * @param index The index of the element to return. * @return The name at the given index. */ java.lang.String getName(int index); /** * repeated string name = 3; * @param index The index of the value to return. * @return The bytes of the name at the given index. */ com.google.protobuf.ByteString getNameBytes(int index); /** * .substrait.FunctionSignature.Description description = 4; * @return Whether the description field is set. */ boolean hasDescription(); /** * .substrait.FunctionSignature.Description description = 4; * @return The description. */ io.substrait.proto.FunctionSignature.Description getDescription(); /** * .substrait.FunctionSignature.Description description = 4; */ io.substrait.proto.FunctionSignature.DescriptionOrBuilder getDescriptionOrBuilder(); /** * bool deterministic = 7; * @return The deterministic. */ boolean getDeterministic(); /** * bool session_dependent = 8; * @return The sessionDependent. */ boolean getSessionDependent(); /** * .substrait.DerivationExpression intermediate_type = 9; * @return Whether the intermediateType field is set. */ boolean hasIntermediateType(); /** * .substrait.DerivationExpression intermediate_type = 9; * @return The intermediateType. */ io.substrait.proto.DerivationExpression getIntermediateType(); /** * .substrait.DerivationExpression intermediate_type = 9; */ io.substrait.proto.DerivationExpressionOrBuilder getIntermediateTypeOrBuilder(); /** * .substrait.DerivationExpression output_type = 10; * @return Whether the outputType field is set. */ boolean hasOutputType(); /** * .substrait.DerivationExpression output_type = 10; * @return The outputType. */ io.substrait.proto.DerivationExpression getOutputType(); /** * .substrait.DerivationExpression output_type = 10; */ io.substrait.proto.DerivationExpressionOrBuilder getOutputTypeOrBuilder(); /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; * @return Whether the variadic field is set. */ boolean hasVariadic(); /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; * @return The variadic. */ io.substrait.proto.FunctionSignature.FinalArgVariadic getVariadic(); /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; */ io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder getVariadicOrBuilder(); /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; * @return Whether the normal field is set. */ boolean hasNormal(); /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; * @return The normal. */ io.substrait.proto.FunctionSignature.FinalArgNormal getNormal(); /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; */ io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder getNormalOrBuilder(); /** * bool ordered = 11; * @return The ordered. */ boolean getOrdered(); /** * uint64 max_set = 12; * @return The maxSet. */ long getMaxSet(); /** * .substrait.FunctionSignature.Window.WindowType window_type = 14; * @return The enum numeric value on the wire for windowType. */ int getWindowTypeValue(); /** * .substrait.FunctionSignature.Window.WindowType window_type = 14; * @return The windowType. */ io.substrait.proto.FunctionSignature.Window.WindowType getWindowType(); /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ java.util.List getImplementationsList(); /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ io.substrait.proto.FunctionSignature.Implementation getImplementations(int index); /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ int getImplementationsCount(); /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ java.util.List getImplementationsOrBuilderList(); /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ io.substrait.proto.FunctionSignature.ImplementationOrBuilder getImplementationsOrBuilder( int index); io.substrait.proto.FunctionSignature.Window.FinalVariableBehaviorCase getFinalVariableBehaviorCase(); } /** * Protobuf type {@code substrait.FunctionSignature.Window} */ public static final class Window extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:substrait.FunctionSignature.Window) WindowOrBuilder { private static final long serialVersionUID = 0L; // Use Window.newBuilder() to construct. private Window(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Window() { arguments_ = java.util.Collections.emptyList(); name_ = com.google.protobuf.LazyStringArrayList.emptyList(); windowType_ = 0; implementations_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Window(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Window_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Window_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Window.class, io.substrait.proto.FunctionSignature.Window.Builder.class); } /** * Protobuf enum {@code substrait.FunctionSignature.Window.WindowType} */ public enum WindowType implements com.google.protobuf.ProtocolMessageEnum { /** * WINDOW_TYPE_UNSPECIFIED = 0; */ WINDOW_TYPE_UNSPECIFIED(0), /** * WINDOW_TYPE_STREAMING = 1; */ WINDOW_TYPE_STREAMING(1), /** * WINDOW_TYPE_PARTITION = 2; */ WINDOW_TYPE_PARTITION(2), UNRECOGNIZED(-1), ; /** * WINDOW_TYPE_UNSPECIFIED = 0; */ public static final int WINDOW_TYPE_UNSPECIFIED_VALUE = 0; /** * WINDOW_TYPE_STREAMING = 1; */ public static final int WINDOW_TYPE_STREAMING_VALUE = 1; /** * WINDOW_TYPE_PARTITION = 2; */ public static final int WINDOW_TYPE_PARTITION_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static WindowType 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 WindowType forNumber(int value) { switch (value) { case 0: return WINDOW_TYPE_UNSPECIFIED; case 1: return WINDOW_TYPE_STREAMING; case 2: return WINDOW_TYPE_PARTITION; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< WindowType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public WindowType findValueByNumber(int number) { return WindowType.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 io.substrait.proto.FunctionSignature.Window.getDescriptor().getEnumTypes().get(0); } private static final WindowType[] VALUES = values(); public static WindowType 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 WindowType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:substrait.FunctionSignature.Window.WindowType) } private int bitField0_; private int finalVariableBehaviorCase_ = 0; @SuppressWarnings("serial") private java.lang.Object finalVariableBehavior_; public enum FinalVariableBehaviorCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VARIADIC(16), NORMAL(17), FINALVARIABLEBEHAVIOR_NOT_SET(0); private final int value; private FinalVariableBehaviorCase(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 FinalVariableBehaviorCase valueOf(int value) { return forNumber(value); } public static FinalVariableBehaviorCase forNumber(int value) { switch (value) { case 16: return VARIADIC; case 17: return NORMAL; case 0: return FINALVARIABLEBEHAVIOR_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public FinalVariableBehaviorCase getFinalVariableBehaviorCase() { return FinalVariableBehaviorCase.forNumber( finalVariableBehaviorCase_); } public static final int ARGUMENTS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List arguments_; /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public java.util.List getArgumentsList() { return arguments_; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public java.util.List getArgumentsOrBuilderList() { return arguments_; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public int getArgumentsCount() { return arguments_.size(); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument getArguments(int index) { return arguments_.get(index); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ @java.lang.Override public io.substrait.proto.FunctionSignature.ArgumentOrBuilder getArgumentsOrBuilder( int index) { return arguments_.get(index); } public static final int NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList name_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string name = 3; * @return A list containing the name. */ public com.google.protobuf.ProtocolStringList getNameList() { return name_; } /** * repeated string name = 3; * @return The count of name. */ public int getNameCount() { return name_.size(); } /** * repeated string name = 3; * @param index The index of the element to return. * @return The name at the given index. */ public java.lang.String getName(int index) { return name_.get(index); } /** * repeated string name = 3; * @param index The index of the value to return. * @return The bytes of the name at the given index. */ public com.google.protobuf.ByteString getNameBytes(int index) { return name_.getByteString(index); } public static final int DESCRIPTION_FIELD_NUMBER = 4; private io.substrait.proto.FunctionSignature.Description description_; /** * .substrait.FunctionSignature.Description description = 4; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return ((bitField0_ & 0x00000001) != 0); } /** * .substrait.FunctionSignature.Description description = 4; * @return The description. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Description getDescription() { return description_ == null ? io.substrait.proto.FunctionSignature.Description.getDefaultInstance() : description_; } /** * .substrait.FunctionSignature.Description description = 4; */ @java.lang.Override public io.substrait.proto.FunctionSignature.DescriptionOrBuilder getDescriptionOrBuilder() { return description_ == null ? io.substrait.proto.FunctionSignature.Description.getDefaultInstance() : description_; } public static final int DETERMINISTIC_FIELD_NUMBER = 7; private boolean deterministic_ = false; /** * bool deterministic = 7; * @return The deterministic. */ @java.lang.Override public boolean getDeterministic() { return deterministic_; } public static final int SESSION_DEPENDENT_FIELD_NUMBER = 8; private boolean sessionDependent_ = false; /** * bool session_dependent = 8; * @return The sessionDependent. */ @java.lang.Override public boolean getSessionDependent() { return sessionDependent_; } public static final int INTERMEDIATE_TYPE_FIELD_NUMBER = 9; private io.substrait.proto.DerivationExpression intermediateType_; /** * .substrait.DerivationExpression intermediate_type = 9; * @return Whether the intermediateType field is set. */ @java.lang.Override public boolean hasIntermediateType() { return ((bitField0_ & 0x00000002) != 0); } /** * .substrait.DerivationExpression intermediate_type = 9; * @return The intermediateType. */ @java.lang.Override public io.substrait.proto.DerivationExpression getIntermediateType() { return intermediateType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : intermediateType_; } /** * .substrait.DerivationExpression intermediate_type = 9; */ @java.lang.Override public io.substrait.proto.DerivationExpressionOrBuilder getIntermediateTypeOrBuilder() { return intermediateType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : intermediateType_; } public static final int OUTPUT_TYPE_FIELD_NUMBER = 10; private io.substrait.proto.DerivationExpression outputType_; /** * .substrait.DerivationExpression output_type = 10; * @return Whether the outputType field is set. */ @java.lang.Override public boolean hasOutputType() { return ((bitField0_ & 0x00000004) != 0); } /** * .substrait.DerivationExpression output_type = 10; * @return The outputType. */ @java.lang.Override public io.substrait.proto.DerivationExpression getOutputType() { return outputType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : outputType_; } /** * .substrait.DerivationExpression output_type = 10; */ @java.lang.Override public io.substrait.proto.DerivationExpressionOrBuilder getOutputTypeOrBuilder() { return outputType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : outputType_; } public static final int VARIADIC_FIELD_NUMBER = 16; /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; * @return Whether the variadic field is set. */ @java.lang.Override public boolean hasVariadic() { return finalVariableBehaviorCase_ == 16; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; * @return The variadic. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadic getVariadic() { if (finalVariableBehaviorCase_ == 16) { return (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder getVariadicOrBuilder() { if (finalVariableBehaviorCase_ == 16) { return (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } public static final int NORMAL_FIELD_NUMBER = 17; /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; * @return Whether the normal field is set. */ @java.lang.Override public boolean hasNormal() { return finalVariableBehaviorCase_ == 17; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; * @return The normal. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormal getNormal() { if (finalVariableBehaviorCase_ == 17) { return (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder getNormalOrBuilder() { if (finalVariableBehaviorCase_ == 17) { return (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } public static final int ORDERED_FIELD_NUMBER = 11; private boolean ordered_ = false; /** * bool ordered = 11; * @return The ordered. */ @java.lang.Override public boolean getOrdered() { return ordered_; } public static final int MAX_SET_FIELD_NUMBER = 12; private long maxSet_ = 0L; /** * uint64 max_set = 12; * @return The maxSet. */ @java.lang.Override public long getMaxSet() { return maxSet_; } public static final int WINDOW_TYPE_FIELD_NUMBER = 14; private int windowType_ = 0; /** * .substrait.FunctionSignature.Window.WindowType window_type = 14; * @return The enum numeric value on the wire for windowType. */ @java.lang.Override public int getWindowTypeValue() { return windowType_; } /** * .substrait.FunctionSignature.Window.WindowType window_type = 14; * @return The windowType. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Window.WindowType getWindowType() { io.substrait.proto.FunctionSignature.Window.WindowType result = io.substrait.proto.FunctionSignature.Window.WindowType.forNumber(windowType_); return result == null ? io.substrait.proto.FunctionSignature.Window.WindowType.UNRECOGNIZED : result; } public static final int IMPLEMENTATIONS_FIELD_NUMBER = 15; @SuppressWarnings("serial") private java.util.List implementations_; /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ @java.lang.Override public java.util.List getImplementationsList() { return implementations_; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ @java.lang.Override public java.util.List getImplementationsOrBuilderList() { return implementations_; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ @java.lang.Override public int getImplementationsCount() { return implementations_.size(); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ @java.lang.Override public io.substrait.proto.FunctionSignature.Implementation getImplementations(int index) { return implementations_.get(index); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ @java.lang.Override public io.substrait.proto.FunctionSignature.ImplementationOrBuilder getImplementationsOrBuilder( int index) { return implementations_.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 < arguments_.size(); i++) { output.writeMessage(2, arguments_.get(i)); } for (int i = 0; i < name_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_.getRaw(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getDescription()); } if (deterministic_ != false) { output.writeBool(7, deterministic_); } if (sessionDependent_ != false) { output.writeBool(8, sessionDependent_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(9, getIntermediateType()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(10, getOutputType()); } if (ordered_ != false) { output.writeBool(11, ordered_); } if (maxSet_ != 0L) { output.writeUInt64(12, maxSet_); } if (windowType_ != io.substrait.proto.FunctionSignature.Window.WindowType.WINDOW_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(14, windowType_); } for (int i = 0; i < implementations_.size(); i++) { output.writeMessage(15, implementations_.get(i)); } if (finalVariableBehaviorCase_ == 16) { output.writeMessage(16, (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_); } if (finalVariableBehaviorCase_ == 17) { output.writeMessage(17, (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < arguments_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, arguments_.get(i)); } { int dataSize = 0; for (int i = 0; i < name_.size(); i++) { dataSize += computeStringSizeNoTag(name_.getRaw(i)); } size += dataSize; size += 1 * getNameList().size(); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getDescription()); } if (deterministic_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, deterministic_); } if (sessionDependent_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, sessionDependent_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getIntermediateType()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getOutputType()); } if (ordered_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, ordered_); } if (maxSet_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(12, maxSet_); } if (windowType_ != io.substrait.proto.FunctionSignature.Window.WindowType.WINDOW_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(14, windowType_); } for (int i = 0; i < implementations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, implementations_.get(i)); } if (finalVariableBehaviorCase_ == 16) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_); } if (finalVariableBehaviorCase_ == 17) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_); } 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 io.substrait.proto.FunctionSignature.Window)) { return super.equals(obj); } io.substrait.proto.FunctionSignature.Window other = (io.substrait.proto.FunctionSignature.Window) obj; if (!getArgumentsList() .equals(other.getArgumentsList())) return false; if (!getNameList() .equals(other.getNameList())) return false; if (hasDescription() != other.hasDescription()) return false; if (hasDescription()) { if (!getDescription() .equals(other.getDescription())) return false; } if (getDeterministic() != other.getDeterministic()) return false; if (getSessionDependent() != other.getSessionDependent()) return false; if (hasIntermediateType() != other.hasIntermediateType()) return false; if (hasIntermediateType()) { if (!getIntermediateType() .equals(other.getIntermediateType())) return false; } if (hasOutputType() != other.hasOutputType()) return false; if (hasOutputType()) { if (!getOutputType() .equals(other.getOutputType())) return false; } if (getOrdered() != other.getOrdered()) return false; if (getMaxSet() != other.getMaxSet()) return false; if (windowType_ != other.windowType_) return false; if (!getImplementationsList() .equals(other.getImplementationsList())) return false; if (!getFinalVariableBehaviorCase().equals(other.getFinalVariableBehaviorCase())) return false; switch (finalVariableBehaviorCase_) { case 16: if (!getVariadic() .equals(other.getVariadic())) return false; break; case 17: if (!getNormal() .equals(other.getNormal())) 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 (getArgumentsCount() > 0) { hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER; hash = (53 * hash) + getArgumentsList().hashCode(); } if (getNameCount() > 0) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getNameList().hashCode(); } if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } hash = (37 * hash) + DETERMINISTIC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeterministic()); hash = (37 * hash) + SESSION_DEPENDENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSessionDependent()); if (hasIntermediateType()) { hash = (37 * hash) + INTERMEDIATE_TYPE_FIELD_NUMBER; hash = (53 * hash) + getIntermediateType().hashCode(); } if (hasOutputType()) { hash = (37 * hash) + OUTPUT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getOutputType().hashCode(); } hash = (37 * hash) + ORDERED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOrdered()); hash = (37 * hash) + MAX_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxSet()); hash = (37 * hash) + WINDOW_TYPE_FIELD_NUMBER; hash = (53 * hash) + windowType_; if (getImplementationsCount() > 0) { hash = (37 * hash) + IMPLEMENTATIONS_FIELD_NUMBER; hash = (53 * hash) + getImplementationsList().hashCode(); } switch (finalVariableBehaviorCase_) { case 16: hash = (37 * hash) + VARIADIC_FIELD_NUMBER; hash = (53 * hash) + getVariadic().hashCode(); break; case 17: hash = (37 * hash) + NORMAL_FIELD_NUMBER; hash = (53 * hash) + getNormal().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.substrait.proto.FunctionSignature.Window parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Window parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Window parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Window parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Window parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Window parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Window parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Window 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 io.substrait.proto.FunctionSignature.Window parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Window 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 io.substrait.proto.FunctionSignature.Window parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Window 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(io.substrait.proto.FunctionSignature.Window 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 substrait.FunctionSignature.Window} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:substrait.FunctionSignature.Window) io.substrait.proto.FunctionSignature.WindowOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Window_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Window_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Window.class, io.substrait.proto.FunctionSignature.Window.Builder.class); } // Construct using io.substrait.proto.FunctionSignature.Window.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getArgumentsFieldBuilder(); getDescriptionFieldBuilder(); getIntermediateTypeFieldBuilder(); getOutputTypeFieldBuilder(); getImplementationsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (argumentsBuilder_ == null) { arguments_ = java.util.Collections.emptyList(); } else { arguments_ = null; argumentsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); name_ = com.google.protobuf.LazyStringArrayList.emptyList(); description_ = null; if (descriptionBuilder_ != null) { descriptionBuilder_.dispose(); descriptionBuilder_ = null; } deterministic_ = false; sessionDependent_ = false; intermediateType_ = null; if (intermediateTypeBuilder_ != null) { intermediateTypeBuilder_.dispose(); intermediateTypeBuilder_ = null; } outputType_ = null; if (outputTypeBuilder_ != null) { outputTypeBuilder_.dispose(); outputTypeBuilder_ = null; } if (variadicBuilder_ != null) { variadicBuilder_.clear(); } if (normalBuilder_ != null) { normalBuilder_.clear(); } ordered_ = false; maxSet_ = 0L; windowType_ = 0; if (implementationsBuilder_ == null) { implementations_ = java.util.Collections.emptyList(); } else { implementations_ = null; implementationsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00001000); finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Window_descriptor; } @java.lang.Override public io.substrait.proto.FunctionSignature.Window getDefaultInstanceForType() { return io.substrait.proto.FunctionSignature.Window.getDefaultInstance(); } @java.lang.Override public io.substrait.proto.FunctionSignature.Window build() { io.substrait.proto.FunctionSignature.Window result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.substrait.proto.FunctionSignature.Window buildPartial() { io.substrait.proto.FunctionSignature.Window result = new io.substrait.proto.FunctionSignature.Window(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartialRepeatedFields(io.substrait.proto.FunctionSignature.Window result) { if (argumentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { arguments_ = java.util.Collections.unmodifiableList(arguments_); bitField0_ = (bitField0_ & ~0x00000001); } result.arguments_ = arguments_; } else { result.arguments_ = argumentsBuilder_.build(); } if (implementationsBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0)) { implementations_ = java.util.Collections.unmodifiableList(implementations_); bitField0_ = (bitField0_ & ~0x00001000); } result.implementations_ = implementations_; } else { result.implementations_ = implementationsBuilder_.build(); } } private void buildPartial0(io.substrait.proto.FunctionSignature.Window result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { name_.makeImmutable(); result.name_ = name_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.description_ = descriptionBuilder_ == null ? description_ : descriptionBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.deterministic_ = deterministic_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.sessionDependent_ = sessionDependent_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.intermediateType_ = intermediateTypeBuilder_ == null ? intermediateType_ : intermediateTypeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { result.outputType_ = outputTypeBuilder_ == null ? outputType_ : outputTypeBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000200) != 0)) { result.ordered_ = ordered_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.maxSet_ = maxSet_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.windowType_ = windowType_; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(io.substrait.proto.FunctionSignature.Window result) { result.finalVariableBehaviorCase_ = finalVariableBehaviorCase_; result.finalVariableBehavior_ = this.finalVariableBehavior_; if (finalVariableBehaviorCase_ == 16 && variadicBuilder_ != null) { result.finalVariableBehavior_ = variadicBuilder_.build(); } if (finalVariableBehaviorCase_ == 17 && normalBuilder_ != null) { result.finalVariableBehavior_ = normalBuilder_.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 io.substrait.proto.FunctionSignature.Window) { return mergeFrom((io.substrait.proto.FunctionSignature.Window)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.substrait.proto.FunctionSignature.Window other) { if (other == io.substrait.proto.FunctionSignature.Window.getDefaultInstance()) return this; if (argumentsBuilder_ == null) { if (!other.arguments_.isEmpty()) { if (arguments_.isEmpty()) { arguments_ = other.arguments_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureArgumentsIsMutable(); arguments_.addAll(other.arguments_); } onChanged(); } } else { if (!other.arguments_.isEmpty()) { if (argumentsBuilder_.isEmpty()) { argumentsBuilder_.dispose(); argumentsBuilder_ = null; arguments_ = other.arguments_; bitField0_ = (bitField0_ & ~0x00000001); argumentsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getArgumentsFieldBuilder() : null; } else { argumentsBuilder_.addAllMessages(other.arguments_); } } } if (!other.name_.isEmpty()) { if (name_.isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000002; } else { ensureNameIsMutable(); name_.addAll(other.name_); } onChanged(); } if (other.hasDescription()) { mergeDescription(other.getDescription()); } if (other.getDeterministic() != false) { setDeterministic(other.getDeterministic()); } if (other.getSessionDependent() != false) { setSessionDependent(other.getSessionDependent()); } if (other.hasIntermediateType()) { mergeIntermediateType(other.getIntermediateType()); } if (other.hasOutputType()) { mergeOutputType(other.getOutputType()); } if (other.getOrdered() != false) { setOrdered(other.getOrdered()); } if (other.getMaxSet() != 0L) { setMaxSet(other.getMaxSet()); } if (other.windowType_ != 0) { setWindowTypeValue(other.getWindowTypeValue()); } if (implementationsBuilder_ == null) { if (!other.implementations_.isEmpty()) { if (implementations_.isEmpty()) { implementations_ = other.implementations_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureImplementationsIsMutable(); implementations_.addAll(other.implementations_); } onChanged(); } } else { if (!other.implementations_.isEmpty()) { if (implementationsBuilder_.isEmpty()) { implementationsBuilder_.dispose(); implementationsBuilder_ = null; implementations_ = other.implementations_; bitField0_ = (bitField0_ & ~0x00001000); implementationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getImplementationsFieldBuilder() : null; } else { implementationsBuilder_.addAllMessages(other.implementations_); } } } switch (other.getFinalVariableBehaviorCase()) { case VARIADIC: { mergeVariadic(other.getVariadic()); break; } case NORMAL: { mergeNormal(other.getNormal()); break; } case FINALVARIABLEBEHAVIOR_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 18: { io.substrait.proto.FunctionSignature.Argument m = input.readMessage( io.substrait.proto.FunctionSignature.Argument.parser(), extensionRegistry); if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.add(m); } else { argumentsBuilder_.addMessage(m); } break; } // case 18 case 26: { java.lang.String s = input.readStringRequireUtf8(); ensureNameIsMutable(); name_.add(s); break; } // case 26 case 34: { input.readMessage( getDescriptionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 case 56: { deterministic_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 56 case 64: { sessionDependent_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 64 case 74: { input.readMessage( getIntermediateTypeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 74 case 82: { input.readMessage( getOutputTypeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 82 case 88: { ordered_ = input.readBool(); bitField0_ |= 0x00000200; break; } // case 88 case 96: { maxSet_ = input.readUInt64(); bitField0_ |= 0x00000400; break; } // case 96 case 112: { windowType_ = input.readEnum(); bitField0_ |= 0x00000800; break; } // case 112 case 122: { io.substrait.proto.FunctionSignature.Implementation m = input.readMessage( io.substrait.proto.FunctionSignature.Implementation.parser(), extensionRegistry); if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.add(m); } else { implementationsBuilder_.addMessage(m); } break; } // case 122 case 130: { input.readMessage( getVariadicFieldBuilder().getBuilder(), extensionRegistry); finalVariableBehaviorCase_ = 16; break; } // case 130 case 138: { input.readMessage( getNormalFieldBuilder().getBuilder(), extensionRegistry); finalVariableBehaviorCase_ = 17; break; } // case 138 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int finalVariableBehaviorCase_ = 0; private java.lang.Object finalVariableBehavior_; public FinalVariableBehaviorCase getFinalVariableBehaviorCase() { return FinalVariableBehaviorCase.forNumber( finalVariableBehaviorCase_); } public Builder clearFinalVariableBehavior() { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; onChanged(); return this; } private int bitField0_; private java.util.List arguments_ = java.util.Collections.emptyList(); private void ensureArgumentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { arguments_ = new java.util.ArrayList(arguments_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument, io.substrait.proto.FunctionSignature.Argument.Builder, io.substrait.proto.FunctionSignature.ArgumentOrBuilder> argumentsBuilder_; /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public java.util.List getArgumentsList() { if (argumentsBuilder_ == null) { return java.util.Collections.unmodifiableList(arguments_); } else { return argumentsBuilder_.getMessageList(); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public int getArgumentsCount() { if (argumentsBuilder_ == null) { return arguments_.size(); } else { return argumentsBuilder_.getCount(); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.Argument getArguments(int index) { if (argumentsBuilder_ == null) { return arguments_.get(index); } else { return argumentsBuilder_.getMessage(index); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder setArguments( int index, io.substrait.proto.FunctionSignature.Argument value) { if (argumentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentsIsMutable(); arguments_.set(index, value); onChanged(); } else { argumentsBuilder_.setMessage(index, value); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder setArguments( int index, io.substrait.proto.FunctionSignature.Argument.Builder builderForValue) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.set(index, builderForValue.build()); onChanged(); } else { argumentsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addArguments(io.substrait.proto.FunctionSignature.Argument value) { if (argumentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentsIsMutable(); arguments_.add(value); onChanged(); } else { argumentsBuilder_.addMessage(value); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addArguments( int index, io.substrait.proto.FunctionSignature.Argument value) { if (argumentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentsIsMutable(); arguments_.add(index, value); onChanged(); } else { argumentsBuilder_.addMessage(index, value); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addArguments( io.substrait.proto.FunctionSignature.Argument.Builder builderForValue) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.add(builderForValue.build()); onChanged(); } else { argumentsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addArguments( int index, io.substrait.proto.FunctionSignature.Argument.Builder builderForValue) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.add(index, builderForValue.build()); onChanged(); } else { argumentsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder addAllArguments( java.lang.Iterable values) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, arguments_); onChanged(); } else { argumentsBuilder_.addAllMessages(values); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder clearArguments() { if (argumentsBuilder_ == null) { arguments_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { argumentsBuilder_.clear(); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public Builder removeArguments(int index) { if (argumentsBuilder_ == null) { ensureArgumentsIsMutable(); arguments_.remove(index); onChanged(); } else { argumentsBuilder_.remove(index); } return this; } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.Argument.Builder getArgumentsBuilder( int index) { return getArgumentsFieldBuilder().getBuilder(index); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.ArgumentOrBuilder getArgumentsOrBuilder( int index) { if (argumentsBuilder_ == null) { return arguments_.get(index); } else { return argumentsBuilder_.getMessageOrBuilder(index); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public java.util.List getArgumentsOrBuilderList() { if (argumentsBuilder_ != null) { return argumentsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(arguments_); } } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.Argument.Builder addArgumentsBuilder() { return getArgumentsFieldBuilder().addBuilder( io.substrait.proto.FunctionSignature.Argument.getDefaultInstance()); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public io.substrait.proto.FunctionSignature.Argument.Builder addArgumentsBuilder( int index) { return getArgumentsFieldBuilder().addBuilder( index, io.substrait.proto.FunctionSignature.Argument.getDefaultInstance()); } /** * repeated .substrait.FunctionSignature.Argument arguments = 2; */ public java.util.List getArgumentsBuilderList() { return getArgumentsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument, io.substrait.proto.FunctionSignature.Argument.Builder, io.substrait.proto.FunctionSignature.ArgumentOrBuilder> getArgumentsFieldBuilder() { if (argumentsBuilder_ == null) { argumentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument, io.substrait.proto.FunctionSignature.Argument.Builder, io.substrait.proto.FunctionSignature.ArgumentOrBuilder>( arguments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); arguments_ = null; } return argumentsBuilder_; } private com.google.protobuf.LazyStringArrayList name_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureNameIsMutable() { if (!name_.isModifiable()) { name_ = new com.google.protobuf.LazyStringArrayList(name_); } bitField0_ |= 0x00000002; } /** * repeated string name = 3; * @return A list containing the name. */ public com.google.protobuf.ProtocolStringList getNameList() { name_.makeImmutable(); return name_; } /** * repeated string name = 3; * @return The count of name. */ public int getNameCount() { return name_.size(); } /** * repeated string name = 3; * @param index The index of the element to return. * @return The name at the given index. */ public java.lang.String getName(int index) { return name_.get(index); } /** * repeated string name = 3; * @param index The index of the value to return. * @return The bytes of the name at the given index. */ public com.google.protobuf.ByteString getNameBytes(int index) { return name_.getByteString(index); } /** * repeated string name = 3; * @param index The index to set the value at. * @param value The name to set. * @return This builder for chaining. */ public Builder setName( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNameIsMutable(); name_.set(index, value); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string name = 3; * @param value The name to add. * @return This builder for chaining. */ public Builder addName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNameIsMutable(); name_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string name = 3; * @param values The name to add. * @return This builder for chaining. */ public Builder addAllName( java.lang.Iterable values) { ensureNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, name_); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string name = 3; * @return This builder for chaining. */ public Builder clearName() { name_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** * repeated string name = 3; * @param value The bytes of the name to add. * @return This builder for chaining. */ public Builder addNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNameIsMutable(); name_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } private io.substrait.proto.FunctionSignature.Description description_; private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Description, io.substrait.proto.FunctionSignature.Description.Builder, io.substrait.proto.FunctionSignature.DescriptionOrBuilder> descriptionBuilder_; /** * .substrait.FunctionSignature.Description description = 4; * @return Whether the description field is set. */ public boolean hasDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * .substrait.FunctionSignature.Description description = 4; * @return The description. */ public io.substrait.proto.FunctionSignature.Description getDescription() { if (descriptionBuilder_ == null) { return description_ == null ? io.substrait.proto.FunctionSignature.Description.getDefaultInstance() : description_; } else { return descriptionBuilder_.getMessage(); } } /** * .substrait.FunctionSignature.Description description = 4; */ public Builder setDescription(io.substrait.proto.FunctionSignature.Description value) { if (descriptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } description_ = value; } else { descriptionBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .substrait.FunctionSignature.Description description = 4; */ public Builder setDescription( io.substrait.proto.FunctionSignature.Description.Builder builderForValue) { if (descriptionBuilder_ == null) { description_ = builderForValue.build(); } else { descriptionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .substrait.FunctionSignature.Description description = 4; */ public Builder mergeDescription(io.substrait.proto.FunctionSignature.Description value) { if (descriptionBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && description_ != null && description_ != io.substrait.proto.FunctionSignature.Description.getDefaultInstance()) { getDescriptionBuilder().mergeFrom(value); } else { description_ = value; } } else { descriptionBuilder_.mergeFrom(value); } if (description_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .substrait.FunctionSignature.Description description = 4; */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000004); description_ = null; if (descriptionBuilder_ != null) { descriptionBuilder_.dispose(); descriptionBuilder_ = null; } onChanged(); return this; } /** * .substrait.FunctionSignature.Description description = 4; */ public io.substrait.proto.FunctionSignature.Description.Builder getDescriptionBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDescriptionFieldBuilder().getBuilder(); } /** * .substrait.FunctionSignature.Description description = 4; */ public io.substrait.proto.FunctionSignature.DescriptionOrBuilder getDescriptionOrBuilder() { if (descriptionBuilder_ != null) { return descriptionBuilder_.getMessageOrBuilder(); } else { return description_ == null ? io.substrait.proto.FunctionSignature.Description.getDefaultInstance() : description_; } } /** * .substrait.FunctionSignature.Description description = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Description, io.substrait.proto.FunctionSignature.Description.Builder, io.substrait.proto.FunctionSignature.DescriptionOrBuilder> getDescriptionFieldBuilder() { if (descriptionBuilder_ == null) { descriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Description, io.substrait.proto.FunctionSignature.Description.Builder, io.substrait.proto.FunctionSignature.DescriptionOrBuilder>( getDescription(), getParentForChildren(), isClean()); description_ = null; } return descriptionBuilder_; } private boolean deterministic_ ; /** * bool deterministic = 7; * @return The deterministic. */ @java.lang.Override public boolean getDeterministic() { return deterministic_; } /** * bool deterministic = 7; * @param value The deterministic to set. * @return This builder for chaining. */ public Builder setDeterministic(boolean value) { deterministic_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * bool deterministic = 7; * @return This builder for chaining. */ public Builder clearDeterministic() { bitField0_ = (bitField0_ & ~0x00000008); deterministic_ = false; onChanged(); return this; } private boolean sessionDependent_ ; /** * bool session_dependent = 8; * @return The sessionDependent. */ @java.lang.Override public boolean getSessionDependent() { return sessionDependent_; } /** * bool session_dependent = 8; * @param value The sessionDependent to set. * @return This builder for chaining. */ public Builder setSessionDependent(boolean value) { sessionDependent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * bool session_dependent = 8; * @return This builder for chaining. */ public Builder clearSessionDependent() { bitField0_ = (bitField0_ & ~0x00000010); sessionDependent_ = false; onChanged(); return this; } private io.substrait.proto.DerivationExpression intermediateType_; private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.DerivationExpression, io.substrait.proto.DerivationExpression.Builder, io.substrait.proto.DerivationExpressionOrBuilder> intermediateTypeBuilder_; /** * .substrait.DerivationExpression intermediate_type = 9; * @return Whether the intermediateType field is set. */ public boolean hasIntermediateType() { return ((bitField0_ & 0x00000020) != 0); } /** * .substrait.DerivationExpression intermediate_type = 9; * @return The intermediateType. */ public io.substrait.proto.DerivationExpression getIntermediateType() { if (intermediateTypeBuilder_ == null) { return intermediateType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : intermediateType_; } else { return intermediateTypeBuilder_.getMessage(); } } /** * .substrait.DerivationExpression intermediate_type = 9; */ public Builder setIntermediateType(io.substrait.proto.DerivationExpression value) { if (intermediateTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } intermediateType_ = value; } else { intermediateTypeBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * .substrait.DerivationExpression intermediate_type = 9; */ public Builder setIntermediateType( io.substrait.proto.DerivationExpression.Builder builderForValue) { if (intermediateTypeBuilder_ == null) { intermediateType_ = builderForValue.build(); } else { intermediateTypeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * .substrait.DerivationExpression intermediate_type = 9; */ public Builder mergeIntermediateType(io.substrait.proto.DerivationExpression value) { if (intermediateTypeBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && intermediateType_ != null && intermediateType_ != io.substrait.proto.DerivationExpression.getDefaultInstance()) { getIntermediateTypeBuilder().mergeFrom(value); } else { intermediateType_ = value; } } else { intermediateTypeBuilder_.mergeFrom(value); } if (intermediateType_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** * .substrait.DerivationExpression intermediate_type = 9; */ public Builder clearIntermediateType() { bitField0_ = (bitField0_ & ~0x00000020); intermediateType_ = null; if (intermediateTypeBuilder_ != null) { intermediateTypeBuilder_.dispose(); intermediateTypeBuilder_ = null; } onChanged(); return this; } /** * .substrait.DerivationExpression intermediate_type = 9; */ public io.substrait.proto.DerivationExpression.Builder getIntermediateTypeBuilder() { bitField0_ |= 0x00000020; onChanged(); return getIntermediateTypeFieldBuilder().getBuilder(); } /** * .substrait.DerivationExpression intermediate_type = 9; */ public io.substrait.proto.DerivationExpressionOrBuilder getIntermediateTypeOrBuilder() { if (intermediateTypeBuilder_ != null) { return intermediateTypeBuilder_.getMessageOrBuilder(); } else { return intermediateType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : intermediateType_; } } /** * .substrait.DerivationExpression intermediate_type = 9; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.DerivationExpression, io.substrait.proto.DerivationExpression.Builder, io.substrait.proto.DerivationExpressionOrBuilder> getIntermediateTypeFieldBuilder() { if (intermediateTypeBuilder_ == null) { intermediateTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.DerivationExpression, io.substrait.proto.DerivationExpression.Builder, io.substrait.proto.DerivationExpressionOrBuilder>( getIntermediateType(), getParentForChildren(), isClean()); intermediateType_ = null; } return intermediateTypeBuilder_; } private io.substrait.proto.DerivationExpression outputType_; private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.DerivationExpression, io.substrait.proto.DerivationExpression.Builder, io.substrait.proto.DerivationExpressionOrBuilder> outputTypeBuilder_; /** * .substrait.DerivationExpression output_type = 10; * @return Whether the outputType field is set. */ public boolean hasOutputType() { return ((bitField0_ & 0x00000040) != 0); } /** * .substrait.DerivationExpression output_type = 10; * @return The outputType. */ public io.substrait.proto.DerivationExpression getOutputType() { if (outputTypeBuilder_ == null) { return outputType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : outputType_; } else { return outputTypeBuilder_.getMessage(); } } /** * .substrait.DerivationExpression output_type = 10; */ public Builder setOutputType(io.substrait.proto.DerivationExpression value) { if (outputTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } outputType_ = value; } else { outputTypeBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * .substrait.DerivationExpression output_type = 10; */ public Builder setOutputType( io.substrait.proto.DerivationExpression.Builder builderForValue) { if (outputTypeBuilder_ == null) { outputType_ = builderForValue.build(); } else { outputTypeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * .substrait.DerivationExpression output_type = 10; */ public Builder mergeOutputType(io.substrait.proto.DerivationExpression value) { if (outputTypeBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && outputType_ != null && outputType_ != io.substrait.proto.DerivationExpression.getDefaultInstance()) { getOutputTypeBuilder().mergeFrom(value); } else { outputType_ = value; } } else { outputTypeBuilder_.mergeFrom(value); } if (outputType_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** * .substrait.DerivationExpression output_type = 10; */ public Builder clearOutputType() { bitField0_ = (bitField0_ & ~0x00000040); outputType_ = null; if (outputTypeBuilder_ != null) { outputTypeBuilder_.dispose(); outputTypeBuilder_ = null; } onChanged(); return this; } /** * .substrait.DerivationExpression output_type = 10; */ public io.substrait.proto.DerivationExpression.Builder getOutputTypeBuilder() { bitField0_ |= 0x00000040; onChanged(); return getOutputTypeFieldBuilder().getBuilder(); } /** * .substrait.DerivationExpression output_type = 10; */ public io.substrait.proto.DerivationExpressionOrBuilder getOutputTypeOrBuilder() { if (outputTypeBuilder_ != null) { return outputTypeBuilder_.getMessageOrBuilder(); } else { return outputType_ == null ? io.substrait.proto.DerivationExpression.getDefaultInstance() : outputType_; } } /** * .substrait.DerivationExpression output_type = 10; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.DerivationExpression, io.substrait.proto.DerivationExpression.Builder, io.substrait.proto.DerivationExpressionOrBuilder> getOutputTypeFieldBuilder() { if (outputTypeBuilder_ == null) { outputTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.DerivationExpression, io.substrait.proto.DerivationExpression.Builder, io.substrait.proto.DerivationExpressionOrBuilder>( getOutputType(), getParentForChildren(), isClean()); outputType_ = null; } return outputTypeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgVariadic, io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder, io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder> variadicBuilder_; /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; * @return Whether the variadic field is set. */ @java.lang.Override public boolean hasVariadic() { return finalVariableBehaviorCase_ == 16; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; * @return The variadic. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadic getVariadic() { if (variadicBuilder_ == null) { if (finalVariableBehaviorCase_ == 16) { return (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } else { if (finalVariableBehaviorCase_ == 16) { return variadicBuilder_.getMessage(); } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; */ public Builder setVariadic(io.substrait.proto.FunctionSignature.FinalArgVariadic value) { if (variadicBuilder_ == null) { if (value == null) { throw new NullPointerException(); } finalVariableBehavior_ = value; onChanged(); } else { variadicBuilder_.setMessage(value); } finalVariableBehaviorCase_ = 16; return this; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; */ public Builder setVariadic( io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder builderForValue) { if (variadicBuilder_ == null) { finalVariableBehavior_ = builderForValue.build(); onChanged(); } else { variadicBuilder_.setMessage(builderForValue.build()); } finalVariableBehaviorCase_ = 16; return this; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; */ public Builder mergeVariadic(io.substrait.proto.FunctionSignature.FinalArgVariadic value) { if (variadicBuilder_ == null) { if (finalVariableBehaviorCase_ == 16 && finalVariableBehavior_ != io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance()) { finalVariableBehavior_ = io.substrait.proto.FunctionSignature.FinalArgVariadic.newBuilder((io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_) .mergeFrom(value).buildPartial(); } else { finalVariableBehavior_ = value; } onChanged(); } else { if (finalVariableBehaviorCase_ == 16) { variadicBuilder_.mergeFrom(value); } else { variadicBuilder_.setMessage(value); } } finalVariableBehaviorCase_ = 16; return this; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; */ public Builder clearVariadic() { if (variadicBuilder_ == null) { if (finalVariableBehaviorCase_ == 16) { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; onChanged(); } } else { if (finalVariableBehaviorCase_ == 16) { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; } variadicBuilder_.clear(); } return this; } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; */ public io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder getVariadicBuilder() { return getVariadicFieldBuilder().getBuilder(); } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder getVariadicOrBuilder() { if ((finalVariableBehaviorCase_ == 16) && (variadicBuilder_ != null)) { return variadicBuilder_.getMessageOrBuilder(); } else { if (finalVariableBehaviorCase_ == 16) { return (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } } /** * .substrait.FunctionSignature.FinalArgVariadic variadic = 16; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgVariadic, io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder, io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder> getVariadicFieldBuilder() { if (variadicBuilder_ == null) { if (!(finalVariableBehaviorCase_ == 16)) { finalVariableBehavior_ = io.substrait.proto.FunctionSignature.FinalArgVariadic.getDefaultInstance(); } variadicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgVariadic, io.substrait.proto.FunctionSignature.FinalArgVariadic.Builder, io.substrait.proto.FunctionSignature.FinalArgVariadicOrBuilder>( (io.substrait.proto.FunctionSignature.FinalArgVariadic) finalVariableBehavior_, getParentForChildren(), isClean()); finalVariableBehavior_ = null; } finalVariableBehaviorCase_ = 16; onChanged(); return variadicBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgNormal, io.substrait.proto.FunctionSignature.FinalArgNormal.Builder, io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder> normalBuilder_; /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; * @return Whether the normal field is set. */ @java.lang.Override public boolean hasNormal() { return finalVariableBehaviorCase_ == 17; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; * @return The normal. */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormal getNormal() { if (normalBuilder_ == null) { if (finalVariableBehaviorCase_ == 17) { return (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } else { if (finalVariableBehaviorCase_ == 17) { return normalBuilder_.getMessage(); } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } } /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; */ public Builder setNormal(io.substrait.proto.FunctionSignature.FinalArgNormal value) { if (normalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } finalVariableBehavior_ = value; onChanged(); } else { normalBuilder_.setMessage(value); } finalVariableBehaviorCase_ = 17; return this; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; */ public Builder setNormal( io.substrait.proto.FunctionSignature.FinalArgNormal.Builder builderForValue) { if (normalBuilder_ == null) { finalVariableBehavior_ = builderForValue.build(); onChanged(); } else { normalBuilder_.setMessage(builderForValue.build()); } finalVariableBehaviorCase_ = 17; return this; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; */ public Builder mergeNormal(io.substrait.proto.FunctionSignature.FinalArgNormal value) { if (normalBuilder_ == null) { if (finalVariableBehaviorCase_ == 17 && finalVariableBehavior_ != io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance()) { finalVariableBehavior_ = io.substrait.proto.FunctionSignature.FinalArgNormal.newBuilder((io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_) .mergeFrom(value).buildPartial(); } else { finalVariableBehavior_ = value; } onChanged(); } else { if (finalVariableBehaviorCase_ == 17) { normalBuilder_.mergeFrom(value); } else { normalBuilder_.setMessage(value); } } finalVariableBehaviorCase_ = 17; return this; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; */ public Builder clearNormal() { if (normalBuilder_ == null) { if (finalVariableBehaviorCase_ == 17) { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; onChanged(); } } else { if (finalVariableBehaviorCase_ == 17) { finalVariableBehaviorCase_ = 0; finalVariableBehavior_ = null; } normalBuilder_.clear(); } return this; } /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; */ public io.substrait.proto.FunctionSignature.FinalArgNormal.Builder getNormalBuilder() { return getNormalFieldBuilder().getBuilder(); } /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; */ @java.lang.Override public io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder getNormalOrBuilder() { if ((finalVariableBehaviorCase_ == 17) && (normalBuilder_ != null)) { return normalBuilder_.getMessageOrBuilder(); } else { if (finalVariableBehaviorCase_ == 17) { return (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_; } return io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } } /** * .substrait.FunctionSignature.FinalArgNormal normal = 17; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgNormal, io.substrait.proto.FunctionSignature.FinalArgNormal.Builder, io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder> getNormalFieldBuilder() { if (normalBuilder_ == null) { if (!(finalVariableBehaviorCase_ == 17)) { finalVariableBehavior_ = io.substrait.proto.FunctionSignature.FinalArgNormal.getDefaultInstance(); } normalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.FinalArgNormal, io.substrait.proto.FunctionSignature.FinalArgNormal.Builder, io.substrait.proto.FunctionSignature.FinalArgNormalOrBuilder>( (io.substrait.proto.FunctionSignature.FinalArgNormal) finalVariableBehavior_, getParentForChildren(), isClean()); finalVariableBehavior_ = null; } finalVariableBehaviorCase_ = 17; onChanged(); return normalBuilder_; } private boolean ordered_ ; /** * bool ordered = 11; * @return The ordered. */ @java.lang.Override public boolean getOrdered() { return ordered_; } /** * bool ordered = 11; * @param value The ordered to set. * @return This builder for chaining. */ public Builder setOrdered(boolean value) { ordered_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** * bool ordered = 11; * @return This builder for chaining. */ public Builder clearOrdered() { bitField0_ = (bitField0_ & ~0x00000200); ordered_ = false; onChanged(); return this; } private long maxSet_ ; /** * uint64 max_set = 12; * @return The maxSet. */ @java.lang.Override public long getMaxSet() { return maxSet_; } /** * uint64 max_set = 12; * @param value The maxSet to set. * @return This builder for chaining. */ public Builder setMaxSet(long value) { maxSet_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** * uint64 max_set = 12; * @return This builder for chaining. */ public Builder clearMaxSet() { bitField0_ = (bitField0_ & ~0x00000400); maxSet_ = 0L; onChanged(); return this; } private int windowType_ = 0; /** * .substrait.FunctionSignature.Window.WindowType window_type = 14; * @return The enum numeric value on the wire for windowType. */ @java.lang.Override public int getWindowTypeValue() { return windowType_; } /** * .substrait.FunctionSignature.Window.WindowType window_type = 14; * @param value The enum numeric value on the wire for windowType to set. * @return This builder for chaining. */ public Builder setWindowTypeValue(int value) { windowType_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** * .substrait.FunctionSignature.Window.WindowType window_type = 14; * @return The windowType. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Window.WindowType getWindowType() { io.substrait.proto.FunctionSignature.Window.WindowType result = io.substrait.proto.FunctionSignature.Window.WindowType.forNumber(windowType_); return result == null ? io.substrait.proto.FunctionSignature.Window.WindowType.UNRECOGNIZED : result; } /** * .substrait.FunctionSignature.Window.WindowType window_type = 14; * @param value The windowType to set. * @return This builder for chaining. */ public Builder setWindowType(io.substrait.proto.FunctionSignature.Window.WindowType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; windowType_ = value.getNumber(); onChanged(); return this; } /** * .substrait.FunctionSignature.Window.WindowType window_type = 14; * @return This builder for chaining. */ public Builder clearWindowType() { bitField0_ = (bitField0_ & ~0x00000800); windowType_ = 0; onChanged(); return this; } private java.util.List implementations_ = java.util.Collections.emptyList(); private void ensureImplementationsIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { implementations_ = new java.util.ArrayList(implementations_); bitField0_ |= 0x00001000; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Implementation, io.substrait.proto.FunctionSignature.Implementation.Builder, io.substrait.proto.FunctionSignature.ImplementationOrBuilder> implementationsBuilder_; /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public java.util.List getImplementationsList() { if (implementationsBuilder_ == null) { return java.util.Collections.unmodifiableList(implementations_); } else { return implementationsBuilder_.getMessageList(); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public int getImplementationsCount() { if (implementationsBuilder_ == null) { return implementations_.size(); } else { return implementationsBuilder_.getCount(); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public io.substrait.proto.FunctionSignature.Implementation getImplementations(int index) { if (implementationsBuilder_ == null) { return implementations_.get(index); } else { return implementationsBuilder_.getMessage(index); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder setImplementations( int index, io.substrait.proto.FunctionSignature.Implementation value) { if (implementationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureImplementationsIsMutable(); implementations_.set(index, value); onChanged(); } else { implementationsBuilder_.setMessage(index, value); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder setImplementations( int index, io.substrait.proto.FunctionSignature.Implementation.Builder builderForValue) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.set(index, builderForValue.build()); onChanged(); } else { implementationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder addImplementations(io.substrait.proto.FunctionSignature.Implementation value) { if (implementationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureImplementationsIsMutable(); implementations_.add(value); onChanged(); } else { implementationsBuilder_.addMessage(value); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder addImplementations( int index, io.substrait.proto.FunctionSignature.Implementation value) { if (implementationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureImplementationsIsMutable(); implementations_.add(index, value); onChanged(); } else { implementationsBuilder_.addMessage(index, value); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder addImplementations( io.substrait.proto.FunctionSignature.Implementation.Builder builderForValue) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.add(builderForValue.build()); onChanged(); } else { implementationsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder addImplementations( int index, io.substrait.proto.FunctionSignature.Implementation.Builder builderForValue) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.add(index, builderForValue.build()); onChanged(); } else { implementationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder addAllImplementations( java.lang.Iterable values) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, implementations_); onChanged(); } else { implementationsBuilder_.addAllMessages(values); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder clearImplementations() { if (implementationsBuilder_ == null) { implementations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { implementationsBuilder_.clear(); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public Builder removeImplementations(int index) { if (implementationsBuilder_ == null) { ensureImplementationsIsMutable(); implementations_.remove(index); onChanged(); } else { implementationsBuilder_.remove(index); } return this; } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public io.substrait.proto.FunctionSignature.Implementation.Builder getImplementationsBuilder( int index) { return getImplementationsFieldBuilder().getBuilder(index); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public io.substrait.proto.FunctionSignature.ImplementationOrBuilder getImplementationsOrBuilder( int index) { if (implementationsBuilder_ == null) { return implementations_.get(index); } else { return implementationsBuilder_.getMessageOrBuilder(index); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public java.util.List getImplementationsOrBuilderList() { if (implementationsBuilder_ != null) { return implementationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(implementations_); } } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public io.substrait.proto.FunctionSignature.Implementation.Builder addImplementationsBuilder() { return getImplementationsFieldBuilder().addBuilder( io.substrait.proto.FunctionSignature.Implementation.getDefaultInstance()); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public io.substrait.proto.FunctionSignature.Implementation.Builder addImplementationsBuilder( int index) { return getImplementationsFieldBuilder().addBuilder( index, io.substrait.proto.FunctionSignature.Implementation.getDefaultInstance()); } /** * repeated .substrait.FunctionSignature.Implementation implementations = 15; */ public java.util.List getImplementationsBuilderList() { return getImplementationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Implementation, io.substrait.proto.FunctionSignature.Implementation.Builder, io.substrait.proto.FunctionSignature.ImplementationOrBuilder> getImplementationsFieldBuilder() { if (implementationsBuilder_ == null) { implementationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.substrait.proto.FunctionSignature.Implementation, io.substrait.proto.FunctionSignature.Implementation.Builder, io.substrait.proto.FunctionSignature.ImplementationOrBuilder>( implementations_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); implementations_ = null; } return implementationsBuilder_; } @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:substrait.FunctionSignature.Window) } // @@protoc_insertion_point(class_scope:substrait.FunctionSignature.Window) private static final io.substrait.proto.FunctionSignature.Window DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.substrait.proto.FunctionSignature.Window(); } public static io.substrait.proto.FunctionSignature.Window getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Window parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.substrait.proto.FunctionSignature.Window getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:substrait.FunctionSignature.Description) com.google.protobuf.MessageOrBuilder { /** * string language = 1; * @return The language. */ java.lang.String getLanguage(); /** * string language = 1; * @return The bytes for language. */ com.google.protobuf.ByteString getLanguageBytes(); /** * string body = 2; * @return The body. */ java.lang.String getBody(); /** * string body = 2; * @return The bytes for body. */ com.google.protobuf.ByteString getBodyBytes(); } /** * Protobuf type {@code substrait.FunctionSignature.Description} */ public static final class Description extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:substrait.FunctionSignature.Description) DescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use Description.newBuilder() to construct. private Description(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Description() { language_ = ""; body_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Description(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Description_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Description_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Description.class, io.substrait.proto.FunctionSignature.Description.Builder.class); } public static final int LANGUAGE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object language_ = ""; /** * string language = 1; * @return The language. */ @java.lang.Override public java.lang.String getLanguage() { java.lang.Object ref = language_; 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(); language_ = s; return s; } } /** * string language = 1; * @return The bytes for language. */ @java.lang.Override public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BODY_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object body_ = ""; /** * string body = 2; * @return The body. */ @java.lang.Override public java.lang.String getBody() { java.lang.Object ref = body_; 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(); body_ = s; return s; } } /** * string body = 2; * @return The bytes for body. */ @java.lang.Override public com.google.protobuf.ByteString getBodyBytes() { java.lang.Object ref = body_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); body_ = 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(language_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, language_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(body_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, body_); } 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(language_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, language_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(body_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, body_); } 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 io.substrait.proto.FunctionSignature.Description)) { return super.equals(obj); } io.substrait.proto.FunctionSignature.Description other = (io.substrait.proto.FunctionSignature.Description) obj; if (!getLanguage() .equals(other.getLanguage())) return false; if (!getBody() .equals(other.getBody())) 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) + LANGUAGE_FIELD_NUMBER; hash = (53 * hash) + getLanguage().hashCode(); hash = (37 * hash) + BODY_FIELD_NUMBER; hash = (53 * hash) + getBody().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.substrait.proto.FunctionSignature.Description parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Description parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Description parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Description parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Description parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Description parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Description parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Description 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 io.substrait.proto.FunctionSignature.Description parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Description 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 io.substrait.proto.FunctionSignature.Description parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Description 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(io.substrait.proto.FunctionSignature.Description 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 substrait.FunctionSignature.Description} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:substrait.FunctionSignature.Description) io.substrait.proto.FunctionSignature.DescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Description_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Description_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Description.class, io.substrait.proto.FunctionSignature.Description.Builder.class); } // Construct using io.substrait.proto.FunctionSignature.Description.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; language_ = ""; body_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Description_descriptor; } @java.lang.Override public io.substrait.proto.FunctionSignature.Description getDefaultInstanceForType() { return io.substrait.proto.FunctionSignature.Description.getDefaultInstance(); } @java.lang.Override public io.substrait.proto.FunctionSignature.Description build() { io.substrait.proto.FunctionSignature.Description result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.substrait.proto.FunctionSignature.Description buildPartial() { io.substrait.proto.FunctionSignature.Description result = new io.substrait.proto.FunctionSignature.Description(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.substrait.proto.FunctionSignature.Description result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.language_ = language_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.body_ = body_; } } @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 io.substrait.proto.FunctionSignature.Description) { return mergeFrom((io.substrait.proto.FunctionSignature.Description)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.substrait.proto.FunctionSignature.Description other) { if (other == io.substrait.proto.FunctionSignature.Description.getDefaultInstance()) return this; if (!other.getLanguage().isEmpty()) { language_ = other.language_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getBody().isEmpty()) { body_ = other.body_; 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: { language_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { body_ = 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 language_ = ""; /** * string language = 1; * @return The language. */ public java.lang.String getLanguage() { java.lang.Object ref = language_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); language_ = s; return s; } else { return (java.lang.String) ref; } } /** * string language = 1; * @return The bytes for language. */ public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string language = 1; * @param value The language to set. * @return This builder for chaining. */ public Builder setLanguage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } language_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string language = 1; * @return This builder for chaining. */ public Builder clearLanguage() { language_ = getDefaultInstance().getLanguage(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string language = 1; * @param value The bytes for language to set. * @return This builder for chaining. */ public Builder setLanguageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); language_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object body_ = ""; /** * string body = 2; * @return The body. */ public java.lang.String getBody() { java.lang.Object ref = body_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); body_ = s; return s; } else { return (java.lang.String) ref; } } /** * string body = 2; * @return The bytes for body. */ public com.google.protobuf.ByteString getBodyBytes() { java.lang.Object ref = body_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); body_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string body = 2; * @param value The body to set. * @return This builder for chaining. */ public Builder setBody( java.lang.String value) { if (value == null) { throw new NullPointerException(); } body_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string body = 2; * @return This builder for chaining. */ public Builder clearBody() { body_ = getDefaultInstance().getBody(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string body = 2; * @param value The bytes for body to set. * @return This builder for chaining. */ public Builder setBodyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); body_ = 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:substrait.FunctionSignature.Description) } // @@protoc_insertion_point(class_scope:substrait.FunctionSignature.Description) private static final io.substrait.proto.FunctionSignature.Description DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.substrait.proto.FunctionSignature.Description(); } public static io.substrait.proto.FunctionSignature.Description getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Description parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.substrait.proto.FunctionSignature.Description getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ImplementationOrBuilder extends // @@protoc_insertion_point(interface_extends:substrait.FunctionSignature.Implementation) com.google.protobuf.MessageOrBuilder { /** * .substrait.FunctionSignature.Implementation.Type type = 1; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** * .substrait.FunctionSignature.Implementation.Type type = 1; * @return The type. */ io.substrait.proto.FunctionSignature.Implementation.Type getType(); /** * string uri = 2; * @return The uri. */ java.lang.String getUri(); /** * string uri = 2; * @return The bytes for uri. */ com.google.protobuf.ByteString getUriBytes(); } /** * Protobuf type {@code substrait.FunctionSignature.Implementation} */ public static final class Implementation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:substrait.FunctionSignature.Implementation) ImplementationOrBuilder { private static final long serialVersionUID = 0L; // Use Implementation.newBuilder() to construct. private Implementation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Implementation() { type_ = 0; uri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Implementation(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Implementation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Implementation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Implementation.class, io.substrait.proto.FunctionSignature.Implementation.Builder.class); } /** * Protobuf enum {@code substrait.FunctionSignature.Implementation.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * TYPE_UNSPECIFIED = 0; */ TYPE_UNSPECIFIED(0), /** * TYPE_WEB_ASSEMBLY = 1; */ TYPE_WEB_ASSEMBLY(1), /** * TYPE_TRINO_JAR = 2; */ TYPE_TRINO_JAR(2), UNRECOGNIZED(-1), ; /** * TYPE_UNSPECIFIED = 0; */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** * TYPE_WEB_ASSEMBLY = 1; */ public static final int TYPE_WEB_ASSEMBLY_VALUE = 1; /** * TYPE_TRINO_JAR = 2; */ public static final int TYPE_TRINO_JAR_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Type 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 Type forNumber(int value) { switch (value) { case 0: return TYPE_UNSPECIFIED; case 1: return TYPE_WEB_ASSEMBLY; case 2: return TYPE_TRINO_JAR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Type> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Type findValueByNumber(int number) { return Type.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 io.substrait.proto.FunctionSignature.Implementation.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); public static Type 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 Type(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:substrait.FunctionSignature.Implementation.Type) } public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; /** * .substrait.FunctionSignature.Implementation.Type type = 1; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .substrait.FunctionSignature.Implementation.Type type = 1; * @return The type. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Implementation.Type getType() { io.substrait.proto.FunctionSignature.Implementation.Type result = io.substrait.proto.FunctionSignature.Implementation.Type.forNumber(type_); return result == null ? io.substrait.proto.FunctionSignature.Implementation.Type.UNRECOGNIZED : result; } public static final int URI_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** * string uri = 2; * @return The uri. */ @java.lang.Override public java.lang.String getUri() { java.lang.Object ref = uri_; 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(); uri_ = s; return s; } } /** * string uri = 2; * @return The bytes for uri. */ @java.lang.Override public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uri_ = 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_ != io.substrait.proto.FunctionSignature.Implementation.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (type_ != io.substrait.proto.FunctionSignature.Implementation.Type.TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); } 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 io.substrait.proto.FunctionSignature.Implementation)) { return super.equals(obj); } io.substrait.proto.FunctionSignature.Implementation other = (io.substrait.proto.FunctionSignature.Implementation) obj; if (type_ != other.type_) return false; if (!getUri() .equals(other.getUri())) 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) + URI_FIELD_NUMBER; hash = (53 * hash) + getUri().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.substrait.proto.FunctionSignature.Implementation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Implementation parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Implementation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Implementation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Implementation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Implementation parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Implementation parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Implementation 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 io.substrait.proto.FunctionSignature.Implementation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Implementation 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 io.substrait.proto.FunctionSignature.Implementation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Implementation 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(io.substrait.proto.FunctionSignature.Implementation 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 substrait.FunctionSignature.Implementation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:substrait.FunctionSignature.Implementation) io.substrait.proto.FunctionSignature.ImplementationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Implementation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Implementation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Implementation.class, io.substrait.proto.FunctionSignature.Implementation.Builder.class); } // Construct using io.substrait.proto.FunctionSignature.Implementation.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; uri_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Implementation_descriptor; } @java.lang.Override public io.substrait.proto.FunctionSignature.Implementation getDefaultInstanceForType() { return io.substrait.proto.FunctionSignature.Implementation.getDefaultInstance(); } @java.lang.Override public io.substrait.proto.FunctionSignature.Implementation build() { io.substrait.proto.FunctionSignature.Implementation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.substrait.proto.FunctionSignature.Implementation buildPartial() { io.substrait.proto.FunctionSignature.Implementation result = new io.substrait.proto.FunctionSignature.Implementation(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.substrait.proto.FunctionSignature.Implementation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.type_ = type_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.uri_ = uri_; } } @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 io.substrait.proto.FunctionSignature.Implementation) { return mergeFrom((io.substrait.proto.FunctionSignature.Implementation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.substrait.proto.FunctionSignature.Implementation other) { if (other == io.substrait.proto.FunctionSignature.Implementation.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (!other.getUri().isEmpty()) { uri_ = other.uri_; 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: { uri_ = 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; /** * .substrait.FunctionSignature.Implementation.Type type = 1; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .substrait.FunctionSignature.Implementation.Type type = 1; * @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; } /** * .substrait.FunctionSignature.Implementation.Type type = 1; * @return The type. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Implementation.Type getType() { io.substrait.proto.FunctionSignature.Implementation.Type result = io.substrait.proto.FunctionSignature.Implementation.Type.forNumber(type_); return result == null ? io.substrait.proto.FunctionSignature.Implementation.Type.UNRECOGNIZED : result; } /** * .substrait.FunctionSignature.Implementation.Type type = 1; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(io.substrait.proto.FunctionSignature.Implementation.Type value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value.getNumber(); onChanged(); return this; } /** * .substrait.FunctionSignature.Implementation.Type type = 1; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; onChanged(); return this; } private java.lang.Object uri_ = ""; /** * string uri = 2; * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } else { return (java.lang.String) ref; } } /** * string uri = 2; * @return The bytes for uri. */ public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string uri = 2; * @param value The uri to set. * @return This builder for chaining. */ public Builder setUri( java.lang.String value) { if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string uri = 2; * @return This builder for chaining. */ public Builder clearUri() { uri_ = getDefaultInstance().getUri(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string uri = 2; * @param value The bytes for uri to set. * @return This builder for chaining. */ public Builder setUriBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = 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:substrait.FunctionSignature.Implementation) } // @@protoc_insertion_point(class_scope:substrait.FunctionSignature.Implementation) private static final io.substrait.proto.FunctionSignature.Implementation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.substrait.proto.FunctionSignature.Implementation(); } public static io.substrait.proto.FunctionSignature.Implementation getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Implementation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.substrait.proto.FunctionSignature.Implementation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ArgumentOrBuilder extends // @@protoc_insertion_point(interface_extends:substrait.FunctionSignature.Argument) com.google.protobuf.MessageOrBuilder { /** * string name = 1; * @return The name. */ java.lang.String getName(); /** * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; * @return Whether the value field is set. */ boolean hasValue(); /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; * @return The value. */ io.substrait.proto.FunctionSignature.Argument.ValueArgument getValue(); /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; */ io.substrait.proto.FunctionSignature.Argument.ValueArgumentOrBuilder getValueOrBuilder(); /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; * @return Whether the type field is set. */ boolean hasType(); /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; * @return The type. */ io.substrait.proto.FunctionSignature.Argument.TypeArgument getType(); /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; */ io.substrait.proto.FunctionSignature.Argument.TypeArgumentOrBuilder getTypeOrBuilder(); /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; * @return Whether the enum field is set. */ boolean hasEnum(); /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; * @return The enum. */ io.substrait.proto.FunctionSignature.Argument.EnumArgument getEnum(); /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; */ io.substrait.proto.FunctionSignature.Argument.EnumArgumentOrBuilder getEnumOrBuilder(); io.substrait.proto.FunctionSignature.Argument.ArgumentKindCase getArgumentKindCase(); } /** * Protobuf type {@code substrait.FunctionSignature.Argument} */ public static final class Argument extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:substrait.FunctionSignature.Argument) ArgumentOrBuilder { private static final long serialVersionUID = 0L; // Use Argument.newBuilder() to construct. private Argument(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Argument() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Argument(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Argument.class, io.substrait.proto.FunctionSignature.Argument.Builder.class); } public interface ValueArgumentOrBuilder extends // @@protoc_insertion_point(interface_extends:substrait.FunctionSignature.Argument.ValueArgument) com.google.protobuf.MessageOrBuilder { /** * .substrait.ParameterizedType type = 1; * @return Whether the type field is set. */ boolean hasType(); /** * .substrait.ParameterizedType type = 1; * @return The type. */ io.substrait.proto.ParameterizedType getType(); /** * .substrait.ParameterizedType type = 1; */ io.substrait.proto.ParameterizedTypeOrBuilder getTypeOrBuilder(); /** * bool constant = 2; * @return The constant. */ boolean getConstant(); } /** * Protobuf type {@code substrait.FunctionSignature.Argument.ValueArgument} */ public static final class ValueArgument extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:substrait.FunctionSignature.Argument.ValueArgument) ValueArgumentOrBuilder { private static final long serialVersionUID = 0L; // Use ValueArgument.newBuilder() to construct. private ValueArgument(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ValueArgument() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ValueArgument(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_ValueArgument_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_ValueArgument_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Argument.ValueArgument.class, io.substrait.proto.FunctionSignature.Argument.ValueArgument.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private io.substrait.proto.ParameterizedType type_; /** * .substrait.ParameterizedType type = 1; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * .substrait.ParameterizedType type = 1; * @return The type. */ @java.lang.Override public io.substrait.proto.ParameterizedType getType() { return type_ == null ? io.substrait.proto.ParameterizedType.getDefaultInstance() : type_; } /** * .substrait.ParameterizedType type = 1; */ @java.lang.Override public io.substrait.proto.ParameterizedTypeOrBuilder getTypeOrBuilder() { return type_ == null ? io.substrait.proto.ParameterizedType.getDefaultInstance() : type_; } public static final int CONSTANT_FIELD_NUMBER = 2; private boolean constant_ = false; /** * bool constant = 2; * @return The constant. */ @java.lang.Override public boolean getConstant() { return constant_; } 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, getType()); } if (constant_ != false) { output.writeBool(2, constant_); } 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, getType()); } if (constant_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, constant_); } 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 io.substrait.proto.FunctionSignature.Argument.ValueArgument)) { return super.equals(obj); } io.substrait.proto.FunctionSignature.Argument.ValueArgument other = (io.substrait.proto.FunctionSignature.Argument.ValueArgument) obj; if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) return false; } if (getConstant() != other.getConstant()) 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 (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } hash = (37 * hash) + CONSTANT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getConstant()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.substrait.proto.FunctionSignature.Argument.ValueArgument parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Argument.ValueArgument parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Argument.ValueArgument parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Argument.ValueArgument parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Argument.ValueArgument parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Argument.ValueArgument parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Argument.ValueArgument parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Argument.ValueArgument 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 io.substrait.proto.FunctionSignature.Argument.ValueArgument parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Argument.ValueArgument 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 io.substrait.proto.FunctionSignature.Argument.ValueArgument parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Argument.ValueArgument 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(io.substrait.proto.FunctionSignature.Argument.ValueArgument 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 substrait.FunctionSignature.Argument.ValueArgument} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:substrait.FunctionSignature.Argument.ValueArgument) io.substrait.proto.FunctionSignature.Argument.ValueArgumentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_ValueArgument_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_ValueArgument_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Argument.ValueArgument.class, io.substrait.proto.FunctionSignature.Argument.ValueArgument.Builder.class); } // Construct using io.substrait.proto.FunctionSignature.Argument.ValueArgument.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTypeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; type_ = null; if (typeBuilder_ != null) { typeBuilder_.dispose(); typeBuilder_ = null; } constant_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_ValueArgument_descriptor; } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.ValueArgument getDefaultInstanceForType() { return io.substrait.proto.FunctionSignature.Argument.ValueArgument.getDefaultInstance(); } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.ValueArgument build() { io.substrait.proto.FunctionSignature.Argument.ValueArgument result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.ValueArgument buildPartial() { io.substrait.proto.FunctionSignature.Argument.ValueArgument result = new io.substrait.proto.FunctionSignature.Argument.ValueArgument(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.substrait.proto.FunctionSignature.Argument.ValueArgument result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.type_ = typeBuilder_ == null ? type_ : typeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.constant_ = constant_; } 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 io.substrait.proto.FunctionSignature.Argument.ValueArgument) { return mergeFrom((io.substrait.proto.FunctionSignature.Argument.ValueArgument)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.substrait.proto.FunctionSignature.Argument.ValueArgument other) { if (other == io.substrait.proto.FunctionSignature.Argument.ValueArgument.getDefaultInstance()) return this; if (other.hasType()) { mergeType(other.getType()); } if (other.getConstant() != false) { setConstant(other.getConstant()); } 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( getTypeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { constant_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.substrait.proto.ParameterizedType type_; private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.ParameterizedType, io.substrait.proto.ParameterizedType.Builder, io.substrait.proto.ParameterizedTypeOrBuilder> typeBuilder_; /** * .substrait.ParameterizedType type = 1; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * .substrait.ParameterizedType type = 1; * @return The type. */ public io.substrait.proto.ParameterizedType getType() { if (typeBuilder_ == null) { return type_ == null ? io.substrait.proto.ParameterizedType.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** * .substrait.ParameterizedType type = 1; */ public Builder setType(io.substrait.proto.ParameterizedType value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; } else { typeBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .substrait.ParameterizedType type = 1; */ public Builder setType( io.substrait.proto.ParameterizedType.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); } else { typeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .substrait.ParameterizedType type = 1; */ public Builder mergeType(io.substrait.proto.ParameterizedType value) { if (typeBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && type_ != null && type_ != io.substrait.proto.ParameterizedType.getDefaultInstance()) { getTypeBuilder().mergeFrom(value); } else { type_ = value; } } else { typeBuilder_.mergeFrom(value); } if (type_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .substrait.ParameterizedType type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = null; if (typeBuilder_ != null) { typeBuilder_.dispose(); typeBuilder_ = null; } onChanged(); return this; } /** * .substrait.ParameterizedType type = 1; */ public io.substrait.proto.ParameterizedType.Builder getTypeBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTypeFieldBuilder().getBuilder(); } /** * .substrait.ParameterizedType type = 1; */ public io.substrait.proto.ParameterizedTypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { return type_ == null ? io.substrait.proto.ParameterizedType.getDefaultInstance() : type_; } } /** * .substrait.ParameterizedType type = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.ParameterizedType, io.substrait.proto.ParameterizedType.Builder, io.substrait.proto.ParameterizedTypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.ParameterizedType, io.substrait.proto.ParameterizedType.Builder, io.substrait.proto.ParameterizedTypeOrBuilder>( getType(), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } private boolean constant_ ; /** * bool constant = 2; * @return The constant. */ @java.lang.Override public boolean getConstant() { return constant_; } /** * bool constant = 2; * @param value The constant to set. * @return This builder for chaining. */ public Builder setConstant(boolean value) { constant_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * bool constant = 2; * @return This builder for chaining. */ public Builder clearConstant() { bitField0_ = (bitField0_ & ~0x00000002); constant_ = 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:substrait.FunctionSignature.Argument.ValueArgument) } // @@protoc_insertion_point(class_scope:substrait.FunctionSignature.Argument.ValueArgument) private static final io.substrait.proto.FunctionSignature.Argument.ValueArgument DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.substrait.proto.FunctionSignature.Argument.ValueArgument(); } public static io.substrait.proto.FunctionSignature.Argument.ValueArgument getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ValueArgument parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.ValueArgument getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TypeArgumentOrBuilder extends // @@protoc_insertion_point(interface_extends:substrait.FunctionSignature.Argument.TypeArgument) com.google.protobuf.MessageOrBuilder { /** * .substrait.ParameterizedType type = 1; * @return Whether the type field is set. */ boolean hasType(); /** * .substrait.ParameterizedType type = 1; * @return The type. */ io.substrait.proto.ParameterizedType getType(); /** * .substrait.ParameterizedType type = 1; */ io.substrait.proto.ParameterizedTypeOrBuilder getTypeOrBuilder(); } /** * Protobuf type {@code substrait.FunctionSignature.Argument.TypeArgument} */ public static final class TypeArgument extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:substrait.FunctionSignature.Argument.TypeArgument) TypeArgumentOrBuilder { private static final long serialVersionUID = 0L; // Use TypeArgument.newBuilder() to construct. private TypeArgument(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TypeArgument() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TypeArgument(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_TypeArgument_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_TypeArgument_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Argument.TypeArgument.class, io.substrait.proto.FunctionSignature.Argument.TypeArgument.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private io.substrait.proto.ParameterizedType type_; /** * .substrait.ParameterizedType type = 1; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * .substrait.ParameterizedType type = 1; * @return The type. */ @java.lang.Override public io.substrait.proto.ParameterizedType getType() { return type_ == null ? io.substrait.proto.ParameterizedType.getDefaultInstance() : type_; } /** * .substrait.ParameterizedType type = 1; */ @java.lang.Override public io.substrait.proto.ParameterizedTypeOrBuilder getTypeOrBuilder() { return type_ == null ? io.substrait.proto.ParameterizedType.getDefaultInstance() : type_; } 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, getType()); } 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, getType()); } 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 io.substrait.proto.FunctionSignature.Argument.TypeArgument)) { return super.equals(obj); } io.substrait.proto.FunctionSignature.Argument.TypeArgument other = (io.substrait.proto.FunctionSignature.Argument.TypeArgument) obj; if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) 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 (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.substrait.proto.FunctionSignature.Argument.TypeArgument parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Argument.TypeArgument parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Argument.TypeArgument parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Argument.TypeArgument parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Argument.TypeArgument parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Argument.TypeArgument parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Argument.TypeArgument parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Argument.TypeArgument 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 io.substrait.proto.FunctionSignature.Argument.TypeArgument parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Argument.TypeArgument 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 io.substrait.proto.FunctionSignature.Argument.TypeArgument parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Argument.TypeArgument 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(io.substrait.proto.FunctionSignature.Argument.TypeArgument 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 substrait.FunctionSignature.Argument.TypeArgument} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:substrait.FunctionSignature.Argument.TypeArgument) io.substrait.proto.FunctionSignature.Argument.TypeArgumentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_TypeArgument_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_TypeArgument_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Argument.TypeArgument.class, io.substrait.proto.FunctionSignature.Argument.TypeArgument.Builder.class); } // Construct using io.substrait.proto.FunctionSignature.Argument.TypeArgument.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTypeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; type_ = null; if (typeBuilder_ != null) { typeBuilder_.dispose(); typeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_TypeArgument_descriptor; } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.TypeArgument getDefaultInstanceForType() { return io.substrait.proto.FunctionSignature.Argument.TypeArgument.getDefaultInstance(); } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.TypeArgument build() { io.substrait.proto.FunctionSignature.Argument.TypeArgument result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.TypeArgument buildPartial() { io.substrait.proto.FunctionSignature.Argument.TypeArgument result = new io.substrait.proto.FunctionSignature.Argument.TypeArgument(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.substrait.proto.FunctionSignature.Argument.TypeArgument result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.type_ = typeBuilder_ == null ? type_ : typeBuilder_.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 io.substrait.proto.FunctionSignature.Argument.TypeArgument) { return mergeFrom((io.substrait.proto.FunctionSignature.Argument.TypeArgument)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.substrait.proto.FunctionSignature.Argument.TypeArgument other) { if (other == io.substrait.proto.FunctionSignature.Argument.TypeArgument.getDefaultInstance()) return this; if (other.hasType()) { mergeType(other.getType()); } 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( getTypeFieldBuilder().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 io.substrait.proto.ParameterizedType type_; private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.ParameterizedType, io.substrait.proto.ParameterizedType.Builder, io.substrait.proto.ParameterizedTypeOrBuilder> typeBuilder_; /** * .substrait.ParameterizedType type = 1; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * .substrait.ParameterizedType type = 1; * @return The type. */ public io.substrait.proto.ParameterizedType getType() { if (typeBuilder_ == null) { return type_ == null ? io.substrait.proto.ParameterizedType.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** * .substrait.ParameterizedType type = 1; */ public Builder setType(io.substrait.proto.ParameterizedType value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; } else { typeBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .substrait.ParameterizedType type = 1; */ public Builder setType( io.substrait.proto.ParameterizedType.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); } else { typeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .substrait.ParameterizedType type = 1; */ public Builder mergeType(io.substrait.proto.ParameterizedType value) { if (typeBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && type_ != null && type_ != io.substrait.proto.ParameterizedType.getDefaultInstance()) { getTypeBuilder().mergeFrom(value); } else { type_ = value; } } else { typeBuilder_.mergeFrom(value); } if (type_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .substrait.ParameterizedType type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = null; if (typeBuilder_ != null) { typeBuilder_.dispose(); typeBuilder_ = null; } onChanged(); return this; } /** * .substrait.ParameterizedType type = 1; */ public io.substrait.proto.ParameterizedType.Builder getTypeBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTypeFieldBuilder().getBuilder(); } /** * .substrait.ParameterizedType type = 1; */ public io.substrait.proto.ParameterizedTypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { return type_ == null ? io.substrait.proto.ParameterizedType.getDefaultInstance() : type_; } } /** * .substrait.ParameterizedType type = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.ParameterizedType, io.substrait.proto.ParameterizedType.Builder, io.substrait.proto.ParameterizedTypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.ParameterizedType, io.substrait.proto.ParameterizedType.Builder, io.substrait.proto.ParameterizedTypeOrBuilder>( getType(), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } @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:substrait.FunctionSignature.Argument.TypeArgument) } // @@protoc_insertion_point(class_scope:substrait.FunctionSignature.Argument.TypeArgument) private static final io.substrait.proto.FunctionSignature.Argument.TypeArgument DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.substrait.proto.FunctionSignature.Argument.TypeArgument(); } public static io.substrait.proto.FunctionSignature.Argument.TypeArgument getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TypeArgument parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.TypeArgument getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EnumArgumentOrBuilder extends // @@protoc_insertion_point(interface_extends:substrait.FunctionSignature.Argument.EnumArgument) com.google.protobuf.MessageOrBuilder { /** * repeated string options = 1; * @return A list containing the options. */ java.util.List getOptionsList(); /** * repeated string options = 1; * @return The count of options. */ int getOptionsCount(); /** * repeated string options = 1; * @param index The index of the element to return. * @return The options at the given index. */ java.lang.String getOptions(int index); /** * repeated string options = 1; * @param index The index of the value to return. * @return The bytes of the options at the given index. */ com.google.protobuf.ByteString getOptionsBytes(int index); /** * bool optional = 2; * @return The optional. */ boolean getOptional(); } /** * Protobuf type {@code substrait.FunctionSignature.Argument.EnumArgument} */ public static final class EnumArgument extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:substrait.FunctionSignature.Argument.EnumArgument) EnumArgumentOrBuilder { private static final long serialVersionUID = 0L; // Use EnumArgument.newBuilder() to construct. private EnumArgument(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EnumArgument() { options_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EnumArgument(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_EnumArgument_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_EnumArgument_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Argument.EnumArgument.class, io.substrait.proto.FunctionSignature.Argument.EnumArgument.Builder.class); } public static final int OPTIONS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList options_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string options = 1; * @return A list containing the options. */ public com.google.protobuf.ProtocolStringList getOptionsList() { return options_; } /** * repeated string options = 1; * @return The count of options. */ public int getOptionsCount() { return options_.size(); } /** * repeated string options = 1; * @param index The index of the element to return. * @return The options at the given index. */ public java.lang.String getOptions(int index) { return options_.get(index); } /** * repeated string options = 1; * @param index The index of the value to return. * @return The bytes of the options at the given index. */ public com.google.protobuf.ByteString getOptionsBytes(int index) { return options_.getByteString(index); } public static final int OPTIONAL_FIELD_NUMBER = 2; private boolean optional_ = false; /** * bool optional = 2; * @return The optional. */ @java.lang.Override public boolean getOptional() { return optional_; } 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 < options_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, options_.getRaw(i)); } if (optional_ != false) { output.writeBool(2, optional_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < options_.size(); i++) { dataSize += computeStringSizeNoTag(options_.getRaw(i)); } size += dataSize; size += 1 * getOptionsList().size(); } if (optional_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, optional_); } 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 io.substrait.proto.FunctionSignature.Argument.EnumArgument)) { return super.equals(obj); } io.substrait.proto.FunctionSignature.Argument.EnumArgument other = (io.substrait.proto.FunctionSignature.Argument.EnumArgument) obj; if (!getOptionsList() .equals(other.getOptionsList())) return false; if (getOptional() != other.getOptional()) 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 (getOptionsCount() > 0) { hash = (37 * hash) + OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getOptionsList().hashCode(); } hash = (37 * hash) + OPTIONAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOptional()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.substrait.proto.FunctionSignature.Argument.EnumArgument parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Argument.EnumArgument parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Argument.EnumArgument parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Argument.EnumArgument parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Argument.EnumArgument parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Argument.EnumArgument parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Argument.EnumArgument parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Argument.EnumArgument 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 io.substrait.proto.FunctionSignature.Argument.EnumArgument parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Argument.EnumArgument 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 io.substrait.proto.FunctionSignature.Argument.EnumArgument parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Argument.EnumArgument 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(io.substrait.proto.FunctionSignature.Argument.EnumArgument 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 substrait.FunctionSignature.Argument.EnumArgument} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:substrait.FunctionSignature.Argument.EnumArgument) io.substrait.proto.FunctionSignature.Argument.EnumArgumentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_EnumArgument_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_EnumArgument_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Argument.EnumArgument.class, io.substrait.proto.FunctionSignature.Argument.EnumArgument.Builder.class); } // Construct using io.substrait.proto.FunctionSignature.Argument.EnumArgument.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; options_ = com.google.protobuf.LazyStringArrayList.emptyList(); optional_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_EnumArgument_descriptor; } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.EnumArgument getDefaultInstanceForType() { return io.substrait.proto.FunctionSignature.Argument.EnumArgument.getDefaultInstance(); } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.EnumArgument build() { io.substrait.proto.FunctionSignature.Argument.EnumArgument result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.EnumArgument buildPartial() { io.substrait.proto.FunctionSignature.Argument.EnumArgument result = new io.substrait.proto.FunctionSignature.Argument.EnumArgument(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.substrait.proto.FunctionSignature.Argument.EnumArgument result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { options_.makeImmutable(); result.options_ = options_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.optional_ = optional_; } } @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 io.substrait.proto.FunctionSignature.Argument.EnumArgument) { return mergeFrom((io.substrait.proto.FunctionSignature.Argument.EnumArgument)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.substrait.proto.FunctionSignature.Argument.EnumArgument other) { if (other == io.substrait.proto.FunctionSignature.Argument.EnumArgument.getDefaultInstance()) return this; if (!other.options_.isEmpty()) { if (options_.isEmpty()) { options_ = other.options_; bitField0_ |= 0x00000001; } else { ensureOptionsIsMutable(); options_.addAll(other.options_); } onChanged(); } if (other.getOptional() != false) { setOptional(other.getOptional()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); ensureOptionsIsMutable(); options_.add(s); break; } // case 10 case 16: { optional_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.LazyStringArrayList options_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureOptionsIsMutable() { if (!options_.isModifiable()) { options_ = new com.google.protobuf.LazyStringArrayList(options_); } bitField0_ |= 0x00000001; } /** * repeated string options = 1; * @return A list containing the options. */ public com.google.protobuf.ProtocolStringList getOptionsList() { options_.makeImmutable(); return options_; } /** * repeated string options = 1; * @return The count of options. */ public int getOptionsCount() { return options_.size(); } /** * repeated string options = 1; * @param index The index of the element to return. * @return The options at the given index. */ public java.lang.String getOptions(int index) { return options_.get(index); } /** * repeated string options = 1; * @param index The index of the value to return. * @return The bytes of the options at the given index. */ public com.google.protobuf.ByteString getOptionsBytes(int index) { return options_.getByteString(index); } /** * repeated string options = 1; * @param index The index to set the value at. * @param value The options to set. * @return This builder for chaining. */ public Builder setOptions( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureOptionsIsMutable(); options_.set(index, value); bitField0_ |= 0x00000001; onChanged(); return this; } /** * repeated string options = 1; * @param value The options to add. * @return This builder for chaining. */ public Builder addOptions( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureOptionsIsMutable(); options_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } /** * repeated string options = 1; * @param values The options to add. * @return This builder for chaining. */ public Builder addAllOptions( java.lang.Iterable values) { ensureOptionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, options_); bitField0_ |= 0x00000001; onChanged(); return this; } /** * repeated string options = 1; * @return This builder for chaining. */ public Builder clearOptions() { options_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** * repeated string options = 1; * @param value The bytes of the options to add. * @return This builder for chaining. */ public Builder addOptionsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureOptionsIsMutable(); options_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } private boolean optional_ ; /** * bool optional = 2; * @return The optional. */ @java.lang.Override public boolean getOptional() { return optional_; } /** * bool optional = 2; * @param value The optional to set. * @return This builder for chaining. */ public Builder setOptional(boolean value) { optional_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * bool optional = 2; * @return This builder for chaining. */ public Builder clearOptional() { bitField0_ = (bitField0_ & ~0x00000002); optional_ = 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:substrait.FunctionSignature.Argument.EnumArgument) } // @@protoc_insertion_point(class_scope:substrait.FunctionSignature.Argument.EnumArgument) private static final io.substrait.proto.FunctionSignature.Argument.EnumArgument DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.substrait.proto.FunctionSignature.Argument.EnumArgument(); } public static io.substrait.proto.FunctionSignature.Argument.EnumArgument getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EnumArgument parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.EnumArgument getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int argumentKindCase_ = 0; @SuppressWarnings("serial") private java.lang.Object argumentKind_; public enum ArgumentKindCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUE(2), TYPE(3), ENUM(4), ARGUMENTKIND_NOT_SET(0); private final int value; private ArgumentKindCase(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 ArgumentKindCase valueOf(int value) { return forNumber(value); } public static ArgumentKindCase forNumber(int value) { switch (value) { case 2: return VALUE; case 3: return TYPE; case 4: return ENUM; case 0: return ARGUMENTKIND_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ArgumentKindCase getArgumentKindCase() { return ArgumentKindCase.forNumber( argumentKindCase_); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * string name = 1; * @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; } } /** * string name = 1; * @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 VALUE_FIELD_NUMBER = 2; /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return argumentKindCase_ == 2; } /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; * @return The value. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.ValueArgument getValue() { if (argumentKindCase_ == 2) { return (io.substrait.proto.FunctionSignature.Argument.ValueArgument) argumentKind_; } return io.substrait.proto.FunctionSignature.Argument.ValueArgument.getDefaultInstance(); } /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.ValueArgumentOrBuilder getValueOrBuilder() { if (argumentKindCase_ == 2) { return (io.substrait.proto.FunctionSignature.Argument.ValueArgument) argumentKind_; } return io.substrait.proto.FunctionSignature.Argument.ValueArgument.getDefaultInstance(); } public static final int TYPE_FIELD_NUMBER = 3; /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return argumentKindCase_ == 3; } /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; * @return The type. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.TypeArgument getType() { if (argumentKindCase_ == 3) { return (io.substrait.proto.FunctionSignature.Argument.TypeArgument) argumentKind_; } return io.substrait.proto.FunctionSignature.Argument.TypeArgument.getDefaultInstance(); } /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.TypeArgumentOrBuilder getTypeOrBuilder() { if (argumentKindCase_ == 3) { return (io.substrait.proto.FunctionSignature.Argument.TypeArgument) argumentKind_; } return io.substrait.proto.FunctionSignature.Argument.TypeArgument.getDefaultInstance(); } public static final int ENUM_FIELD_NUMBER = 4; /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; * @return Whether the enum field is set. */ @java.lang.Override public boolean hasEnum() { return argumentKindCase_ == 4; } /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; * @return The enum. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.EnumArgument getEnum() { if (argumentKindCase_ == 4) { return (io.substrait.proto.FunctionSignature.Argument.EnumArgument) argumentKind_; } return io.substrait.proto.FunctionSignature.Argument.EnumArgument.getDefaultInstance(); } /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.EnumArgumentOrBuilder getEnumOrBuilder() { if (argumentKindCase_ == 4) { return (io.substrait.proto.FunctionSignature.Argument.EnumArgument) argumentKind_; } return io.substrait.proto.FunctionSignature.Argument.EnumArgument.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (argumentKindCase_ == 2) { output.writeMessage(2, (io.substrait.proto.FunctionSignature.Argument.ValueArgument) argumentKind_); } if (argumentKindCase_ == 3) { output.writeMessage(3, (io.substrait.proto.FunctionSignature.Argument.TypeArgument) argumentKind_); } if (argumentKindCase_ == 4) { output.writeMessage(4, (io.substrait.proto.FunctionSignature.Argument.EnumArgument) argumentKind_); } 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 (argumentKindCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (io.substrait.proto.FunctionSignature.Argument.ValueArgument) argumentKind_); } if (argumentKindCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (io.substrait.proto.FunctionSignature.Argument.TypeArgument) argumentKind_); } if (argumentKindCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (io.substrait.proto.FunctionSignature.Argument.EnumArgument) argumentKind_); } 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 io.substrait.proto.FunctionSignature.Argument)) { return super.equals(obj); } io.substrait.proto.FunctionSignature.Argument other = (io.substrait.proto.FunctionSignature.Argument) obj; if (!getName() .equals(other.getName())) return false; if (!getArgumentKindCase().equals(other.getArgumentKindCase())) return false; switch (argumentKindCase_) { case 2: if (!getValue() .equals(other.getValue())) return false; break; case 3: if (!getType() .equals(other.getType())) return false; break; case 4: if (!getEnum() .equals(other.getEnum())) 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) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); switch (argumentKindCase_) { case 2: hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); break; case 3: hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); break; case 4: hash = (37 * hash) + ENUM_FIELD_NUMBER; hash = (53 * hash) + getEnum().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.substrait.proto.FunctionSignature.Argument parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Argument parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Argument parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Argument parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Argument parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature.Argument parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature.Argument parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Argument 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 io.substrait.proto.FunctionSignature.Argument parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Argument 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 io.substrait.proto.FunctionSignature.Argument parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature.Argument 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(io.substrait.proto.FunctionSignature.Argument 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 substrait.FunctionSignature.Argument} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:substrait.FunctionSignature.Argument) io.substrait.proto.FunctionSignature.ArgumentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.Argument.class, io.substrait.proto.FunctionSignature.Argument.Builder.class); } // Construct using io.substrait.proto.FunctionSignature.Argument.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; if (valueBuilder_ != null) { valueBuilder_.clear(); } if (typeBuilder_ != null) { typeBuilder_.clear(); } if (enumBuilder_ != null) { enumBuilder_.clear(); } argumentKindCase_ = 0; argumentKind_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_Argument_descriptor; } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument getDefaultInstanceForType() { return io.substrait.proto.FunctionSignature.Argument.getDefaultInstance(); } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument build() { io.substrait.proto.FunctionSignature.Argument result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument buildPartial() { io.substrait.proto.FunctionSignature.Argument result = new io.substrait.proto.FunctionSignature.Argument(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(io.substrait.proto.FunctionSignature.Argument result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } } private void buildPartialOneofs(io.substrait.proto.FunctionSignature.Argument result) { result.argumentKindCase_ = argumentKindCase_; result.argumentKind_ = this.argumentKind_; if (argumentKindCase_ == 2 && valueBuilder_ != null) { result.argumentKind_ = valueBuilder_.build(); } if (argumentKindCase_ == 3 && typeBuilder_ != null) { result.argumentKind_ = typeBuilder_.build(); } if (argumentKindCase_ == 4 && enumBuilder_ != null) { result.argumentKind_ = enumBuilder_.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 io.substrait.proto.FunctionSignature.Argument) { return mergeFrom((io.substrait.proto.FunctionSignature.Argument)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.substrait.proto.FunctionSignature.Argument other) { if (other == io.substrait.proto.FunctionSignature.Argument.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getArgumentKindCase()) { case VALUE: { mergeValue(other.getValue()); break; } case TYPE: { mergeType(other.getType()); break; } case ENUM: { mergeEnum(other.getEnum()); break; } case ARGUMENTKIND_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: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getValueFieldBuilder().getBuilder(), extensionRegistry); argumentKindCase_ = 2; break; } // case 18 case 26: { input.readMessage( getTypeFieldBuilder().getBuilder(), extensionRegistry); argumentKindCase_ = 3; break; } // case 26 case 34: { input.readMessage( getEnumFieldBuilder().getBuilder(), extensionRegistry); argumentKindCase_ = 4; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int argumentKindCase_ = 0; private java.lang.Object argumentKind_; public ArgumentKindCase getArgumentKindCase() { return ArgumentKindCase.forNumber( argumentKindCase_); } public Builder clearArgumentKind() { argumentKindCase_ = 0; argumentKind_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * string name = 1; * @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; } } /** * string name = 1; * @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; } } /** * string name = 1; * @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; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string name = 1; * @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.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument.ValueArgument, io.substrait.proto.FunctionSignature.Argument.ValueArgument.Builder, io.substrait.proto.FunctionSignature.Argument.ValueArgumentOrBuilder> valueBuilder_; /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return argumentKindCase_ == 2; } /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; * @return The value. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.ValueArgument getValue() { if (valueBuilder_ == null) { if (argumentKindCase_ == 2) { return (io.substrait.proto.FunctionSignature.Argument.ValueArgument) argumentKind_; } return io.substrait.proto.FunctionSignature.Argument.ValueArgument.getDefaultInstance(); } else { if (argumentKindCase_ == 2) { return valueBuilder_.getMessage(); } return io.substrait.proto.FunctionSignature.Argument.ValueArgument.getDefaultInstance(); } } /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; */ public Builder setValue(io.substrait.proto.FunctionSignature.Argument.ValueArgument value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } argumentKind_ = value; onChanged(); } else { valueBuilder_.setMessage(value); } argumentKindCase_ = 2; return this; } /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; */ public Builder setValue( io.substrait.proto.FunctionSignature.Argument.ValueArgument.Builder builderForValue) { if (valueBuilder_ == null) { argumentKind_ = builderForValue.build(); onChanged(); } else { valueBuilder_.setMessage(builderForValue.build()); } argumentKindCase_ = 2; return this; } /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; */ public Builder mergeValue(io.substrait.proto.FunctionSignature.Argument.ValueArgument value) { if (valueBuilder_ == null) { if (argumentKindCase_ == 2 && argumentKind_ != io.substrait.proto.FunctionSignature.Argument.ValueArgument.getDefaultInstance()) { argumentKind_ = io.substrait.proto.FunctionSignature.Argument.ValueArgument.newBuilder((io.substrait.proto.FunctionSignature.Argument.ValueArgument) argumentKind_) .mergeFrom(value).buildPartial(); } else { argumentKind_ = value; } onChanged(); } else { if (argumentKindCase_ == 2) { valueBuilder_.mergeFrom(value); } else { valueBuilder_.setMessage(value); } } argumentKindCase_ = 2; return this; } /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; */ public Builder clearValue() { if (valueBuilder_ == null) { if (argumentKindCase_ == 2) { argumentKindCase_ = 0; argumentKind_ = null; onChanged(); } } else { if (argumentKindCase_ == 2) { argumentKindCase_ = 0; argumentKind_ = null; } valueBuilder_.clear(); } return this; } /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; */ public io.substrait.proto.FunctionSignature.Argument.ValueArgument.Builder getValueBuilder() { return getValueFieldBuilder().getBuilder(); } /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.ValueArgumentOrBuilder getValueOrBuilder() { if ((argumentKindCase_ == 2) && (valueBuilder_ != null)) { return valueBuilder_.getMessageOrBuilder(); } else { if (argumentKindCase_ == 2) { return (io.substrait.proto.FunctionSignature.Argument.ValueArgument) argumentKind_; } return io.substrait.proto.FunctionSignature.Argument.ValueArgument.getDefaultInstance(); } } /** * .substrait.FunctionSignature.Argument.ValueArgument value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument.ValueArgument, io.substrait.proto.FunctionSignature.Argument.ValueArgument.Builder, io.substrait.proto.FunctionSignature.Argument.ValueArgumentOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { if (!(argumentKindCase_ == 2)) { argumentKind_ = io.substrait.proto.FunctionSignature.Argument.ValueArgument.getDefaultInstance(); } valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument.ValueArgument, io.substrait.proto.FunctionSignature.Argument.ValueArgument.Builder, io.substrait.proto.FunctionSignature.Argument.ValueArgumentOrBuilder>( (io.substrait.proto.FunctionSignature.Argument.ValueArgument) argumentKind_, getParentForChildren(), isClean()); argumentKind_ = null; } argumentKindCase_ = 2; onChanged(); return valueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument.TypeArgument, io.substrait.proto.FunctionSignature.Argument.TypeArgument.Builder, io.substrait.proto.FunctionSignature.Argument.TypeArgumentOrBuilder> typeBuilder_; /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return argumentKindCase_ == 3; } /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; * @return The type. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.TypeArgument getType() { if (typeBuilder_ == null) { if (argumentKindCase_ == 3) { return (io.substrait.proto.FunctionSignature.Argument.TypeArgument) argumentKind_; } return io.substrait.proto.FunctionSignature.Argument.TypeArgument.getDefaultInstance(); } else { if (argumentKindCase_ == 3) { return typeBuilder_.getMessage(); } return io.substrait.proto.FunctionSignature.Argument.TypeArgument.getDefaultInstance(); } } /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; */ public Builder setType(io.substrait.proto.FunctionSignature.Argument.TypeArgument value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } argumentKind_ = value; onChanged(); } else { typeBuilder_.setMessage(value); } argumentKindCase_ = 3; return this; } /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; */ public Builder setType( io.substrait.proto.FunctionSignature.Argument.TypeArgument.Builder builderForValue) { if (typeBuilder_ == null) { argumentKind_ = builderForValue.build(); onChanged(); } else { typeBuilder_.setMessage(builderForValue.build()); } argumentKindCase_ = 3; return this; } /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; */ public Builder mergeType(io.substrait.proto.FunctionSignature.Argument.TypeArgument value) { if (typeBuilder_ == null) { if (argumentKindCase_ == 3 && argumentKind_ != io.substrait.proto.FunctionSignature.Argument.TypeArgument.getDefaultInstance()) { argumentKind_ = io.substrait.proto.FunctionSignature.Argument.TypeArgument.newBuilder((io.substrait.proto.FunctionSignature.Argument.TypeArgument) argumentKind_) .mergeFrom(value).buildPartial(); } else { argumentKind_ = value; } onChanged(); } else { if (argumentKindCase_ == 3) { typeBuilder_.mergeFrom(value); } else { typeBuilder_.setMessage(value); } } argumentKindCase_ = 3; return this; } /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; */ public Builder clearType() { if (typeBuilder_ == null) { if (argumentKindCase_ == 3) { argumentKindCase_ = 0; argumentKind_ = null; onChanged(); } } else { if (argumentKindCase_ == 3) { argumentKindCase_ = 0; argumentKind_ = null; } typeBuilder_.clear(); } return this; } /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; */ public io.substrait.proto.FunctionSignature.Argument.TypeArgument.Builder getTypeBuilder() { return getTypeFieldBuilder().getBuilder(); } /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.TypeArgumentOrBuilder getTypeOrBuilder() { if ((argumentKindCase_ == 3) && (typeBuilder_ != null)) { return typeBuilder_.getMessageOrBuilder(); } else { if (argumentKindCase_ == 3) { return (io.substrait.proto.FunctionSignature.Argument.TypeArgument) argumentKind_; } return io.substrait.proto.FunctionSignature.Argument.TypeArgument.getDefaultInstance(); } } /** * .substrait.FunctionSignature.Argument.TypeArgument type = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument.TypeArgument, io.substrait.proto.FunctionSignature.Argument.TypeArgument.Builder, io.substrait.proto.FunctionSignature.Argument.TypeArgumentOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { if (!(argumentKindCase_ == 3)) { argumentKind_ = io.substrait.proto.FunctionSignature.Argument.TypeArgument.getDefaultInstance(); } typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument.TypeArgument, io.substrait.proto.FunctionSignature.Argument.TypeArgument.Builder, io.substrait.proto.FunctionSignature.Argument.TypeArgumentOrBuilder>( (io.substrait.proto.FunctionSignature.Argument.TypeArgument) argumentKind_, getParentForChildren(), isClean()); argumentKind_ = null; } argumentKindCase_ = 3; onChanged(); return typeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument.EnumArgument, io.substrait.proto.FunctionSignature.Argument.EnumArgument.Builder, io.substrait.proto.FunctionSignature.Argument.EnumArgumentOrBuilder> enumBuilder_; /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; * @return Whether the enum field is set. */ @java.lang.Override public boolean hasEnum() { return argumentKindCase_ == 4; } /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; * @return The enum. */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.EnumArgument getEnum() { if (enumBuilder_ == null) { if (argumentKindCase_ == 4) { return (io.substrait.proto.FunctionSignature.Argument.EnumArgument) argumentKind_; } return io.substrait.proto.FunctionSignature.Argument.EnumArgument.getDefaultInstance(); } else { if (argumentKindCase_ == 4) { return enumBuilder_.getMessage(); } return io.substrait.proto.FunctionSignature.Argument.EnumArgument.getDefaultInstance(); } } /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; */ public Builder setEnum(io.substrait.proto.FunctionSignature.Argument.EnumArgument value) { if (enumBuilder_ == null) { if (value == null) { throw new NullPointerException(); } argumentKind_ = value; onChanged(); } else { enumBuilder_.setMessage(value); } argumentKindCase_ = 4; return this; } /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; */ public Builder setEnum( io.substrait.proto.FunctionSignature.Argument.EnumArgument.Builder builderForValue) { if (enumBuilder_ == null) { argumentKind_ = builderForValue.build(); onChanged(); } else { enumBuilder_.setMessage(builderForValue.build()); } argumentKindCase_ = 4; return this; } /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; */ public Builder mergeEnum(io.substrait.proto.FunctionSignature.Argument.EnumArgument value) { if (enumBuilder_ == null) { if (argumentKindCase_ == 4 && argumentKind_ != io.substrait.proto.FunctionSignature.Argument.EnumArgument.getDefaultInstance()) { argumentKind_ = io.substrait.proto.FunctionSignature.Argument.EnumArgument.newBuilder((io.substrait.proto.FunctionSignature.Argument.EnumArgument) argumentKind_) .mergeFrom(value).buildPartial(); } else { argumentKind_ = value; } onChanged(); } else { if (argumentKindCase_ == 4) { enumBuilder_.mergeFrom(value); } else { enumBuilder_.setMessage(value); } } argumentKindCase_ = 4; return this; } /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; */ public Builder clearEnum() { if (enumBuilder_ == null) { if (argumentKindCase_ == 4) { argumentKindCase_ = 0; argumentKind_ = null; onChanged(); } } else { if (argumentKindCase_ == 4) { argumentKindCase_ = 0; argumentKind_ = null; } enumBuilder_.clear(); } return this; } /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; */ public io.substrait.proto.FunctionSignature.Argument.EnumArgument.Builder getEnumBuilder() { return getEnumFieldBuilder().getBuilder(); } /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; */ @java.lang.Override public io.substrait.proto.FunctionSignature.Argument.EnumArgumentOrBuilder getEnumOrBuilder() { if ((argumentKindCase_ == 4) && (enumBuilder_ != null)) { return enumBuilder_.getMessageOrBuilder(); } else { if (argumentKindCase_ == 4) { return (io.substrait.proto.FunctionSignature.Argument.EnumArgument) argumentKind_; } return io.substrait.proto.FunctionSignature.Argument.EnumArgument.getDefaultInstance(); } } /** * .substrait.FunctionSignature.Argument.EnumArgument enum = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument.EnumArgument, io.substrait.proto.FunctionSignature.Argument.EnumArgument.Builder, io.substrait.proto.FunctionSignature.Argument.EnumArgumentOrBuilder> getEnumFieldBuilder() { if (enumBuilder_ == null) { if (!(argumentKindCase_ == 4)) { argumentKind_ = io.substrait.proto.FunctionSignature.Argument.EnumArgument.getDefaultInstance(); } enumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.substrait.proto.FunctionSignature.Argument.EnumArgument, io.substrait.proto.FunctionSignature.Argument.EnumArgument.Builder, io.substrait.proto.FunctionSignature.Argument.EnumArgumentOrBuilder>( (io.substrait.proto.FunctionSignature.Argument.EnumArgument) argumentKind_, getParentForChildren(), isClean()); argumentKind_ = null; } argumentKindCase_ = 4; onChanged(); return enumBuilder_; } @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:substrait.FunctionSignature.Argument) } // @@protoc_insertion_point(class_scope:substrait.FunctionSignature.Argument) private static final io.substrait.proto.FunctionSignature.Argument DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.substrait.proto.FunctionSignature.Argument(); } public static io.substrait.proto.FunctionSignature.Argument getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Argument parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.substrait.proto.FunctionSignature.Argument getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.substrait.proto.FunctionSignature)) { return super.equals(obj); } io.substrait.proto.FunctionSignature other = (io.substrait.proto.FunctionSignature) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.substrait.proto.FunctionSignature parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.substrait.proto.FunctionSignature parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.substrait.proto.FunctionSignature parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature 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 io.substrait.proto.FunctionSignature parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature 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 io.substrait.proto.FunctionSignature parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.substrait.proto.FunctionSignature 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(io.substrait.proto.FunctionSignature 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; } /** *
   * List of function signatures available.
   * 
* * Protobuf type {@code substrait.FunctionSignature} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:substrait.FunctionSignature) io.substrait.proto.FunctionSignatureOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_fieldAccessorTable .ensureFieldAccessorsInitialized( io.substrait.proto.FunctionSignature.class, io.substrait.proto.FunctionSignature.Builder.class); } // Construct using io.substrait.proto.FunctionSignature.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.substrait.proto.Function.internal_static_substrait_FunctionSignature_descriptor; } @java.lang.Override public io.substrait.proto.FunctionSignature getDefaultInstanceForType() { return io.substrait.proto.FunctionSignature.getDefaultInstance(); } @java.lang.Override public io.substrait.proto.FunctionSignature build() { io.substrait.proto.FunctionSignature result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.substrait.proto.FunctionSignature buildPartial() { io.substrait.proto.FunctionSignature result = new io.substrait.proto.FunctionSignature(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.substrait.proto.FunctionSignature) { return mergeFrom((io.substrait.proto.FunctionSignature)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.substrait.proto.FunctionSignature other) { if (other == io.substrait.proto.FunctionSignature.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:substrait.FunctionSignature) } // @@protoc_insertion_point(class_scope:substrait.FunctionSignature) private static final io.substrait.proto.FunctionSignature DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.substrait.proto.FunctionSignature(); } public static io.substrait.proto.FunctionSignature getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FunctionSignature parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.substrait.proto.FunctionSignature getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy