public void write(org.apache.thrift.protocol.TProtocol oprot, SerDeInfo struct) throws org.apache.thrift.TException {
      struct.validate();

      oprot.writeStructBegin(STRUCT_DESC);
      if (struct.name != null) {
        oprot.writeFieldBegin(NAME_FIELD_DESC);
        oprot.writeString(struct.name);
        oprot.writeFieldEnd();
      }
      if (struct.serializationLib != null) {
        oprot.writeFieldBegin(SERIALIZATION_LIB_FIELD_DESC);
        oprot.writeString(struct.serializationLib);
        oprot.writeFieldEnd();
      }
      if (struct.parameters != null) {
        oprot.writeFieldBegin(PARAMETERS_FIELD_DESC);
        {
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size()));
          for (java.util.Map.Entry<java.lang.String, java.lang.String> _iter228 : struct.parameters.entrySet())
          {
            oprot.writeString(_iter228.getKey());
            oprot.writeString(_iter228.getValue());
          }
          oprot.writeMapEnd();
        }
        oprot.writeFieldEnd();
      }
      if (struct.description != null) {
        if (struct.isSetDescription()) {
          oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
          oprot.writeString(struct.description);
          oprot.writeFieldEnd();
        }
      }
      if (struct.serializerClass != null) {
        if (struct.isSetSerializerClass()) {
          oprot.writeFieldBegin(SERIALIZER_CLASS_FIELD_DESC);
          oprot.writeString(struct.serializerClass);
          oprot.writeFieldEnd();
        }
      }
      if (struct.deserializerClass != null) {
        if (struct.isSetDeserializerClass()) {
          oprot.writeFieldBegin(DESERIALIZER_CLASS_FIELD_DESC);
          oprot.writeString(struct.deserializerClass);
          oprot.writeFieldEnd();
        }
      }
      if (struct.serdeType != null) {
        if (struct.isSetSerdeType()) {
          oprot.writeFieldBegin(SERDE_TYPE_FIELD_DESC);
          oprot.writeI32(struct.serdeType.getValue());
          oprot.writeFieldEnd();
        }
      }
      oprot.writeFieldStop();
      oprot.writeStructEnd();
    }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java