public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (timeRange != null) { timeRange.validate(); } if (authorizations != null) { authorizations.validate(); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, TAuthorization struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.labels != null) { if (struct.isSetLabels()) { oprot.writeFieldBegin(LABELS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.labels.size())); for (java.lang.String _iter11 : struct.labels) { oprot.writeString(_iter11); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
public void validate() throws org.apache.thrift.TException { // check for required fields if (row == null) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } // check for sub-struct validity if (timeRange != null) { timeRange.validate(); } if (authorizations != null) { authorizations.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (timeRange != null) { timeRange.validate(); } if (authorizations != null) { authorizations.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (timeRange != null) { timeRange.validate(); } if (authorizations != null) { authorizations.validate(); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, TAuthorization struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.labels != null) { if (struct.isSetLabels()) { oprot.writeFieldBegin(LABELS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.labels.size())); for (String _iter11 : struct.labels) { oprot.writeString(_iter11); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TAuthorization struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.labels != null) { if (struct.isSetLabels()) { oprot.writeFieldBegin(LABELS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.labels.size())); for (String _iter11 : struct.labels) { oprot.writeString(_iter11); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
struct.validate();
public void validate() throws org.apache.thrift.TException { // check for required fields if (row == null) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } // check for sub-struct validity if (timeRange != null) { timeRange.validate(); } if (authorizations != null) { authorizations.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (row == null) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } // check for sub-struct validity if (timeRange != null) { timeRange.validate(); } if (authorizations != null) { authorizations.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (timeRange != null) { timeRange.validate(); } if (authorizations != null) { authorizations.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (timeRange != null) { timeRange.validate(); } if (authorizations != null) { authorizations.validate(); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, TAuthorization struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.labels != null) { if (struct.isSetLabels()) { oprot.writeFieldBegin(LABELS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.labels.size())); for (String _iter11 : struct.labels) { oprot.writeString(_iter11); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TAuthorization struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.labels != null) { if (struct.isSetLabels()) { oprot.writeFieldBegin(LABELS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.labels.size())); for (String _iter11 : struct.labels) { oprot.writeString(_iter11); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void validate() throws org.apache.thrift.TException { // check for required fields if (row == null) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } // check for sub-struct validity if (timeRange != null) { timeRange.validate(); } if (authorizations != null) { authorizations.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (row == null) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' was not present! Struct: " + toString()); } // check for sub-struct validity if (timeRange != null) { timeRange.validate(); } if (authorizations != null) { authorizations.validate(); } }