cz.proto.DataSource 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: table_common.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.DataSource}
*/
public final class DataSource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.DataSource)
DataSourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use DataSource.newBuilder() to construct.
private DataSource(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DataSource() {
dataSourceInfos_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DataSource();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DataSource(
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 138: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
dataSourceInfos_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
dataSourceInfos_.add(
input.readMessage(cz.proto.DataSourceInfo.parser(), extensionRegistry));
break;
}
case 144: {
defaultDataSourceId_ = input.readUInt32();
break;
}
case 152: {
bitField0_ |= 0x00000001;
nextDataSourceId_ = input.readUInt32();
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)) {
dataSourceInfos_ = java.util.Collections.unmodifiableList(dataSourceInfos_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.TableCommon.internal_static_cz_proto_DataSource_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.TableCommon.internal_static_cz_proto_DataSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.DataSource.class, cz.proto.DataSource.Builder.class);
}
private int bitField0_;
public static final int DATA_SOURCE_INFOS_FIELD_NUMBER = 17;
private java.util.List dataSourceInfos_;
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
@java.lang.Override
public java.util.List getDataSourceInfosList() {
return dataSourceInfos_;
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
@java.lang.Override
public java.util.List extends cz.proto.DataSourceInfoOrBuilder>
getDataSourceInfosOrBuilderList() {
return dataSourceInfos_;
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
@java.lang.Override
public int getDataSourceInfosCount() {
return dataSourceInfos_.size();
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
@java.lang.Override
public cz.proto.DataSourceInfo getDataSourceInfos(int index) {
return dataSourceInfos_.get(index);
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
@java.lang.Override
public cz.proto.DataSourceInfoOrBuilder getDataSourceInfosOrBuilder(
int index) {
return dataSourceInfos_.get(index);
}
public static final int DEFAULT_DATA_SOURCE_ID_FIELD_NUMBER = 18;
private int defaultDataSourceId_;
/**
* uint32 default_data_source_id = 18;
* @return The defaultDataSourceId.
*/
@java.lang.Override
public int getDefaultDataSourceId() {
return defaultDataSourceId_;
}
public static final int NEXT_DATA_SOURCE_ID_FIELD_NUMBER = 19;
private int nextDataSourceId_;
/**
* optional uint32 next_data_source_id = 19;
* @return Whether the nextDataSourceId field is set.
*/
@java.lang.Override
public boolean hasNextDataSourceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 next_data_source_id = 19;
* @return The nextDataSourceId.
*/
@java.lang.Override
public int getNextDataSourceId() {
return nextDataSourceId_;
}
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 < dataSourceInfos_.size(); i++) {
output.writeMessage(17, dataSourceInfos_.get(i));
}
if (defaultDataSourceId_ != 0) {
output.writeUInt32(18, defaultDataSourceId_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(19, nextDataSourceId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < dataSourceInfos_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, dataSourceInfos_.get(i));
}
if (defaultDataSourceId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(18, defaultDataSourceId_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(19, nextDataSourceId_);
}
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.DataSource)) {
return super.equals(obj);
}
cz.proto.DataSource other = (cz.proto.DataSource) obj;
if (!getDataSourceInfosList()
.equals(other.getDataSourceInfosList())) return false;
if (getDefaultDataSourceId()
!= other.getDefaultDataSourceId()) return false;
if (hasNextDataSourceId() != other.hasNextDataSourceId()) return false;
if (hasNextDataSourceId()) {
if (getNextDataSourceId()
!= other.getNextDataSourceId()) 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 (getDataSourceInfosCount() > 0) {
hash = (37 * hash) + DATA_SOURCE_INFOS_FIELD_NUMBER;
hash = (53 * hash) + getDataSourceInfosList().hashCode();
}
hash = (37 * hash) + DEFAULT_DATA_SOURCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getDefaultDataSourceId();
if (hasNextDataSourceId()) {
hash = (37 * hash) + NEXT_DATA_SOURCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getNextDataSourceId();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.DataSource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.DataSource parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.DataSource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.DataSource 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.DataSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.DataSource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.DataSource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.DataSource 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.DataSource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.DataSource 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.DataSource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.DataSource 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.DataSource 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.DataSource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.DataSource)
cz.proto.DataSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.TableCommon.internal_static_cz_proto_DataSource_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.TableCommon.internal_static_cz_proto_DataSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.DataSource.class, cz.proto.DataSource.Builder.class);
}
// Construct using cz.proto.DataSource.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDataSourceInfosFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (dataSourceInfosBuilder_ == null) {
dataSourceInfos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
dataSourceInfosBuilder_.clear();
}
defaultDataSourceId_ = 0;
nextDataSourceId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.TableCommon.internal_static_cz_proto_DataSource_descriptor;
}
@java.lang.Override
public cz.proto.DataSource getDefaultInstanceForType() {
return cz.proto.DataSource.getDefaultInstance();
}
@java.lang.Override
public cz.proto.DataSource build() {
cz.proto.DataSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.DataSource buildPartial() {
cz.proto.DataSource result = new cz.proto.DataSource(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (dataSourceInfosBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
dataSourceInfos_ = java.util.Collections.unmodifiableList(dataSourceInfos_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.dataSourceInfos_ = dataSourceInfos_;
} else {
result.dataSourceInfos_ = dataSourceInfosBuilder_.build();
}
result.defaultDataSourceId_ = defaultDataSourceId_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.nextDataSourceId_ = nextDataSourceId_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
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.DataSource) {
return mergeFrom((cz.proto.DataSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.DataSource other) {
if (other == cz.proto.DataSource.getDefaultInstance()) return this;
if (dataSourceInfosBuilder_ == null) {
if (!other.dataSourceInfos_.isEmpty()) {
if (dataSourceInfos_.isEmpty()) {
dataSourceInfos_ = other.dataSourceInfos_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDataSourceInfosIsMutable();
dataSourceInfos_.addAll(other.dataSourceInfos_);
}
onChanged();
}
} else {
if (!other.dataSourceInfos_.isEmpty()) {
if (dataSourceInfosBuilder_.isEmpty()) {
dataSourceInfosBuilder_.dispose();
dataSourceInfosBuilder_ = null;
dataSourceInfos_ = other.dataSourceInfos_;
bitField0_ = (bitField0_ & ~0x00000001);
dataSourceInfosBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDataSourceInfosFieldBuilder() : null;
} else {
dataSourceInfosBuilder_.addAllMessages(other.dataSourceInfos_);
}
}
}
if (other.getDefaultDataSourceId() != 0) {
setDefaultDataSourceId(other.getDefaultDataSourceId());
}
if (other.hasNextDataSourceId()) {
setNextDataSourceId(other.getNextDataSourceId());
}
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.DataSource parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.DataSource) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List dataSourceInfos_ =
java.util.Collections.emptyList();
private void ensureDataSourceInfosIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
dataSourceInfos_ = new java.util.ArrayList(dataSourceInfos_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.DataSourceInfo, cz.proto.DataSourceInfo.Builder, cz.proto.DataSourceInfoOrBuilder> dataSourceInfosBuilder_;
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public java.util.List getDataSourceInfosList() {
if (dataSourceInfosBuilder_ == null) {
return java.util.Collections.unmodifiableList(dataSourceInfos_);
} else {
return dataSourceInfosBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public int getDataSourceInfosCount() {
if (dataSourceInfosBuilder_ == null) {
return dataSourceInfos_.size();
} else {
return dataSourceInfosBuilder_.getCount();
}
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public cz.proto.DataSourceInfo getDataSourceInfos(int index) {
if (dataSourceInfosBuilder_ == null) {
return dataSourceInfos_.get(index);
} else {
return dataSourceInfosBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public Builder setDataSourceInfos(
int index, cz.proto.DataSourceInfo value) {
if (dataSourceInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataSourceInfosIsMutable();
dataSourceInfos_.set(index, value);
onChanged();
} else {
dataSourceInfosBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public Builder setDataSourceInfos(
int index, cz.proto.DataSourceInfo.Builder builderForValue) {
if (dataSourceInfosBuilder_ == null) {
ensureDataSourceInfosIsMutable();
dataSourceInfos_.set(index, builderForValue.build());
onChanged();
} else {
dataSourceInfosBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public Builder addDataSourceInfos(cz.proto.DataSourceInfo value) {
if (dataSourceInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataSourceInfosIsMutable();
dataSourceInfos_.add(value);
onChanged();
} else {
dataSourceInfosBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public Builder addDataSourceInfos(
int index, cz.proto.DataSourceInfo value) {
if (dataSourceInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataSourceInfosIsMutable();
dataSourceInfos_.add(index, value);
onChanged();
} else {
dataSourceInfosBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public Builder addDataSourceInfos(
cz.proto.DataSourceInfo.Builder builderForValue) {
if (dataSourceInfosBuilder_ == null) {
ensureDataSourceInfosIsMutable();
dataSourceInfos_.add(builderForValue.build());
onChanged();
} else {
dataSourceInfosBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public Builder addDataSourceInfos(
int index, cz.proto.DataSourceInfo.Builder builderForValue) {
if (dataSourceInfosBuilder_ == null) {
ensureDataSourceInfosIsMutable();
dataSourceInfos_.add(index, builderForValue.build());
onChanged();
} else {
dataSourceInfosBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public Builder addAllDataSourceInfos(
java.lang.Iterable extends cz.proto.DataSourceInfo> values) {
if (dataSourceInfosBuilder_ == null) {
ensureDataSourceInfosIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dataSourceInfos_);
onChanged();
} else {
dataSourceInfosBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public Builder clearDataSourceInfos() {
if (dataSourceInfosBuilder_ == null) {
dataSourceInfos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
dataSourceInfosBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public Builder removeDataSourceInfos(int index) {
if (dataSourceInfosBuilder_ == null) {
ensureDataSourceInfosIsMutable();
dataSourceInfos_.remove(index);
onChanged();
} else {
dataSourceInfosBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public cz.proto.DataSourceInfo.Builder getDataSourceInfosBuilder(
int index) {
return getDataSourceInfosFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public cz.proto.DataSourceInfoOrBuilder getDataSourceInfosOrBuilder(
int index) {
if (dataSourceInfosBuilder_ == null) {
return dataSourceInfos_.get(index); } else {
return dataSourceInfosBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public java.util.List extends cz.proto.DataSourceInfoOrBuilder>
getDataSourceInfosOrBuilderList() {
if (dataSourceInfosBuilder_ != null) {
return dataSourceInfosBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(dataSourceInfos_);
}
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public cz.proto.DataSourceInfo.Builder addDataSourceInfosBuilder() {
return getDataSourceInfosFieldBuilder().addBuilder(
cz.proto.DataSourceInfo.getDefaultInstance());
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public cz.proto.DataSourceInfo.Builder addDataSourceInfosBuilder(
int index) {
return getDataSourceInfosFieldBuilder().addBuilder(
index, cz.proto.DataSourceInfo.getDefaultInstance());
}
/**
* repeated .cz.proto.DataSourceInfo data_source_infos = 17;
*/
public java.util.List
getDataSourceInfosBuilderList() {
return getDataSourceInfosFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.DataSourceInfo, cz.proto.DataSourceInfo.Builder, cz.proto.DataSourceInfoOrBuilder>
getDataSourceInfosFieldBuilder() {
if (dataSourceInfosBuilder_ == null) {
dataSourceInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.DataSourceInfo, cz.proto.DataSourceInfo.Builder, cz.proto.DataSourceInfoOrBuilder>(
dataSourceInfos_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
dataSourceInfos_ = null;
}
return dataSourceInfosBuilder_;
}
private int defaultDataSourceId_ ;
/**
* uint32 default_data_source_id = 18;
* @return The defaultDataSourceId.
*/
@java.lang.Override
public int getDefaultDataSourceId() {
return defaultDataSourceId_;
}
/**
* uint32 default_data_source_id = 18;
* @param value The defaultDataSourceId to set.
* @return This builder for chaining.
*/
public Builder setDefaultDataSourceId(int value) {
defaultDataSourceId_ = value;
onChanged();
return this;
}
/**
* uint32 default_data_source_id = 18;
* @return This builder for chaining.
*/
public Builder clearDefaultDataSourceId() {
defaultDataSourceId_ = 0;
onChanged();
return this;
}
private int nextDataSourceId_ ;
/**
* optional uint32 next_data_source_id = 19;
* @return Whether the nextDataSourceId field is set.
*/
@java.lang.Override
public boolean hasNextDataSourceId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 next_data_source_id = 19;
* @return The nextDataSourceId.
*/
@java.lang.Override
public int getNextDataSourceId() {
return nextDataSourceId_;
}
/**
* optional uint32 next_data_source_id = 19;
* @param value The nextDataSourceId to set.
* @return This builder for chaining.
*/
public Builder setNextDataSourceId(int value) {
bitField0_ |= 0x00000002;
nextDataSourceId_ = value;
onChanged();
return this;
}
/**
* optional uint32 next_data_source_id = 19;
* @return This builder for chaining.
*/
public Builder clearNextDataSourceId() {
bitField0_ = (bitField0_ & ~0x00000002);
nextDataSourceId_ = 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:cz.proto.DataSource)
}
// @@protoc_insertion_point(class_scope:cz.proto.DataSource)
private static final cz.proto.DataSource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.DataSource();
}
public static cz.proto.DataSource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DataSource parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DataSource(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.DataSource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy