org.apache.iotdb.mpp.rpc.thrift.TAlterViewReq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of timechodb-thrift Show documentation
Show all versions of timechodb-thrift Show documentation
RPC (Thrift) framework for client and DataNodes.
The newest version!
/**
* Autogenerated by Thrift Compiler (0.14.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.iotdb.mpp.rpc.thrift;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2024-09-12")
public class TAlterViewReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TAlterViewReq");
private static final org.apache.thrift.protocol.TField SCHEMA_REGION_ID_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("schemaRegionIdList", org.apache.thrift.protocol.TType.LIST, (short)1);
private static final org.apache.thrift.protocol.TField VIEW_BINARY_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("viewBinaryList", org.apache.thrift.protocol.TType.LIST, (short)2);
private static final org.apache.thrift.protocol.TField IS_GENERATED_BY_PIPE_FIELD_DESC = new org.apache.thrift.protocol.TField("isGeneratedByPipe", org.apache.thrift.protocol.TType.BOOL, (short)3);
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TAlterViewReqStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TAlterViewReqTupleSchemeFactory();
public @org.apache.thrift.annotation.Nullable java.util.List schemaRegionIdList; // required
public @org.apache.thrift.annotation.Nullable java.util.List viewBinaryList; // required
public boolean isGeneratedByPipe; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
SCHEMA_REGION_ID_LIST((short)1, "schemaRegionIdList"),
VIEW_BINARY_LIST((short)2, "viewBinaryList"),
IS_GENERATED_BY_PIPE((short)3, "isGeneratedByPipe");
private static final java.util.Map byName = new java.util.HashMap();
static {
for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
@org.apache.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // SCHEMA_REGION_ID_LIST
return SCHEMA_REGION_ID_LIST;
case 2: // VIEW_BINARY_LIST
return VIEW_BINARY_LIST;
case 3: // IS_GENERATED_BY_PIPE
return IS_GENERATED_BY_PIPE;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
@org.apache.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
private final short _thriftId;
private final java.lang.String _fieldName;
_Fields(short thriftId, java.lang.String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public java.lang.String getFieldName() {
return _fieldName;
}
}
// isset id assignments
private static final int __ISGENERATEDBYPIPE_ISSET_ID = 0;
private byte __isset_bitfield = 0;
private static final _Fields optionals[] = {_Fields.IS_GENERATED_BY_PIPE};
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SCHEMA_REGION_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("schemaRegionIdList", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.iotdb.common.rpc.thrift.TConsensusGroupId.class))));
tmpMap.put(_Fields.VIEW_BINARY_LIST, new org.apache.thrift.meta_data.FieldMetaData("viewBinaryList", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))));
tmpMap.put(_Fields.IS_GENERATED_BY_PIPE, new org.apache.thrift.meta_data.FieldMetaData("isGeneratedByPipe", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TAlterViewReq.class, metaDataMap);
}
public TAlterViewReq() {
}
public TAlterViewReq(
java.util.List schemaRegionIdList,
java.util.List viewBinaryList)
{
this();
this.schemaRegionIdList = schemaRegionIdList;
this.viewBinaryList = viewBinaryList;
}
/**
* Performs a deep copy on other.
*/
public TAlterViewReq(TAlterViewReq other) {
__isset_bitfield = other.__isset_bitfield;
if (other.isSetSchemaRegionIdList()) {
java.util.List __this__schemaRegionIdList = new java.util.ArrayList(other.schemaRegionIdList.size());
for (org.apache.iotdb.common.rpc.thrift.TConsensusGroupId other_element : other.schemaRegionIdList) {
__this__schemaRegionIdList.add(new org.apache.iotdb.common.rpc.thrift.TConsensusGroupId(other_element));
}
this.schemaRegionIdList = __this__schemaRegionIdList;
}
if (other.isSetViewBinaryList()) {
java.util.List __this__viewBinaryList = new java.util.ArrayList(other.viewBinaryList);
this.viewBinaryList = __this__viewBinaryList;
}
this.isGeneratedByPipe = other.isGeneratedByPipe;
}
public TAlterViewReq deepCopy() {
return new TAlterViewReq(this);
}
@Override
public void clear() {
this.schemaRegionIdList = null;
this.viewBinaryList = null;
setIsGeneratedByPipeIsSet(false);
this.isGeneratedByPipe = false;
}
public int getSchemaRegionIdListSize() {
return (this.schemaRegionIdList == null) ? 0 : this.schemaRegionIdList.size();
}
@org.apache.thrift.annotation.Nullable
public java.util.Iterator getSchemaRegionIdListIterator() {
return (this.schemaRegionIdList == null) ? null : this.schemaRegionIdList.iterator();
}
public void addToSchemaRegionIdList(org.apache.iotdb.common.rpc.thrift.TConsensusGroupId elem) {
if (this.schemaRegionIdList == null) {
this.schemaRegionIdList = new java.util.ArrayList();
}
this.schemaRegionIdList.add(elem);
}
@org.apache.thrift.annotation.Nullable
public java.util.List getSchemaRegionIdList() {
return this.schemaRegionIdList;
}
public TAlterViewReq setSchemaRegionIdList(@org.apache.thrift.annotation.Nullable java.util.List schemaRegionIdList) {
this.schemaRegionIdList = schemaRegionIdList;
return this;
}
public void unsetSchemaRegionIdList() {
this.schemaRegionIdList = null;
}
/** Returns true if field schemaRegionIdList is set (has been assigned a value) and false otherwise */
public boolean isSetSchemaRegionIdList() {
return this.schemaRegionIdList != null;
}
public void setSchemaRegionIdListIsSet(boolean value) {
if (!value) {
this.schemaRegionIdList = null;
}
}
public int getViewBinaryListSize() {
return (this.viewBinaryList == null) ? 0 : this.viewBinaryList.size();
}
@org.apache.thrift.annotation.Nullable
public java.util.Iterator getViewBinaryListIterator() {
return (this.viewBinaryList == null) ? null : this.viewBinaryList.iterator();
}
public void addToViewBinaryList(java.nio.ByteBuffer elem) {
if (this.viewBinaryList == null) {
this.viewBinaryList = new java.util.ArrayList();
}
this.viewBinaryList.add(elem);
}
@org.apache.thrift.annotation.Nullable
public java.util.List getViewBinaryList() {
return this.viewBinaryList;
}
public TAlterViewReq setViewBinaryList(@org.apache.thrift.annotation.Nullable java.util.List viewBinaryList) {
this.viewBinaryList = viewBinaryList;
return this;
}
public void unsetViewBinaryList() {
this.viewBinaryList = null;
}
/** Returns true if field viewBinaryList is set (has been assigned a value) and false otherwise */
public boolean isSetViewBinaryList() {
return this.viewBinaryList != null;
}
public void setViewBinaryListIsSet(boolean value) {
if (!value) {
this.viewBinaryList = null;
}
}
public boolean isIsGeneratedByPipe() {
return this.isGeneratedByPipe;
}
public TAlterViewReq setIsGeneratedByPipe(boolean isGeneratedByPipe) {
this.isGeneratedByPipe = isGeneratedByPipe;
setIsGeneratedByPipeIsSet(true);
return this;
}
public void unsetIsGeneratedByPipe() {
__isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISGENERATEDBYPIPE_ISSET_ID);
}
/** Returns true if field isGeneratedByPipe is set (has been assigned a value) and false otherwise */
public boolean isSetIsGeneratedByPipe() {
return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISGENERATEDBYPIPE_ISSET_ID);
}
public void setIsGeneratedByPipeIsSet(boolean value) {
__isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISGENERATEDBYPIPE_ISSET_ID, value);
}
public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case SCHEMA_REGION_ID_LIST:
if (value == null) {
unsetSchemaRegionIdList();
} else {
setSchemaRegionIdList((java.util.List)value);
}
break;
case VIEW_BINARY_LIST:
if (value == null) {
unsetViewBinaryList();
} else {
setViewBinaryList((java.util.List)value);
}
break;
case IS_GENERATED_BY_PIPE:
if (value == null) {
unsetIsGeneratedByPipe();
} else {
setIsGeneratedByPipe((java.lang.Boolean)value);
}
break;
}
}
@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case SCHEMA_REGION_ID_LIST:
return getSchemaRegionIdList();
case VIEW_BINARY_LIST:
return getViewBinaryList();
case IS_GENERATED_BY_PIPE:
return isIsGeneratedByPipe();
}
throw new java.lang.IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new java.lang.IllegalArgumentException();
}
switch (field) {
case SCHEMA_REGION_ID_LIST:
return isSetSchemaRegionIdList();
case VIEW_BINARY_LIST:
return isSetViewBinaryList();
case IS_GENERATED_BY_PIPE:
return isSetIsGeneratedByPipe();
}
throw new java.lang.IllegalStateException();
}
@Override
public boolean equals(java.lang.Object that) {
if (that instanceof TAlterViewReq)
return this.equals((TAlterViewReq)that);
return false;
}
public boolean equals(TAlterViewReq that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_schemaRegionIdList = true && this.isSetSchemaRegionIdList();
boolean that_present_schemaRegionIdList = true && that.isSetSchemaRegionIdList();
if (this_present_schemaRegionIdList || that_present_schemaRegionIdList) {
if (!(this_present_schemaRegionIdList && that_present_schemaRegionIdList))
return false;
if (!this.schemaRegionIdList.equals(that.schemaRegionIdList))
return false;
}
boolean this_present_viewBinaryList = true && this.isSetViewBinaryList();
boolean that_present_viewBinaryList = true && that.isSetViewBinaryList();
if (this_present_viewBinaryList || that_present_viewBinaryList) {
if (!(this_present_viewBinaryList && that_present_viewBinaryList))
return false;
if (!this.viewBinaryList.equals(that.viewBinaryList))
return false;
}
boolean this_present_isGeneratedByPipe = true && this.isSetIsGeneratedByPipe();
boolean that_present_isGeneratedByPipe = true && that.isSetIsGeneratedByPipe();
if (this_present_isGeneratedByPipe || that_present_isGeneratedByPipe) {
if (!(this_present_isGeneratedByPipe && that_present_isGeneratedByPipe))
return false;
if (this.isGeneratedByPipe != that.isGeneratedByPipe)
return false;
}
return true;
}
@Override
public int hashCode() {
int hashCode = 1;
hashCode = hashCode * 8191 + ((isSetSchemaRegionIdList()) ? 131071 : 524287);
if (isSetSchemaRegionIdList())
hashCode = hashCode * 8191 + schemaRegionIdList.hashCode();
hashCode = hashCode * 8191 + ((isSetViewBinaryList()) ? 131071 : 524287);
if (isSetViewBinaryList())
hashCode = hashCode * 8191 + viewBinaryList.hashCode();
hashCode = hashCode * 8191 + ((isSetIsGeneratedByPipe()) ? 131071 : 524287);
if (isSetIsGeneratedByPipe())
hashCode = hashCode * 8191 + ((isGeneratedByPipe) ? 131071 : 524287);
return hashCode;
}
@Override
public int compareTo(TAlterViewReq other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = java.lang.Boolean.compare(isSetSchemaRegionIdList(), other.isSetSchemaRegionIdList());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSchemaRegionIdList()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaRegionIdList, other.schemaRegionIdList);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetViewBinaryList(), other.isSetViewBinaryList());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetViewBinaryList()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.viewBinaryList, other.viewBinaryList);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetIsGeneratedByPipe(), other.isSetIsGeneratedByPipe());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetIsGeneratedByPipe()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isGeneratedByPipe, other.isGeneratedByPipe);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
@org.apache.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
scheme(iprot).read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
scheme(oprot).write(oprot, this);
}
@Override
public java.lang.String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder("TAlterViewReq(");
boolean first = true;
sb.append("schemaRegionIdList:");
if (this.schemaRegionIdList == null) {
sb.append("null");
} else {
sb.append(this.schemaRegionIdList);
}
first = false;
if (!first) sb.append(", ");
sb.append("viewBinaryList:");
if (this.viewBinaryList == null) {
sb.append("null");
} else {
org.apache.thrift.TBaseHelper.toString(this.viewBinaryList, sb);
}
first = false;
if (isSetIsGeneratedByPipe()) {
if (!first) sb.append(", ");
sb.append("isGeneratedByPipe:");
sb.append(this.isGeneratedByPipe);
first = false;
}
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
if (schemaRegionIdList == null) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'schemaRegionIdList' was not present! Struct: " + toString());
}
if (viewBinaryList == null) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'viewBinaryList' was not present! Struct: " + toString());
}
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException {
try {
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
__isset_bitfield = 0;
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class TAlterViewReqStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
public TAlterViewReqStandardScheme getScheme() {
return new TAlterViewReqStandardScheme();
}
}
private static class TAlterViewReqStandardScheme extends org.apache.thrift.scheme.StandardScheme {
public void read(org.apache.thrift.protocol.TProtocol iprot, TAlterViewReq struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 1: // SCHEMA_REGION_ID_LIST
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
org.apache.thrift.protocol.TList _list494 = iprot.readListBegin();
struct.schemaRegionIdList = new java.util.ArrayList(_list494.size);
@org.apache.thrift.annotation.Nullable org.apache.iotdb.common.rpc.thrift.TConsensusGroupId _elem495;
for (int _i496 = 0; _i496 < _list494.size; ++_i496)
{
_elem495 = new org.apache.iotdb.common.rpc.thrift.TConsensusGroupId();
_elem495.read(iprot);
struct.schemaRegionIdList.add(_elem495);
}
iprot.readListEnd();
}
struct.setSchemaRegionIdListIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 2: // VIEW_BINARY_LIST
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
org.apache.thrift.protocol.TList _list497 = iprot.readListBegin();
struct.viewBinaryList = new java.util.ArrayList(_list497.size);
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem498;
for (int _i499 = 0; _i499 < _list497.size; ++_i499)
{
_elem498 = iprot.readBinary();
struct.viewBinaryList.add(_elem498);
}
iprot.readListEnd();
}
struct.setViewBinaryListIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 3: // IS_GENERATED_BY_PIPE
if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
struct.isGeneratedByPipe = iprot.readBool();
struct.setIsGeneratedByPipeIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, TAlterViewReq struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.schemaRegionIdList != null) {
oprot.writeFieldBegin(SCHEMA_REGION_ID_LIST_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.schemaRegionIdList.size()));
for (org.apache.iotdb.common.rpc.thrift.TConsensusGroupId _iter500 : struct.schemaRegionIdList)
{
_iter500.write(oprot);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
if (struct.viewBinaryList != null) {
oprot.writeFieldBegin(VIEW_BINARY_LIST_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.viewBinaryList.size()));
for (java.nio.ByteBuffer _iter501 : struct.viewBinaryList)
{
oprot.writeBinary(_iter501);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
if (struct.isSetIsGeneratedByPipe()) {
oprot.writeFieldBegin(IS_GENERATED_BY_PIPE_FIELD_DESC);
oprot.writeBool(struct.isGeneratedByPipe);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class TAlterViewReqTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
public TAlterViewReqTupleScheme getScheme() {
return new TAlterViewReqTupleScheme();
}
}
private static class TAlterViewReqTupleScheme extends org.apache.thrift.scheme.TupleScheme {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, TAlterViewReq struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
{
oprot.writeI32(struct.schemaRegionIdList.size());
for (org.apache.iotdb.common.rpc.thrift.TConsensusGroupId _iter502 : struct.schemaRegionIdList)
{
_iter502.write(oprot);
}
}
{
oprot.writeI32(struct.viewBinaryList.size());
for (java.nio.ByteBuffer _iter503 : struct.viewBinaryList)
{
oprot.writeBinary(_iter503);
}
}
java.util.BitSet optionals = new java.util.BitSet();
if (struct.isSetIsGeneratedByPipe()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetIsGeneratedByPipe()) {
oprot.writeBool(struct.isGeneratedByPipe);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, TAlterViewReq struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
{
org.apache.thrift.protocol.TList _list504 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
struct.schemaRegionIdList = new java.util.ArrayList(_list504.size);
@org.apache.thrift.annotation.Nullable org.apache.iotdb.common.rpc.thrift.TConsensusGroupId _elem505;
for (int _i506 = 0; _i506 < _list504.size; ++_i506)
{
_elem505 = new org.apache.iotdb.common.rpc.thrift.TConsensusGroupId();
_elem505.read(iprot);
struct.schemaRegionIdList.add(_elem505);
}
}
struct.setSchemaRegionIdListIsSet(true);
{
org.apache.thrift.protocol.TList _list507 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
struct.viewBinaryList = new java.util.ArrayList(_list507.size);
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem508;
for (int _i509 = 0; _i509 < _list507.size; ++_i509)
{
_elem508 = iprot.readBinary();
struct.viewBinaryList.add(_elem508);
}
}
struct.setViewBinaryListIsSet(true);
java.util.BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.isGeneratedByPipe = iprot.readBool();
struct.setIsGeneratedByPipeIsSet(true);
}
}
}
private static S scheme(org.apache.thrift.protocol.TProtocol proto) {
return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme();
}
}