cz.proto.FunctionTypeInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: data_type.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.FunctionTypeInfo}
*/
public final class FunctionTypeInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.FunctionTypeInfo)
FunctionTypeInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use FunctionTypeInfo.newBuilder() to construct.
private FunctionTypeInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FunctionTypeInfo() {
args_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FunctionTypeInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FunctionTypeInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
args_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
args_.add(
input.readMessage(cz.proto.DataType.parser(), extensionRegistry));
break;
}
case 18: {
cz.proto.DataType.Builder subBuilder = null;
if (returnType_ != null) {
subBuilder = returnType_.toBuilder();
}
returnType_ = input.readMessage(cz.proto.DataType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(returnType_);
returnType_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
args_ = java.util.Collections.unmodifiableList(args_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.DataTypeOuterClass.internal_static_cz_proto_FunctionTypeInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.DataTypeOuterClass.internal_static_cz_proto_FunctionTypeInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.FunctionTypeInfo.class, cz.proto.FunctionTypeInfo.Builder.class);
}
public static final int ARGS_FIELD_NUMBER = 1;
private java.util.List args_;
/**
* repeated .cz.proto.DataType args = 1;
*/
@java.lang.Override
public java.util.List getArgsList() {
return args_;
}
/**
* repeated .cz.proto.DataType args = 1;
*/
@java.lang.Override
public java.util.List extends cz.proto.DataTypeOrBuilder>
getArgsOrBuilderList() {
return args_;
}
/**
* repeated .cz.proto.DataType args = 1;
*/
@java.lang.Override
public int getArgsCount() {
return args_.size();
}
/**
* repeated .cz.proto.DataType args = 1;
*/
@java.lang.Override
public cz.proto.DataType getArgs(int index) {
return args_.get(index);
}
/**
* repeated .cz.proto.DataType args = 1;
*/
@java.lang.Override
public cz.proto.DataTypeOrBuilder getArgsOrBuilder(
int index) {
return args_.get(index);
}
public static final int RETURN_TYPE_FIELD_NUMBER = 2;
private cz.proto.DataType returnType_;
/**
* .cz.proto.DataType return_type = 2;
* @return Whether the returnType field is set.
*/
@java.lang.Override
public boolean hasReturnType() {
return returnType_ != null;
}
/**
* .cz.proto.DataType return_type = 2;
* @return The returnType.
*/
@java.lang.Override
public cz.proto.DataType getReturnType() {
return returnType_ == null ? cz.proto.DataType.getDefaultInstance() : returnType_;
}
/**
* .cz.proto.DataType return_type = 2;
*/
@java.lang.Override
public cz.proto.DataTypeOrBuilder getReturnTypeOrBuilder() {
return getReturnType();
}
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 < args_.size(); i++) {
output.writeMessage(1, args_.get(i));
}
if (returnType_ != null) {
output.writeMessage(2, getReturnType());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < args_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, args_.get(i));
}
if (returnType_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getReturnType());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.proto.FunctionTypeInfo)) {
return super.equals(obj);
}
cz.proto.FunctionTypeInfo other = (cz.proto.FunctionTypeInfo) obj;
if (!getArgsList()
.equals(other.getArgsList())) return false;
if (hasReturnType() != other.hasReturnType()) return false;
if (hasReturnType()) {
if (!getReturnType()
.equals(other.getReturnType())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getArgsCount() > 0) {
hash = (37 * hash) + ARGS_FIELD_NUMBER;
hash = (53 * hash) + getArgsList().hashCode();
}
if (hasReturnType()) {
hash = (37 * hash) + RETURN_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getReturnType().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.FunctionTypeInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.FunctionTypeInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.FunctionTypeInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.FunctionTypeInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.FunctionTypeInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.FunctionTypeInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.FunctionTypeInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.FunctionTypeInfo 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 cz.proto.FunctionTypeInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.FunctionTypeInfo 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 cz.proto.FunctionTypeInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.FunctionTypeInfo 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(cz.proto.FunctionTypeInfo 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 cz.proto.FunctionTypeInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.FunctionTypeInfo)
cz.proto.FunctionTypeInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.DataTypeOuterClass.internal_static_cz_proto_FunctionTypeInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.DataTypeOuterClass.internal_static_cz_proto_FunctionTypeInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.FunctionTypeInfo.class, cz.proto.FunctionTypeInfo.Builder.class);
}
// Construct using cz.proto.FunctionTypeInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getArgsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (argsBuilder_ == null) {
args_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
argsBuilder_.clear();
}
if (returnTypeBuilder_ == null) {
returnType_ = null;
} else {
returnType_ = null;
returnTypeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.DataTypeOuterClass.internal_static_cz_proto_FunctionTypeInfo_descriptor;
}
@java.lang.Override
public cz.proto.FunctionTypeInfo getDefaultInstanceForType() {
return cz.proto.FunctionTypeInfo.getDefaultInstance();
}
@java.lang.Override
public cz.proto.FunctionTypeInfo build() {
cz.proto.FunctionTypeInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.FunctionTypeInfo buildPartial() {
cz.proto.FunctionTypeInfo result = new cz.proto.FunctionTypeInfo(this);
int from_bitField0_ = bitField0_;
if (argsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
args_ = java.util.Collections.unmodifiableList(args_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.args_ = args_;
} else {
result.args_ = argsBuilder_.build();
}
if (returnTypeBuilder_ == null) {
result.returnType_ = returnType_;
} else {
result.returnType_ = returnTypeBuilder_.build();
}
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 cz.proto.FunctionTypeInfo) {
return mergeFrom((cz.proto.FunctionTypeInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.FunctionTypeInfo other) {
if (other == cz.proto.FunctionTypeInfo.getDefaultInstance()) return this;
if (argsBuilder_ == null) {
if (!other.args_.isEmpty()) {
if (args_.isEmpty()) {
args_ = other.args_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureArgsIsMutable();
args_.addAll(other.args_);
}
onChanged();
}
} else {
if (!other.args_.isEmpty()) {
if (argsBuilder_.isEmpty()) {
argsBuilder_.dispose();
argsBuilder_ = null;
args_ = other.args_;
bitField0_ = (bitField0_ & ~0x00000001);
argsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getArgsFieldBuilder() : null;
} else {
argsBuilder_.addAllMessages(other.args_);
}
}
}
if (other.hasReturnType()) {
mergeReturnType(other.getReturnType());
}
this.mergeUnknownFields(other.unknownFields);
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 {
cz.proto.FunctionTypeInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.FunctionTypeInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List args_ =
java.util.Collections.emptyList();
private void ensureArgsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
args_ = new java.util.ArrayList(args_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder> argsBuilder_;
/**
* repeated .cz.proto.DataType args = 1;
*/
public java.util.List getArgsList() {
if (argsBuilder_ == null) {
return java.util.Collections.unmodifiableList(args_);
} else {
return argsBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public int getArgsCount() {
if (argsBuilder_ == null) {
return args_.size();
} else {
return argsBuilder_.getCount();
}
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public cz.proto.DataType getArgs(int index) {
if (argsBuilder_ == null) {
return args_.get(index);
} else {
return argsBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public Builder setArgs(
int index, cz.proto.DataType value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.set(index, value);
onChanged();
} else {
argsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public Builder setArgs(
int index, cz.proto.DataType.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.set(index, builderForValue.build());
onChanged();
} else {
argsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public Builder addArgs(cz.proto.DataType value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.add(value);
onChanged();
} else {
argsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public Builder addArgs(
int index, cz.proto.DataType value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.add(index, value);
onChanged();
} else {
argsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public Builder addArgs(
cz.proto.DataType.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(builderForValue.build());
onChanged();
} else {
argsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public Builder addArgs(
int index, cz.proto.DataType.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(index, builderForValue.build());
onChanged();
} else {
argsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public Builder addAllArgs(
java.lang.Iterable extends cz.proto.DataType> values) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, args_);
onChanged();
} else {
argsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public Builder clearArgs() {
if (argsBuilder_ == null) {
args_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
argsBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public Builder removeArgs(int index) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.remove(index);
onChanged();
} else {
argsBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public cz.proto.DataType.Builder getArgsBuilder(
int index) {
return getArgsFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public cz.proto.DataTypeOrBuilder getArgsOrBuilder(
int index) {
if (argsBuilder_ == null) {
return args_.get(index); } else {
return argsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public java.util.List extends cz.proto.DataTypeOrBuilder>
getArgsOrBuilderList() {
if (argsBuilder_ != null) {
return argsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(args_);
}
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public cz.proto.DataType.Builder addArgsBuilder() {
return getArgsFieldBuilder().addBuilder(
cz.proto.DataType.getDefaultInstance());
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public cz.proto.DataType.Builder addArgsBuilder(
int index) {
return getArgsFieldBuilder().addBuilder(
index, cz.proto.DataType.getDefaultInstance());
}
/**
* repeated .cz.proto.DataType args = 1;
*/
public java.util.List
getArgsBuilderList() {
return getArgsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder>
getArgsFieldBuilder() {
if (argsBuilder_ == null) {
argsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder>(
args_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
args_ = null;
}
return argsBuilder_;
}
private cz.proto.DataType returnType_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder> returnTypeBuilder_;
/**
* .cz.proto.DataType return_type = 2;
* @return Whether the returnType field is set.
*/
public boolean hasReturnType() {
return returnTypeBuilder_ != null || returnType_ != null;
}
/**
* .cz.proto.DataType return_type = 2;
* @return The returnType.
*/
public cz.proto.DataType getReturnType() {
if (returnTypeBuilder_ == null) {
return returnType_ == null ? cz.proto.DataType.getDefaultInstance() : returnType_;
} else {
return returnTypeBuilder_.getMessage();
}
}
/**
* .cz.proto.DataType return_type = 2;
*/
public Builder setReturnType(cz.proto.DataType value) {
if (returnTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
returnType_ = value;
onChanged();
} else {
returnTypeBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.DataType return_type = 2;
*/
public Builder setReturnType(
cz.proto.DataType.Builder builderForValue) {
if (returnTypeBuilder_ == null) {
returnType_ = builderForValue.build();
onChanged();
} else {
returnTypeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.DataType return_type = 2;
*/
public Builder mergeReturnType(cz.proto.DataType value) {
if (returnTypeBuilder_ == null) {
if (returnType_ != null) {
returnType_ =
cz.proto.DataType.newBuilder(returnType_).mergeFrom(value).buildPartial();
} else {
returnType_ = value;
}
onChanged();
} else {
returnTypeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.DataType return_type = 2;
*/
public Builder clearReturnType() {
if (returnTypeBuilder_ == null) {
returnType_ = null;
onChanged();
} else {
returnType_ = null;
returnTypeBuilder_ = null;
}
return this;
}
/**
* .cz.proto.DataType return_type = 2;
*/
public cz.proto.DataType.Builder getReturnTypeBuilder() {
onChanged();
return getReturnTypeFieldBuilder().getBuilder();
}
/**
* .cz.proto.DataType return_type = 2;
*/
public cz.proto.DataTypeOrBuilder getReturnTypeOrBuilder() {
if (returnTypeBuilder_ != null) {
return returnTypeBuilder_.getMessageOrBuilder();
} else {
return returnType_ == null ?
cz.proto.DataType.getDefaultInstance() : returnType_;
}
}
/**
* .cz.proto.DataType return_type = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder>
getReturnTypeFieldBuilder() {
if (returnTypeBuilder_ == null) {
returnTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder>(
getReturnType(),
getParentForChildren(),
isClean());
returnType_ = null;
}
return returnTypeBuilder_;
}
@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:cz.proto.FunctionTypeInfo)
}
// @@protoc_insertion_point(class_scope:cz.proto.FunctionTypeInfo)
private static final cz.proto.FunctionTypeInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.FunctionTypeInfo();
}
public static cz.proto.FunctionTypeInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FunctionTypeInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FunctionTypeInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.FunctionTypeInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy