From b9d58c09588d58e4c4e6fb93fcc3db75e70805fa Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 26 Feb 2019 18:10:47 +0100 Subject: Add predefined firewall rulesets --- .../org/openslx/bwlp/thrift/iface/LectureRead.java | 788 ++++++++++++--------- 1 file changed, 472 insertions(+), 316 deletions(-) (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java') diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java b/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java index b2a183f..be1aa0c 100644 --- a/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java +++ b/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java @@ -34,7 +34,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2018-12-11") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2019-02-25") public class LectureRead 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("LectureRead"); @@ -66,10 +66,11 @@ public class LectureRead implements org.apache.thrift.TBase, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -105,10 +106,11 @@ public class LectureRead implements org.apache.thrift.TBase networkShares; // optional - public List presetNetworkShares; // optional public List ldapFilters; // optional - public List presetLdapFilters; // optional public List presetScriptIds; // optional + public List presetNetworkShares; // optional + public List presetLdapFilters; // optional + public List presetNetworkExceptionIds; // 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 { @@ -140,10 +142,11 @@ public class LectureRead implements org.apache.thrift.TBase byName = new HashMap(); @@ -214,14 +217,16 @@ public class LectureRead implements org.apache.thrift.TBase metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -341,16 +346,19 @@ public class LectureRead implements org.apache.thrift.TBase __this__presetNetworkShares = new ArrayList(other.presetNetworkShares); - this.presetNetworkShares = __this__presetNetworkShares; - } if (other.isSetLdapFilters()) { List __this__ldapFilters = new ArrayList(other.ldapFilters.size()); for (LdapFilter other_element : other.ldapFilters) { @@ -515,13 +519,21 @@ public class LectureRead implements org.apache.thrift.TBase __this__presetScriptIds = new ArrayList(other.presetScriptIds); + this.presetScriptIds = __this__presetScriptIds; + } + if (other.isSetPresetNetworkShares()) { + List __this__presetNetworkShares = new ArrayList(other.presetNetworkShares); + this.presetNetworkShares = __this__presetNetworkShares; + } if (other.isSetPresetLdapFilters()) { List __this__presetLdapFilters = new ArrayList(other.presetLdapFilters); this.presetLdapFilters = __this__presetLdapFilters; } - if (other.isSetPresetScriptIds()) { - List __this__presetScriptIds = new ArrayList(other.presetScriptIds); - this.presetScriptIds = __this__presetScriptIds; + if (other.isSetPresetNetworkExceptionIds()) { + List __this__presetNetworkExceptionIds = new ArrayList(other.presetNetworkExceptionIds); + this.presetNetworkExceptionIds = __this__presetNetworkExceptionIds; } } @@ -572,10 +584,11 @@ public class LectureRead implements org.apache.thrift.TBase getPresetNetworkSharesIterator() { - return (this.presetNetworkShares == null) ? null : this.presetNetworkShares.iterator(); + public java.util.Iterator getLdapFiltersIterator() { + return (this.ldapFilters == null) ? null : this.ldapFilters.iterator(); } - public void addToPresetNetworkShares(int elem) { - if (this.presetNetworkShares == null) { - this.presetNetworkShares = new ArrayList(); + public void addToLdapFilters(LdapFilter elem) { + if (this.ldapFilters == null) { + this.ldapFilters = new ArrayList(); } - this.presetNetworkShares.add(elem); + this.ldapFilters.add(elem); } - public List getPresetNetworkShares() { - return this.presetNetworkShares; + public List getLdapFilters() { + return this.ldapFilters; } - public LectureRead setPresetNetworkShares(List presetNetworkShares) { - this.presetNetworkShares = presetNetworkShares; + public LectureRead setLdapFilters(List ldapFilters) { + this.ldapFilters = ldapFilters; return this; } - public void unsetPresetNetworkShares() { - this.presetNetworkShares = null; + public void unsetLdapFilters() { + this.ldapFilters = null; } - /** Returns true if field presetNetworkShares is set (has been assigned a value) and false otherwise */ - public boolean isSetPresetNetworkShares() { - return this.presetNetworkShares != null; + /** Returns true if field ldapFilters is set (has been assigned a value) and false otherwise */ + public boolean isSetLdapFilters() { + return this.ldapFilters != null; } - public void setPresetNetworkSharesIsSet(boolean value) { + public void setLdapFiltersIsSet(boolean value) { if (!value) { - this.presetNetworkShares = null; + this.ldapFilters = null; } } - public int getLdapFiltersSize() { - return (this.ldapFilters == null) ? 0 : this.ldapFilters.size(); + public int getPresetScriptIdsSize() { + return (this.presetScriptIds == null) ? 0 : this.presetScriptIds.size(); } - public java.util.Iterator getLdapFiltersIterator() { - return (this.ldapFilters == null) ? null : this.ldapFilters.iterator(); + public java.util.Iterator getPresetScriptIdsIterator() { + return (this.presetScriptIds == null) ? null : this.presetScriptIds.iterator(); } - public void addToLdapFilters(LdapFilter elem) { - if (this.ldapFilters == null) { - this.ldapFilters = new ArrayList(); + public void addToPresetScriptIds(int elem) { + if (this.presetScriptIds == null) { + this.presetScriptIds = new ArrayList(); } - this.ldapFilters.add(elem); + this.presetScriptIds.add(elem); } - public List getLdapFilters() { - return this.ldapFilters; + public List getPresetScriptIds() { + return this.presetScriptIds; } - public LectureRead setLdapFilters(List ldapFilters) { - this.ldapFilters = ldapFilters; + public LectureRead setPresetScriptIds(List presetScriptIds) { + this.presetScriptIds = presetScriptIds; return this; } - public void unsetLdapFilters() { - this.ldapFilters = null; + public void unsetPresetScriptIds() { + this.presetScriptIds = null; } - /** Returns true if field ldapFilters is set (has been assigned a value) and false otherwise */ - public boolean isSetLdapFilters() { - return this.ldapFilters != null; + /** Returns true if field presetScriptIds is set (has been assigned a value) and false otherwise */ + public boolean isSetPresetScriptIds() { + return this.presetScriptIds != null; } - public void setLdapFiltersIsSet(boolean value) { + public void setPresetScriptIdsIsSet(boolean value) { if (!value) { - this.ldapFilters = null; + this.presetScriptIds = null; + } + } + + public int getPresetNetworkSharesSize() { + return (this.presetNetworkShares == null) ? 0 : this.presetNetworkShares.size(); + } + + public java.util.Iterator getPresetNetworkSharesIterator() { + return (this.presetNetworkShares == null) ? null : this.presetNetworkShares.iterator(); + } + + public void addToPresetNetworkShares(int elem) { + if (this.presetNetworkShares == null) { + this.presetNetworkShares = new ArrayList(); + } + this.presetNetworkShares.add(elem); + } + + public List getPresetNetworkShares() { + return this.presetNetworkShares; + } + + public LectureRead setPresetNetworkShares(List presetNetworkShares) { + this.presetNetworkShares = presetNetworkShares; + return this; + } + + public void unsetPresetNetworkShares() { + this.presetNetworkShares = null; + } + + /** Returns true if field presetNetworkShares is set (has been assigned a value) and false otherwise */ + public boolean isSetPresetNetworkShares() { + return this.presetNetworkShares != null; + } + + public void setPresetNetworkSharesIsSet(boolean value) { + if (!value) { + this.presetNetworkShares = null; } } @@ -1429,42 +1481,42 @@ public class LectureRead implements org.apache.thrift.TBase getPresetScriptIdsIterator() { - return (this.presetScriptIds == null) ? null : this.presetScriptIds.iterator(); + public java.util.Iterator getPresetNetworkExceptionIdsIterator() { + return (this.presetNetworkExceptionIds == null) ? null : this.presetNetworkExceptionIds.iterator(); } - public void addToPresetScriptIds(int elem) { - if (this.presetScriptIds == null) { - this.presetScriptIds = new ArrayList(); + public void addToPresetNetworkExceptionIds(int elem) { + if (this.presetNetworkExceptionIds == null) { + this.presetNetworkExceptionIds = new ArrayList(); } - this.presetScriptIds.add(elem); + this.presetNetworkExceptionIds.add(elem); } - public List getPresetScriptIds() { - return this.presetScriptIds; + public List getPresetNetworkExceptionIds() { + return this.presetNetworkExceptionIds; } - public LectureRead setPresetScriptIds(List presetScriptIds) { - this.presetScriptIds = presetScriptIds; + public LectureRead setPresetNetworkExceptionIds(List presetNetworkExceptionIds) { + this.presetNetworkExceptionIds = presetNetworkExceptionIds; return this; } - public void unsetPresetScriptIds() { - this.presetScriptIds = null; + public void unsetPresetNetworkExceptionIds() { + this.presetNetworkExceptionIds = null; } - /** Returns true if field presetScriptIds is set (has been assigned a value) and false otherwise */ - public boolean isSetPresetScriptIds() { - return this.presetScriptIds != null; + /** Returns true if field presetNetworkExceptionIds is set (has been assigned a value) and false otherwise */ + public boolean isSetPresetNetworkExceptionIds() { + return this.presetNetworkExceptionIds != null; } - public void setPresetScriptIdsIsSet(boolean value) { + public void setPresetNetworkExceptionIdsIsSet(boolean value) { if (!value) { - this.presetScriptIds = null; + this.presetNetworkExceptionIds = null; } } @@ -1694,19 +1746,27 @@ public class LectureRead implements org.apache.thrift.TBase)value); + setLdapFilters((List)value); } break; - case LDAP_FILTERS: + case PRESET_SCRIPT_IDS: if (value == null) { - unsetLdapFilters(); + unsetPresetScriptIds(); } else { - setLdapFilters((List)value); + setPresetScriptIds((List)value); + } + break; + + case PRESET_NETWORK_SHARES: + if (value == null) { + unsetPresetNetworkShares(); + } else { + setPresetNetworkShares((List)value); } break; @@ -1718,11 +1778,11 @@ public class LectureRead implements org.apache.thrift.TBase)value); + setPresetNetworkExceptionIds((List)value); } break; @@ -1815,17 +1875,20 @@ public class LectureRead implements org.apache.thrift.TBase(_list186.size); - String _elem187; - for (int _i188 = 0; _i188 < _list186.size; ++_i188) + org.apache.thrift.protocol.TList _list202 = iprot.readListBegin(); + struct.nics = new ArrayList(_list202.size); + String _elem203; + for (int _i204 = 0; _i204 < _list202.size; ++_i204) { - _elem187 = iprot.readString(); - struct.nics.add(_elem187); + _elem203 = iprot.readString(); + struct.nics.add(_elem203); } iprot.readListEnd(); } @@ -3140,13 +3239,13 @@ public class LectureRead implements org.apache.thrift.TBase(_list189.size); - String _elem190; - for (int _i191 = 0; _i191 < _list189.size; ++_i191) + org.apache.thrift.protocol.TList _list205 = iprot.readListBegin(); + struct.allowedUsers = new ArrayList(_list205.size); + String _elem206; + for (int _i207 = 0; _i207 < _list205.size; ++_i207) { - _elem190 = iprot.readString(); - struct.allowedUsers.add(_elem190); + _elem206 = iprot.readString(); + struct.allowedUsers.add(_elem206); } iprot.readListEnd(); } @@ -3158,14 +3257,14 @@ public class LectureRead implements org.apache.thrift.TBase(_list192.size); - NetRule _elem193; - for (int _i194 = 0; _i194 < _list192.size; ++_i194) + org.apache.thrift.protocol.TList _list208 = iprot.readListBegin(); + struct.networkExceptions = new ArrayList(_list208.size); + NetRule _elem209; + for (int _i210 = 0; _i210 < _list208.size; ++_i210) { - _elem193 = new NetRule(); - _elem193.read(iprot); - struct.networkExceptions.add(_elem193); + _elem209 = new NetRule(); + _elem209.read(iprot); + struct.networkExceptions.add(_elem209); } iprot.readListEnd(); } @@ -3211,13 +3310,13 @@ public class LectureRead implements org.apache.thrift.TBase(_list195.size); - int _elem196; - for (int _i197 = 0; _i197 < _list195.size; ++_i197) + org.apache.thrift.protocol.TList _list211 = iprot.readListBegin(); + struct.locationIds = new ArrayList(_list211.size); + int _elem212; + for (int _i213 = 0; _i213 < _list211.size; ++_i213) { - _elem196 = iprot.readI32(); - struct.locationIds.add(_elem196); + _elem212 = iprot.readI32(); + struct.locationIds.add(_elem212); } iprot.readListEnd(); } @@ -3253,14 +3352,14 @@ public class LectureRead implements org.apache.thrift.TBase(_list198.size); - NetShare _elem199; - for (int _i200 = 0; _i200 < _list198.size; ++_i200) + org.apache.thrift.protocol.TList _list214 = iprot.readListBegin(); + struct.networkShares = new ArrayList(_list214.size); + NetShare _elem215; + for (int _i216 = 0; _i216 < _list214.size; ++_i216) { - _elem199 = new NetShare(); - _elem199.read(iprot); - struct.networkShares.add(_elem199); + _elem215 = new NetShare(); + _elem215.read(iprot); + struct.networkShares.add(_elem215); } iprot.readListEnd(); } @@ -3269,39 +3368,57 @@ public class LectureRead implements org.apache.thrift.TBase(_list201.size); - int _elem202; - for (int _i203 = 0; _i203 < _list201.size; ++_i203) + org.apache.thrift.protocol.TList _list217 = iprot.readListBegin(); + struct.ldapFilters = new ArrayList(_list217.size); + LdapFilter _elem218; + for (int _i219 = 0; _i219 < _list217.size; ++_i219) { - _elem202 = iprot.readI32(); - struct.presetNetworkShares.add(_elem202); + _elem218 = new LdapFilter(); + _elem218.read(iprot); + struct.ldapFilters.add(_elem218); } iprot.readListEnd(); } - struct.setPresetNetworkSharesIsSet(true); + struct.setLdapFiltersIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 30: // LDAP_FILTERS + case 31: // PRESET_SCRIPT_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list204 = iprot.readListBegin(); - struct.ldapFilters = new ArrayList(_list204.size); - LdapFilter _elem205; - for (int _i206 = 0; _i206 < _list204.size; ++_i206) + org.apache.thrift.protocol.TList _list220 = iprot.readListBegin(); + struct.presetScriptIds = new ArrayList(_list220.size); + int _elem221; + for (int _i222 = 0; _i222 < _list220.size; ++_i222) { - _elem205 = new LdapFilter(); - _elem205.read(iprot); - struct.ldapFilters.add(_elem205); + _elem221 = iprot.readI32(); + struct.presetScriptIds.add(_elem221); } iprot.readListEnd(); } - struct.setLdapFiltersIsSet(true); + struct.setPresetScriptIdsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 32: // PRESET_NETWORK_SHARES + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list223 = iprot.readListBegin(); + struct.presetNetworkShares = new ArrayList(_list223.size); + int _elem224; + for (int _i225 = 0; _i225 < _list223.size; ++_i225) + { + _elem224 = iprot.readI32(); + struct.presetNetworkShares.add(_elem224); + } + iprot.readListEnd(); + } + struct.setPresetNetworkSharesIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -3309,13 +3426,13 @@ public class LectureRead implements org.apache.thrift.TBase(_list207.size); - int _elem208; - for (int _i209 = 0; _i209 < _list207.size; ++_i209) + org.apache.thrift.protocol.TList _list226 = iprot.readListBegin(); + struct.presetLdapFilters = new ArrayList(_list226.size); + int _elem227; + for (int _i228 = 0; _i228 < _list226.size; ++_i228) { - _elem208 = iprot.readI32(); - struct.presetLdapFilters.add(_elem208); + _elem227 = iprot.readI32(); + struct.presetLdapFilters.add(_elem227); } iprot.readListEnd(); } @@ -3324,20 +3441,20 @@ public class LectureRead implements org.apache.thrift.TBase(_list210.size); - int _elem211; - for (int _i212 = 0; _i212 < _list210.size; ++_i212) + org.apache.thrift.protocol.TList _list229 = iprot.readListBegin(); + struct.presetNetworkExceptionIds = new ArrayList(_list229.size); + int _elem230; + for (int _i231 = 0; _i231 < _list229.size; ++_i231) { - _elem211 = iprot.readI32(); - struct.presetScriptIds.add(_elem211); + _elem230 = iprot.readI32(); + struct.presetNetworkExceptionIds.add(_elem230); } iprot.readListEnd(); } - struct.setPresetScriptIdsIsSet(true); + struct.setPresetNetworkExceptionIdsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -3409,9 +3526,9 @@ public class LectureRead implements org.apache.thrift.TBase(_list231.size); - String _elem232; - for (int _i233 = 0; _i233 < _list231.size; ++_i233) + org.apache.thrift.protocol.TList _list252 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.nics = new ArrayList(_list252.size); + String _elem253; + for (int _i254 = 0; _i254 < _list252.size; ++_i254) { - _elem232 = iprot.readString(); - struct.nics.add(_elem232); + _elem253 = iprot.readString(); + struct.nics.add(_elem253); } } struct.setNicsIsSet(true); } if (incoming.get(17)) { { - org.apache.thrift.protocol.TList _list234 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.allowedUsers = new ArrayList(_list234.size); - String _elem235; - for (int _i236 = 0; _i236 < _list234.size; ++_i236) + org.apache.thrift.protocol.TList _list255 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.allowedUsers = new ArrayList(_list255.size); + String _elem256; + for (int _i257 = 0; _i257 < _list255.size; ++_i257) { - _elem235 = iprot.readString(); - struct.allowedUsers.add(_elem235); + _elem256 = iprot.readString(); + struct.allowedUsers.add(_elem256); } } struct.setAllowedUsersIsSet(true); } if (incoming.get(18)) { { - org.apache.thrift.protocol.TList _list237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.networkExceptions = new ArrayList(_list237.size); - NetRule _elem238; - for (int _i239 = 0; _i239 < _list237.size; ++_i239) + org.apache.thrift.protocol.TList _list258 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.networkExceptions = new ArrayList(_list258.size); + NetRule _elem259; + for (int _i260 = 0; _i260 < _list258.size; ++_i260) { - _elem238 = new NetRule(); - _elem238.read(iprot); - struct.networkExceptions.add(_elem238); + _elem259 = new NetRule(); + _elem259.read(iprot); + struct.networkExceptions.add(_elem259); } } struct.setNetworkExceptionsIsSet(true); @@ -3961,13 +4104,13 @@ public class LectureRead implements org.apache.thrift.TBase(_list240.size); - int _elem241; - for (int _i242 = 0; _i242 < _list240.size; ++_i242) + org.apache.thrift.protocol.TList _list261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.locationIds = new ArrayList(_list261.size); + int _elem262; + for (int _i263 = 0; _i263 < _list261.size; ++_i263) { - _elem241 = iprot.readI32(); - struct.locationIds.add(_elem241); + _elem262 = iprot.readI32(); + struct.locationIds.add(_elem262); } } struct.setLocationIdsIsSet(true); @@ -3986,70 +4129,83 @@ public class LectureRead implements org.apache.thrift.TBase(_list243.size); - NetShare _elem244; - for (int _i245 = 0; _i245 < _list243.size; ++_i245) + org.apache.thrift.protocol.TList _list264 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.networkShares = new ArrayList(_list264.size); + NetShare _elem265; + for (int _i266 = 0; _i266 < _list264.size; ++_i266) { - _elem244 = new NetShare(); - _elem244.read(iprot); - struct.networkShares.add(_elem244); + _elem265 = new NetShare(); + _elem265.read(iprot); + struct.networkShares.add(_elem265); } } struct.setNetworkSharesIsSet(true); } if (incoming.get(28)) { { - org.apache.thrift.protocol.TList _list246 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.presetNetworkShares = new ArrayList(_list246.size); - int _elem247; - for (int _i248 = 0; _i248 < _list246.size; ++_i248) + org.apache.thrift.protocol.TList _list267 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.ldapFilters = new ArrayList(_list267.size); + LdapFilter _elem268; + for (int _i269 = 0; _i269 < _list267.size; ++_i269) { - _elem247 = iprot.readI32(); - struct.presetNetworkShares.add(_elem247); + _elem268 = new LdapFilter(); + _elem268.read(iprot); + struct.ldapFilters.add(_elem268); } } - struct.setPresetNetworkSharesIsSet(true); + struct.setLdapFiltersIsSet(true); } if (incoming.get(29)) { { - org.apache.thrift.protocol.TList _list249 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.ldapFilters = new ArrayList(_list249.size); - LdapFilter _elem250; - for (int _i251 = 0; _i251 < _list249.size; ++_i251) + org.apache.thrift.protocol.TList _list270 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.presetScriptIds = new ArrayList(_list270.size); + int _elem271; + for (int _i272 = 0; _i272 < _list270.size; ++_i272) { - _elem250 = new LdapFilter(); - _elem250.read(iprot); - struct.ldapFilters.add(_elem250); + _elem271 = iprot.readI32(); + struct.presetScriptIds.add(_elem271); } } - struct.setLdapFiltersIsSet(true); + struct.setPresetScriptIdsIsSet(true); } if (incoming.get(30)) { { - org.apache.thrift.protocol.TList _list252 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.presetLdapFilters = new ArrayList(_list252.size); - int _elem253; - for (int _i254 = 0; _i254 < _list252.size; ++_i254) + org.apache.thrift.protocol.TList _list273 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.presetNetworkShares = new ArrayList(_list273.size); + int _elem274; + for (int _i275 = 0; _i275 < _list273.size; ++_i275) { - _elem253 = iprot.readI32(); - struct.presetLdapFilters.add(_elem253); + _elem274 = iprot.readI32(); + struct.presetNetworkShares.add(_elem274); } } - struct.setPresetLdapFiltersIsSet(true); + struct.setPresetNetworkSharesIsSet(true); } if (incoming.get(31)) { { - org.apache.thrift.protocol.TList _list255 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.presetScriptIds = new ArrayList(_list255.size); - int _elem256; - for (int _i257 = 0; _i257 < _list255.size; ++_i257) + org.apache.thrift.protocol.TList _list276 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.presetLdapFilters = new ArrayList(_list276.size); + int _elem277; + for (int _i278 = 0; _i278 < _list276.size; ++_i278) { - _elem256 = iprot.readI32(); - struct.presetScriptIds.add(_elem256); + _elem277 = iprot.readI32(); + struct.presetLdapFilters.add(_elem277); } } - struct.setPresetScriptIdsIsSet(true); + struct.setPresetLdapFiltersIsSet(true); + } + if (incoming.get(32)) { + { + org.apache.thrift.protocol.TList _list279 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.presetNetworkExceptionIds = new ArrayList(_list279.size); + int _elem280; + for (int _i281 = 0; _i281 < _list279.size; ++_i281) + { + _elem280 = iprot.readI32(); + struct.presetNetworkExceptionIds.add(_elem280); + } + } + struct.setPresetNetworkExceptionIdsIsSet(true); } } } -- cgit v1.2.3-55-g7522